Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Overlap.h
Go to the documentation of this file.
1 
38 #pragma once
39 
41 
42 namespace ogdf {
43 namespace davidson_harel {
44 
45 class Overlap : public NodePairEnergy {
46 public:
47  //Initializes private data structures
48  explicit Overlap(GraphAttributes& AG);
49 
50  ~Overlap() { }
51 
52 private:
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 }
ogdf
The namespace for all OGDF objects.
Definition: AugmentationModule.h:36
ogdf::GraphAttributes
Stores additional attributes of a graph (like layout information).
Definition: GraphAttributes.h:66
ogdf::GenericPoint< double >
ogdf::davidson_harel::Overlap::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::Overlap::~Overlap
~Overlap()
Definition: Overlap.h:50
ogdf::davidson_harel::Overlap::Overlap
Overlap(GraphAttributes &AG)
ogdf::davidson_harel::NodePairEnergy
Definition: NodePairEnergy.h:43
ogdf::davidson_harel::Overlap
Definition: Overlap.h:45
NodePairEnergy.h
Declares class NodePairEnergy which implements an energy function where the energy of a layout depend...
ogdf::NodeElement
Class for the representation of nodes.
Definition: Graph_d.h:233