#include <ogdf/internal/energybased/NodePairEnergy.h>
List of all members.
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.
|
| double | computePairEnergy (const node v, const node w) const |
| void | internalCandidateTaken () |
| | changes the data of a specific energy function if the candidate was taken
|
Additional Inherited Members |
| double | m_candidateEnergy |
| | the energy of the layout if the candidate layout is chosen
|
| double | m_energy |
| const Graph & | m_G |
| | the graph that should be drawn
|
| const String | m_name |
| | name of the energy function
|
Detailed Description
Definition at line 61 of file NodePairEnergy.h.
Constructor & Destructor Documentation
| virtual ogdf::NodePairEnergy::~NodePairEnergy |
( |
| ) |
|
|
inlinevirtual |
Member Function Documentation
| bool ogdf::NodePairEnergy::adjacent |
( |
const node |
v, |
|
|
const node |
w |
|
) |
| const |
|
inlineprotected |
| void ogdf::NodePairEnergy::compCandEnergy |
( |
| ) |
|
|
privatevirtual |
computes the energy if m_testNode changes position to m_testX and m_testY, sets the value of m_candidateEnergy.
Implements ogdf::EnergyFunction.
| virtual double ogdf::NodePairEnergy::computeCoordEnergy |
( |
node |
, |
|
|
node |
, |
|
|
const DPoint & |
, |
|
|
const DPoint & |
|
|
) |
| const |
|
protectedpure virtual |
| void ogdf::NodePairEnergy::computeEnergy |
( |
| ) |
|
|
virtual |
computes energy for the layout at the beginning of the optimization process
Implements ogdf::EnergyFunction.
| double ogdf::NodePairEnergy::computePairEnergy |
( |
const node |
v, |
|
|
const node |
w |
|
) |
| const |
|
private |
| void ogdf::NodePairEnergy::internalCandidateTaken |
( |
| ) |
|
|
privatevirtual |
changes the data of a specific energy function if the candidate was taken
Implements ogdf::EnergyFunction.
| int ogdf::NodePairEnergy::nodeNum |
( |
node |
v | ) |
const |
|
inlineprotected |
Member Data Documentation
| NodeArray<double> ogdf::NodePairEnergy::m_candPairEnergy |
|
private |
| NodeArray<int>* ogdf::NodePairEnergy::m_nodeNums |
|
private |
| List<node> ogdf::NodePairEnergy::m_nonIsolated |
|
private |
| Array2D<double>* ogdf::NodePairEnergy::m_pairEnergy |
|
private |
The documentation for this class was generated from the following file: