Open
Graph Drawing
Framework

 v. snapshot-2017-02-16
 

EdgeComparerSimple.h
Go to the documentation of this file.
1 
37 #pragma once
38 
39 #include <ogdf/planarity/PlanRep.h>
41 
42 namespace ogdf {
43 
44 
45 
46 class OGDF_EXPORT EdgeComparerSimple : public VComparer<adjEntry>
47 {
48 public:
49 
50  EdgeComparerSimple(const GraphAttributes& AG, const node v) : basis(v), m_AG(&AG) { }
51 
52  int compare(const adjEntry &e1, const adjEntry &e2) const override;
53 
54 private:
57 
58 };//EdgeComparerSimple
59 
60 
61 }//namespace ogdf
Declaration of class GraphAttributes which extends a Graph by additional attributes.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
Definition: config.h:99
Declaration of a base class for planar representations of graphs and cluster graphs.
Abstract base class for comparer classes.
Definition: comparer.h:230
Stores additional attributes of a graph (like layout information).
Class for the representation of nodes.
Definition: Graph_d.h:167
The namespace for all OGDF objects.
EdgeComparerSimple(const GraphAttributes &AG, const node v)
Class for adjacency list elements.
Definition: Graph_d.h:78
const GraphAttributes * m_AG