57 virtual int size()
const = 0;
60 virtual int high()
const = 0;
82 virtual int pos(
node v)
const = 0;
85 virtual int size()
const = 0;
88 virtual int high()
const {
return size() - 1; }
90 virtual const Hierarchy &hierarchy()
const = 0;
96 int calculateCrossings(
int i)
const;
99 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.