108template<
class T,
class X,
class Y>
111template<
class T,
class X,
class Y>
145 virtual std::ostream&
print(std::ostream&
os) {
return os; }
Declaration and implementation of the class PQBasicKeyRoot.
PQNode< T, X, Y > * m_nodePointer
Stores the adress of a node.
void setNodePointer(PQNode< T, X, Y > *pqNode)
The function setNodePointer() sets the private member m_nodePointer.
virtual X userStructInfo()=0
Returns the information of any node.
virtual Y userStructInternal()=0
Returns the information of any internal node.
virtual T userStructKey()=0
Returns the key of a leaf.
PQNode< T, X, Y > * nodePointer()
The function nodePointer() returns a pointer to an element of type PQNode.
virtual std::ostream & print(std::ostream &os)
The function print() is a virtual function, that can be overloaded by the user in order to print out ...
The class PQBasicKeyRoot is used as a base class of the class template basicKey.
The class template PQBasicKey is an abstract base class.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.