Declaration of ogdf::SpringEmbedderGridVariant.
The parameterized class Array2D implements dynamic two-dimensional arrays.
The parameterized class Array implements dynamic arrays of type E.
virtual ~ForceModelBase()
ForceModelBase(const Array< NodeInfo > &vInfo, const Array< int > &adjLists, const Array2D< ListPure< int > > &gridCell, double idealEdgeLength)
virtual DPoint computeDisplacement(int j, double boxLength) const =0
DPoint computeMixedForcesDisplacement(int j, int boxLength, std::function< DPoint(double, const DPoint &)> attractiveChange, std::function< double()> attractiveFinal) const
const Array2D< ListPure< int > > & m_gridCell
DPoint computeRepulsiveForce(int j, double boxLength, int idealExponent, int normExponent=1) const
DPoint computeDisplacement(int j, double boxLength) const override
ForceModelEades(const Array< NodeInfo > &vInfo, const Array< int > &adjLists, const Array2D< ListPure< int > > &gridCell, double idealEdgeLength)
ForceModelFR(const Array< NodeInfo > &vInfo, const Array< int > &adjLists, const Array2D< ListPure< int > > &gridCell, double idealEdgeLength)
DPoint computeDisplacement(int j, double boxLength) const override
ForceModelFRModAttr(const Array< NodeInfo > &vInfo, const Array< int > &adjLists, const Array2D< ListPure< int > > &gridCell, double idealEdgeLength)
DPoint computeDisplacement(int j, double boxLength) const override
ForceModelFRModRep(const Array< NodeInfo > &vInfo, const Array< int > &adjLists, const Array2D< ListPure< int > > &gridCell, double idealEdgeLength)
DPoint computeDisplacement(int j, double boxLength) const override
ForceModelGronemann(const Array< NodeInfo > &vInfo, const Array< int > &adjLists, const Array2D< ListPure< int > > &gridCell, double idealEdgeLength)
DPoint computeDisplacement(int j, double boxLength) const override
ForceModelHachul(const Array< NodeInfo > &vInfo, const Array< int > &adjLists, const Array2D< ListPure< int > > &gridCell, double idealEdgeLength)
DPoint computeDisplacement(int j, double boxLength) const override
CommonForceModelBase(const Array< NodeInfo > &vInfo, const Array< int > &adjLists, double idealEdgeLength)
double idealEdgeLength() const
Returns the current setting of ideal edge length.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.
GenericPoint< double > DPoint
Representing two-dimensional point with real coordinates.
Common implementations of force models for SpringEmbedder algorithms.