Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Loading...
Searching...
No Matches
Overlap.h
Go to the documentation of this file.
1
38#pragma once
39
41
42namespace ogdf {
43namespace davidson_harel {
44
45class Overlap : public NodePairEnergy {
46public:
47 //Initializes private data structures
49
51
52private:
53 //computes for two vertices at the given position the overlap energy
54 double computeCoordEnergy(node, node, const DPoint&, const DPoint&) const override;
55};
56
57}
58}
Declares class NodePairEnergy which implements an energy function where the energy of a layout depend...
Stores additional attributes of a graph (like layout information).
Class for the representation of nodes.
Definition Graph_d.h:177
Overlap(GraphAttributes &AG)
double computeCoordEnergy(node, node, const DPoint &, const DPoint &) const override
Computes the energy stored by a pair of vertices at the given positions.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.