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). More... | |
virtual const node & | operator[] (int i) const =0 |
Returns the node at position i . More... | |
virtual node & | operator[] (int i)=0 |
Returns the node at position i . More... | |
virtual int | size () const =0 |
Returns the number of nodes on this level. More... | |
Representation of levels in hierarchies.
Definition at line 45 of file CrossingMinInterfaces.h.
|
inlinevirtual |
Definition at line 48 of file CrossingMinInterfaces.h.
|
pure virtual |
Returns the maximal array index (= size()-1).
Implemented in ogdf::Level, and ogdf::ArrayLevel.
|
pure virtual |
Returns the node at position i
.
Implemented in ogdf::Level, and ogdf::ArrayLevel.
|
pure virtual |
Returns the node at position i
.
Implemented in ogdf::Level, and ogdf::ArrayLevel.
|
pure virtual |
Returns the number of nodes on this level.
Implemented in ogdf::Level, and ogdf::ArrayLevel.