Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
ogdf::spring_embedder::CommonForceModelBase< NodeInfo > Class Template Reference

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

+ Inheritance diagram for ogdf::spring_embedder::CommonForceModelBase< NodeInfo >:

Public Member Functions

 CommonForceModelBase (const Array< NodeInfo > &vInfo, const Array< int > &adjLists, double idealEdgeLength)
 
double eps () const
 

Protected Member Functions

DPoint computeFruchtermanReingoldAttractiveForce (int j, int idealExponent) const
 
double normByIdealEdgeLength (double norm) const
 

Protected Attributes

const Array< int > & m_adjLists
 
double m_idealEdgeLength
 
const Array< NodeInfo > & m_vInfo
 

Detailed Description

template<typename NodeInfo>
class ogdf::spring_embedder::CommonForceModelBase< NodeInfo >

Definition at line 41 of file common.h.

Constructor & Destructor Documentation

◆ CommonForceModelBase()

template<typename NodeInfo >
ogdf::spring_embedder::CommonForceModelBase< NodeInfo >::CommonForceModelBase ( const Array< NodeInfo > &  vInfo,
const Array< int > &  adjLists,
double  idealEdgeLength 
)
inline

Definition at line 43 of file common.h.

Member Function Documentation

◆ computeFruchtermanReingoldAttractiveForce()

template<typename NodeInfo >
DPoint ogdf::spring_embedder::CommonForceModelBase< NodeInfo >::computeFruchtermanReingoldAttractiveForce ( int  j,
int  idealExponent 
) const
inlineprotected

Definition at line 59 of file common.h.

◆ eps()

template<typename NodeInfo >
double ogdf::spring_embedder::CommonForceModelBase< NodeInfo >::eps ( ) const
inline

Definition at line 47 of file common.h.

◆ normByIdealEdgeLength()

template<typename NodeInfo >
double ogdf::spring_embedder::CommonForceModelBase< NodeInfo >::normByIdealEdgeLength ( double  norm) const
inlineprotected

Definition at line 55 of file common.h.

Member Data Documentation

◆ m_adjLists

template<typename NodeInfo >
const Array<int>& ogdf::spring_embedder::CommonForceModelBase< NodeInfo >::m_adjLists
protected

Definition at line 51 of file common.h.

◆ m_idealEdgeLength

template<typename NodeInfo >
double ogdf::spring_embedder::CommonForceModelBase< NodeInfo >::m_idealEdgeLength
protected

Definition at line 53 of file common.h.

◆ m_vInfo

template<typename NodeInfo >
const Array<NodeInfo>& ogdf::spring_embedder::CommonForceModelBase< NodeInfo >::m_vInfo
protected

Definition at line 50 of file common.h.


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