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
40#include <ogdf/basic/Graph.h>
41#include <ogdf/basic/geometry.h>
43
44namespace ogdf {
45class GraphAttributes;
46
47namespace davidson_harel {
48
49class Overlap : public NodePairEnergy {
50public:
51 //Initializes private data structures
52 explicit Overlap(GraphAttributes& AG);
53
55
56private:
57 //computes for two vertices at the given position the overlap energy
58 double computeCoordEnergy(node, node, const DPoint&, const DPoint&) const override;
59};
60
61}
62}
Includes declaration of graph class.
Declares class NodePairEnergy which implements an energy function where the energy of a layout depend...
Declaration of classes GenericPoint, GenericPolyline, GenericLine, GenericSegment,...
Stores additional attributes of a graph (like layout information).
Class for the representation of nodes.
Definition Graph_d.h:241
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.
The namespace for all OGDF objects.