Representation of levels in hierarchies. More...
#include <ogdf/layered/CrossingMinInterfaces.h>
Public Member Functions | |
virtual | ~LevelBase () |
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 . | |
virtual node & | operator[] (int i)=0 |
Returns the node at position i . | |
virtual int | size () const =0 |
Returns the number of nodes on this level. | |
Representation of levels in hierarchies.
Definition at line 43 of file CrossingMinInterfaces.h.
|
inlinevirtual |
Definition at line 46 of file CrossingMinInterfaces.h.
Returns the maximal array index (= size()-1).
Implemented in ogdf::ArrayLevel, and ogdf::Level.
Returns the node at position i
.
Implemented in ogdf::ArrayLevel, and ogdf::Level.
Returns the node at position i
.
Implemented in ogdf::ArrayLevel, and ogdf::Level.
Returns the number of nodes on this level.
Implemented in ogdf::ArrayLevel, and ogdf::Level.