Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

ogdf::SpringEmbedderGridVariant::ForceModelFRModRep Class Reference

#include <ogdf/energybased/spring_embedder/SEGV_ForceModel.h>

+ Inheritance diagram for ogdf::SpringEmbedderGridVariant::ForceModelFRModRep:

Public Member Functions

 ForceModelFRModRep (const Array< NodeInfo > &vInfo, const Array< int > &adjLists, const Array2D< ListPure< int >> &gridCell, double idealEdgeLength)
 
DPoint computeDisplacement (int j, double boxLength) const override
 
- Public Member Functions inherited from ogdf::SpringEmbedderGridVariant::ForceModelBase
 ForceModelBase (const Array< NodeInfo > &vInfo, const Array< int > &adjLists, const Array2D< ListPure< int >> &gridCell, double idealEdgeLength)
 
virtual ~ForceModelBase ()
 
- Public Member Functions inherited from ogdf::spring_embedder::CommonForceModelBase< NodeInfo >
 CommonForceModelBase (const Array< NodeInfo > &vInfo, const Array< int > &adjLists, double idealEdgeLength)
 
double eps () const
 

Additional Inherited Members

- Protected Member Functions inherited from ogdf::SpringEmbedderGridVariant::ForceModelBase
DPoint computeMixedForcesDisplacement (int j, int boxLength, std::function< DPoint(double, const DPoint &)> attractiveChange, std::function< double()> attractiveFinal) const
 
DPoint computeRepulsiveForce (int j, double boxLength, int idealExponent, int normExponent=1) const
 
- Protected Member Functions inherited from ogdf::spring_embedder::CommonForceModelBase< NodeInfo >
DPoint computeFruchtermanReingoldAttractiveForce (int j, int idealExponent) const
 
double normByIdealEdgeLength (double norm) const
 
- Protected Attributes inherited from ogdf::SpringEmbedderGridVariant::ForceModelBase
const Array2D< ListPure< int > > & m_gridCell
 
- Protected Attributes inherited from ogdf::spring_embedder::CommonForceModelBase< NodeInfo >
const Array< int > & m_adjLists
 
double m_idealEdgeLength
 
const Array< NodeInfo > & m_vInfo
 

Detailed Description

Definition at line 87 of file SEGV_ForceModel.h.

Constructor & Destructor Documentation

◆ ForceModelFRModRep()

ogdf::SpringEmbedderGridVariant::ForceModelFRModRep::ForceModelFRModRep ( const Array< NodeInfo > &  vInfo,
const Array< int > &  adjLists,
const Array2D< ListPure< int >> &  gridCell,
double  idealEdgeLength 
)
inline

Definition at line 89 of file SEGV_ForceModel.h.

Member Function Documentation

◆ computeDisplacement()

DPoint ogdf::SpringEmbedderGridVariant::ForceModelFRModRep::computeDisplacement ( int  j,
double  boxLength 
) const
overridevirtual

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