|
Open Graph Drawing Framework |
v. 2023.09 (Elderberry)
|
|
|
Go to the documentation of this file.
63 int normExponent = 1)
const;
65 std::function<
DPoint(
double,
const DPoint&)> attractiveChange,
66 std::function<
double()> attractiveFinal)
const;
The namespace for all OGDF objects.
DPoint computeRepulsiveForce(int j, double boxLength, int idealExponent, int normExponent=1) const
DPoint computeMixedForcesDisplacement(int j, int boxLength, std::function< DPoint(double, const DPoint &)> attractiveChange, std::function< double()> attractiveFinal) const
Declaration of classes GenericPoint, GenericPolyline, GenericLine, GenericSegment,...
ForceModelBase(const Array< NodeInfo > &vInfo, const Array< int > &adjLists, const Array2D< ListPure< int >> &gridCell, double idealEdgeLength)
DPoint computeDisplacement(int j, double boxLength) const override
DPoint computeDisplacement(int j, double boxLength) const override
virtual DPoint computeDisplacement(int j, double boxLength) const =0
The parameterized class Array2D implements dynamic two-dimensional arrays.
ForceModelHachul(const Array< NodeInfo > &vInfo, const Array< int > &adjLists, const Array2D< ListPure< int >> &gridCell, double idealEdgeLength)
const Array2D< ListPure< int > > & m_gridCell
ForceModelFRModRep(const Array< NodeInfo > &vInfo, const Array< int > &adjLists, const Array2D< ListPure< int >> &gridCell, double idealEdgeLength)
Declaration of ogdf::SpringEmbedderGridVariant.
virtual ~ForceModelBase()
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
Common implementations of force models for SpringEmbedder algorithms.
ForceModelGronemann(const Array< NodeInfo > &vInfo, const Array< int > &adjLists, const Array2D< ListPure< int >> &gridCell, double idealEdgeLength)
DPoint computeDisplacement(int j, double boxLength) const override
GenericPoint< double > DPoint
Representing two-dimensional point with real coordinates.
DPoint computeDisplacement(int j, double boxLength) const override
ForceModelFR(const Array< NodeInfo > &vInfo, const Array< int > &adjLists, const Array2D< ListPure< int >> &gridCell, double idealEdgeLength)
double idealEdgeLength() const
Returns the current setting of ideal edge length.
Declaration and implementation of Array class and Array algorithms.
ForceModelEades(const Array< NodeInfo > &vInfo, const Array< int > &adjLists, const Array2D< ListPure< int >> &gridCell, double idealEdgeLength)
CommonForceModelBase(const Array< NodeInfo > &vInfo, const Array< int > &adjLists, double idealEdgeLength)