Open
Graph Drawing
Framework

 v. 2020.02 (Catalpa)
 

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  ~Overlap() { }
50 private:
51  //computes for two vertices at the given position the overlap energy
52  double computeCoordEnergy(node,node, const DPoint&, const DPoint &) const override;
53 };
54 
55 }}
Stores additional attributes of a graph (like layout information).
double computeCoordEnergy(node, node, const DPoint &, const DPoint &) const override
Computes the energy stored by a pair of vertices at the given positions.
Class for the representation of nodes.
Definition: Graph_d.h:169
Declares class NodePairEnergy which implements an energy function where the energy of a layout depend...
The namespace for all OGDF objects.
Overlap(GraphAttributes &AG)