Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

ogdf::energybased::dtree::DTreeWSPDCallback< Dim, ForceFunc, UseForcePrime > Class Template Reference

#include <ogdf/energybased/dtree/DTreeForce.h>

+ Inheritance diagram for ogdf::energybased::dtree::DTreeWSPDCallback< Dim, ForceFunc, UseForcePrime >:

Public Member Functions

 DTreeWSPDCallback (DTreeForce< Dim > &treeForce, ForceFunc forceFunc)
 
virtual void onWellSeparatedPair (int a, int b)
 called by the WSPD for well separated pair More...
 

Public Attributes

ForceFunc m_forceFunc
 
DTreeForce< Dim > & m_treeForce
 

Detailed Description

template<int Dim, typename ForceFunc, bool UseForcePrime>
class ogdf::energybased::dtree::DTreeWSPDCallback< Dim, ForceFunc, UseForcePrime >

Definition at line 147 of file DTreeForce.h.

Constructor & Destructor Documentation

◆ DTreeWSPDCallback()

template<int Dim, typename ForceFunc , bool UseForcePrime>
ogdf::energybased::dtree::DTreeWSPDCallback< Dim, ForceFunc, UseForcePrime >::DTreeWSPDCallback ( DTreeForce< Dim > &  treeForce,
ForceFunc  forceFunc 
)
inline

Definition at line 149 of file DTreeForce.h.

Member Function Documentation

◆ onWellSeparatedPair()

template<int Dim, typename ForceFunc , bool UseForcePrime>
virtual void ogdf::energybased::dtree::DTreeWSPDCallback< Dim, ForceFunc, UseForcePrime >::onWellSeparatedPair ( int  a,
int  b 
)
inlinevirtual

called by the WSPD for well separated pair

Implements ogdf::energybased::dtree::IWSPD.

Definition at line 153 of file DTreeForce.h.

Member Data Documentation

◆ m_forceFunc

template<int Dim, typename ForceFunc , bool UseForcePrime>
ForceFunc ogdf::energybased::dtree::DTreeWSPDCallback< Dim, ForceFunc, UseForcePrime >::m_forceFunc

Definition at line 181 of file DTreeForce.h.

◆ m_treeForce

template<int Dim, typename ForceFunc , bool UseForcePrime>
DTreeForce<Dim>& ogdf::energybased::dtree::DTreeWSPDCallback< Dim, ForceFunc, UseForcePrime >::m_treeForce

Definition at line 180 of file DTreeForce.h.


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