Open
Graph Drawing
Framework
v. 2023.09 (Elderberry)
Overview
Class Hierarchy
Class Index
Class List
Members
Namespaces
Source Files
Loading...
Searching...
No Matches
Repulsion.h
Go to the documentation of this file.
1
36
#pragma once
37
38
#include <
ogdf/energybased/davidson_harel/NodePairEnergy.h
>
39
40
namespace
ogdf
{
41
namespace
davidson_harel {
42
43
class
Repulsion
:
public
NodePairEnergy
{
44
public
:
45
//Initializes data structures to speed up later computations
46
explicit
Repulsion
(
GraphAttributes
&
AG
);
47
48
private
:
49
//computes for two vertices an the given positions the repulsive energy
50
double
computeCoordEnergy
(
node
,
node
,
const
DPoint
&,
const
DPoint
&)
const override
;
51
};
52
53
}
54
}
NodePairEnergy.h
Declares class NodePairEnergy which implements an energy function where the energy of a layout depend...
ogdf::GenericPoint< double >
ogdf::GraphAttributes
Stores additional attributes of a graph (like layout information).
Definition
GraphAttributes.h:66
ogdf::NodeElement
Class for the representation of nodes.
Definition
Graph_d.h:177
ogdf::davidson_harel::NodePairEnergy
Definition
NodePairEnergy.h:43
ogdf::davidson_harel::Repulsion
Definition
Repulsion.h:43
ogdf::davidson_harel::Repulsion::computeCoordEnergy
double computeCoordEnergy(node, node, const DPoint &, const DPoint &) const override
Computes the energy stored by a pair of vertices at the given positions.
ogdf::davidson_harel::Repulsion::Repulsion
Repulsion(GraphAttributes &AG)
getDoubleFactoredZeroAdjustedMerger
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
Definition
multilevelmixer.cpp:36
ogdf
The namespace for all OGDF objects.
Definition
AugmentationModule.h:36
include
ogdf
energybased
davidson_harel
Repulsion.h
© 1999–2023
The OGDF Team