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