#include <ogdf/internal/energybased/PlanarityGrid.h>
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 GraphAttributes & | m_layout |
| UniformGrid * | m_currentGrid |
| UniformGrid * | m_candidateGrid |
Definition at line 62 of file PlanarityGrid.h.
| 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.
| void ogdf::PlanarityGrid::computeEnergy | ( | ) | [virtual] |
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.
UniformGrid* ogdf::PlanarityGrid::m_candidateGrid [private] |
Definition at line 79 of file PlanarityGrid.h.
UniformGrid* ogdf::PlanarityGrid::m_currentGrid [private] |
Definition at line 78 of file PlanarityGrid.h.
const GraphAttributes& ogdf::PlanarityGrid::m_layout [private] |
Definition at line 77 of file PlanarityGrid.h.