Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

DTreeForceTypes.h File Reference
#include <cmath>
#include <type_traits>

Go to the source code of this file.

Namespaces

 ogdf
 The namespace for all OGDF objects.
 
 ogdf::energybased
 
 ogdf::energybased::dtree
 

Functions

template<int Dim>
void ogdf::energybased::dtree::AttrForceFunctionLog (double dist, double &force, double &force_prime)
 
template<int Dim, int K>
std::enable_if< Dim !=2||(K !=1 &&K !=2), void >::type ogdf::energybased::dtree::AttrForceFunctionPow (double dist, double &force, double &force_prime)
 
template<int Dim, int K>
std::enable_if< Dim==2 &&K==2, void >::type ogdf::energybased::dtree::AttrForceFunctionPow (double dist, double &force, double &force_prime)
 
template<int Dim, int K>
std::enable_if< Dim==2 &&K==1, void >::type ogdf::energybased::dtree::AttrForceFunctionPow (double dist, double &force, double &force_prime)
 
template<int Dim>
std::enable_if< Dim !=2, double >::type ogdf::energybased::dtree::computeDeltaAndDistance (const double a[Dim], const double b[Dim], double delta[Dim])
 
template<int Dim>
std::enable_if< Dim==2, double >::type ogdf::energybased::dtree::computeDeltaAndDistance (const double a[Dim], const double b[Dim], double delta[Dim])
 
template<int Dim, int K>
std::enable_if< Dim !=2||(K !=1 &&K !=2), void >::type ogdf::energybased::dtree::RepForceFunctionNewton (double dist, double &force, double &force_prime)
 
template<int Dim, int K>
std::enable_if< Dim==2 &&K==2, void >::type ogdf::energybased::dtree::RepForceFunctionNewton (double dist, double &force, double &force_prime)
 
template<int Dim, int K>
std::enable_if< Dim==2 &&K==1, void >::type ogdf::energybased::dtree::RepForceFunctionNewton (double dist, double &force, double &force_prime)
 

Detailed Description

License:
This file is part of the Open Graph Drawing Framework (OGDF).
Copyright (C)
See README.md in the OGDF root directory for details.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License Version 2 or 3 as published by the Free Software Foundation; see the file LICENSE.txt included in the packaging of this file for details.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/copyleft/gpl.html

Definition in file DTreeForceTypes.h.