57 virtual int size()
const = 0;
60 virtual int high()
const = 0;
77 virtual int pos(
node v)
const = 0;
80 virtual int size()
const = 0;
83 virtual int high()
const {
return size() - 1; }
85 virtual const Hierarchy &hierarchy()
const = 0;
91 int calculateCrossings(
int i)
const;
94 int calculateCrossings()
const;
virtual ~HierarchyLevelsBase()
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
virtual int high() const
Returns the maximal array index of a level (= size()-1).
Representation of levels in hierarchies.
Declaration of Hierarchy class.
virtual int high() const =0
Returns the maximal array index (= size()-1).
virtual const node & operator[](int i) const =0
Returns the node at position i.
Class for the representation of nodes.
Includes declaration of graph class.
The namespace for all OGDF objects.
virtual int size() const =0
Returns the number of nodes on this level.
Representation of proper hierarchies used by Sugiyama-layout.