Open
Graph Drawing
Framework

 v.2012.05
 

ogdf::PlanarityGrid Class Reference

#include <ogdf/internal/energybased/PlanarityGrid.h>

Inheritance diagram for ogdf::PlanarityGrid:
ogdf::EnergyFunction

List of all members.

Public Member Functions

 PlanarityGrid (GraphAttributes &AG)
 ~PlanarityGrid ()
void computeEnergy ()
 computes energy for the layout at the beginning of the optimization process

Private Member Functions

void compCandEnergy ()
 computes the energy if m_testNode changes position to m_testX and m_testY, sets the value of m_candidateEnergy.
void internalCandidateTaken ()
 changes the data of a specific energy function if the candidate was taken

Private Attributes

const GraphAttributesm_layout
UniformGridm_currentGrid
UniformGridm_candidateGrid

Detailed Description

Definition at line 62 of file PlanarityGrid.h.


Constructor & Destructor Documentation


Member Function Documentation

void ogdf::PlanarityGrid::compCandEnergy ( ) [private, virtual]

computes the energy if m_testNode changes position to m_testX and m_testY, sets the value of m_candidateEnergy.

Implements ogdf::EnergyFunction.

computes energy for the layout at the beginning of the optimization process

Implements ogdf::EnergyFunction.

void ogdf::PlanarityGrid::internalCandidateTaken ( ) [private, virtual]

changes the data of a specific energy function if the candidate was taken

Implements ogdf::EnergyFunction.


Member Data Documentation

Definition at line 79 of file PlanarityGrid.h.

Definition at line 78 of file PlanarityGrid.h.

Definition at line 77 of file PlanarityGrid.h.


The documentation for this class was generated from the following file: