Functions that can be passed to PCTree::uniqueID() More...
Functions | |
bool | compareNodesByID (PCNode *a, PCNode *b) |
Sort nodes by ascending index. More... | |
void | leafToID (std::ostream &os, PCNode *n, int pos) |
Print the index of a node n if it is a leaf. More... | |
void | leafToPosition (std::ostream &os, PCNode *n, int pos) |
Print the position pos of a node n if it is a leaf. More... | |
void | nodeToID (std::ostream &os, PCNode *n, int pos) |
Print the index of a node n . More... | |
void | nodeToPosition (std::ostream &os, PCNode *n, int pos) |
Print the position pos of a node n . More... | |
Functions that can be passed to PCTree::uniqueID()
Sort nodes by ascending index.
void ogdf::pc_tree::uid_utils::leafToID | ( | std::ostream & | os, |
PCNode * | n, | ||
int | pos | ||
) |
Print the index of a node n
if it is a leaf.
void ogdf::pc_tree::uid_utils::leafToPosition | ( | std::ostream & | os, |
PCNode * | n, | ||
int | pos | ||
) |
Print the position pos
of a node n
if it is a leaf.
void ogdf::pc_tree::uid_utils::nodeToID | ( | std::ostream & | os, |
PCNode * | n, | ||
int | pos | ||
) |
Print the index of a node n
.
void ogdf::pc_tree::uid_utils::nodeToPosition | ( | std::ostream & | os, |
PCNode * | n, | ||
int | pos | ||
) |
Print the position pos
of a node n
.