|
| EmbedPQTree () |
|
virtual | ~EmbedPQTree () |
|
virtual void | clientDefinedEmptyNode (PQNode< edge, IndInfo *, bool > *nodePtr) override |
|
virtual void | emptyAllPertinentNodes () override |
| Cleans up all flags that have been set in the pertinent nodes during the reduction process. More...
|
|
virtual void | getFront (PQNode< edge, IndInfo *, bool > *nodePtr, SListPure< PQBasicKey< edge, IndInfo *, bool > * > &leafKeys) |
|
virtual int | Initialize (SListPure< PlanarLeafKey< IndInfo * > * > &leafKeys) |
|
int | Initialize (SListPure< PQLeafKey< edge, IndInfo *, bool > * > &leafKeys) override |
|
virtual bool | Reduction (SListPure< PlanarLeafKey< IndInfo * > * > &leafKeys) |
|
bool | Reduction (SListPure< PQLeafKey< edge, IndInfo *, bool > * > &leafKeys) override |
|
void | ReplaceRoot (SListPure< PlanarLeafKey< IndInfo * > * > &leafKeys, SListPure< edge > &frontier, SListPure< node > &opposed, SListPure< node > &nonOpposed, node v) |
|
PQNode< edge, IndInfo *, bool > * | scanLeftEndmost (PQNode< edge, IndInfo *, bool > *nodePtr) const |
|
PQNode< edge, IndInfo *, bool > * | scanNextSib (PQNode< edge, IndInfo *, bool > *nodePtr, PQNode< edge, IndInfo *, bool > *other) |
|
PQNode< edge, IndInfo *, bool > * | scanRightEndmost (PQNode< edge, IndInfo *, bool > *nodePtr) const |
|
PQNode< edge, IndInfo *, bool > * | scanSibLeft (PQNode< edge, IndInfo *, bool > *nodePtr) const |
|
PQNode< edge, IndInfo *, bool > * | scanSibRight (PQNode< edge, IndInfo *, bool > *nodePtr) const |
|
| PQTree () |
|
virtual | ~PQTree () |
| Destructor. More...
|
|
bool | addNewLeavesToTree (PQInternalNode< edge, IndInfo *, bool > *father, SListPure< PQLeafKey< edge, IndInfo *, bool > * > &leafKeys) |
| Adds a set of elements to the already existing set of elements of a PQ-tree. More...
|
|
virtual void | CleanNode (PQNode< edge, IndInfo *, bool > *) |
|
virtual void | Cleanup () |
| Removes the entire PQ-tree. More...
|
|
virtual void | clientDefinedEmptyNode (PQNode< edge, IndInfo *, bool > *nodePtr) |
| If the user wishes to use different flags in a derived class of PQTree that are not available in this implementation, he can overload this function to make a valid cleanup of the nodes. More...
|
|
void | emptyNode (PQNode< edge, IndInfo *, bool > *nodePtr) |
| Cleans up all stacks, flags and pointers of a pertinent node that has been visited during the reduction process. More...
|
|
virtual void | front (PQNode< edge, IndInfo *, bool > *nodePtr, SListPure< PQLeafKey< edge, IndInfo *, bool > * > &leafKeys) |
| Returns the keys stored in the leaves of the front of nodePtr . More...
|
|
virtual int | Initialize (SListPure< PQLeafKey< edge, IndInfo *, bool > * > &leafKeys) |
| Initializes the PQ-tree with a set of elements. More...
|
|
virtual bool | Reduction (SListPure< PQLeafKey< edge, IndInfo *, bool > * > &leafKeys) |
| Tests whether permissible permutations of the elements of U exist such that the elements of a subset S of U, stored in leafKeys , form a consecutive sequence. More...
|
|
PQNode< edge, IndInfo *, bool > * | root () const |
| Returns a pointer of the root node of the PQTree. More...
|
|
void | writeGML (const char *fileName) |
| The function writeGML() prints the PQ-tree in the GML fileformat. More...
|
|
void | writeGML (std::ostream &os) |
|
|
virtual PQNode< edge, IndInfo *, bool > * | clientLeftEndmost (PQNode< edge, IndInfo *, bool > *nodePtr) const override |
|
virtual PQNode< edge, IndInfo *, bool > * | clientNextSib (PQNode< edge, IndInfo *, bool > *nodePtr, PQNode< edge, IndInfo *, bool > *other) const override |
|
virtual const char * | clientPrintStatus (PQNode< edge, IndInfo *, bool > *nodePtr) override |
|
virtual PQNode< edge, IndInfo *, bool > * | clientRightEndmost (PQNode< edge, IndInfo *, bool > *nodePtr) const override |
|
virtual PQNode< edge, IndInfo *, bool > * | clientSibLeft (PQNode< edge, IndInfo *, bool > *nodePtr) const override |
|
virtual PQNode< edge, IndInfo *, bool > * | clientSibRight (PQNode< edge, IndInfo *, bool > *nodePtr) const override |
|
virtual void | front (PQNode< edge, IndInfo *, bool > *nodePtr, SListPure< PQBasicKey< edge, IndInfo *, bool > * > &leafKeys) |
|
void | front (PQNode< edge, IndInfo *, bool > *nodePtr, SListPure< PQLeafKey< edge, IndInfo *, bool > * > &leafKeys) override |
|
virtual bool | addNodeToNewParent (PQNode< edge, IndInfo *, bool > *parent, PQNode< edge, IndInfo *, bool > *child) |
| Adds a node child as a child to another node specified in parent . More...
|
|
virtual bool | addNodeToNewParent (PQNode< edge, IndInfo *, bool > *parent, PQNode< edge, IndInfo *, bool > *child, PQNode< edge, IndInfo *, bool > *leftBrother, PQNode< edge, IndInfo *, bool > *rightBrother) |
| Adds a node child to the children of another node specified in parent . More...
|
|
virtual bool | Bubble (SListPure< PQLeafKey< edge, IndInfo *, bool > * > &leafKeys) |
| Realizes a function described in [Booth]. More...
|
|
virtual bool | checkIfOnlyChild (PQNode< edge, IndInfo *, bool > *child, PQNode< edge, IndInfo *, bool > *parent) |
| Checks if child is the only child of parent . More...
|
|
virtual PQNode< edge, IndInfo *, bool > * | clientLeftEndmost (PQNode< edge, IndInfo *, bool > *nodePtr) const |
|
virtual PQNode< edge, IndInfo *, bool > * | clientNextSib (PQNode< edge, IndInfo *, bool > *nodePtr, PQNode< edge, IndInfo *, bool > *other) const |
|
virtual int | clientPrintNodeCategorie (PQNode< edge, IndInfo *, bool > *nodePtr) |
| If the user wishes to use different flags in a derived class of PQTree that are not available in this implementation, he can overload this function. More...
|
|
virtual const char * | clientPrintStatus (PQNode< edge, IndInfo *, bool > *nodePtr) |
| If the user wishes to use different status in a derived class of PQTree that are not available in this implementation, he can overload this function. More...
|
|
virtual const char * | clientPrintType (PQNode< edge, IndInfo *, bool > *nodePtr) |
| If the user wishes to use different types in a derived class of PQTree that are not available in this implementation, he can overload this function. More...
|
|
virtual PQNode< edge, IndInfo *, bool > * | clientRightEndmost (PQNode< edge, IndInfo *, bool > *nodePtr) const |
|
virtual PQNode< edge, IndInfo *, bool > * | clientSibLeft (PQNode< edge, IndInfo *, bool > *nodePtr) const |
|
virtual PQNode< edge, IndInfo *, bool > * | clientSibRight (PQNode< edge, IndInfo *, bool > *nodePtr) const |
|
virtual void | destroyNode (PQNode< edge, IndInfo *, bool > *nodePtr) |
| Marks a node as PQNodeRoot::PQNodeStatus::ToBeDeleted. More...
|
|
virtual void | exchangeNodes (PQNode< edge, IndInfo *, bool > *oldNode, PQNode< edge, IndInfo *, bool > *newNode) |
| Replaces the oldNode by the newNode in the tree. More...
|
|
List< PQNode< edge, IndInfo *, bool > * > * | fullChildren (PQNode< edge, IndInfo *, bool > *nodePtr) |
|
virtual void | linkChildrenOfQnode (PQNode< edge, IndInfo *, bool > *installed, PQNode< edge, IndInfo *, bool > *newChild) |
| Links the two endmost children of two different Q-nodes via their sibling pointers together. More...
|
|
List< PQNode< edge, IndInfo *, bool > * > * | partialChildren (PQNode< edge, IndInfo *, bool > *nodePtr) |
|
virtual bool | Reduce (SListPure< PQLeafKey< edge, IndInfo *, bool > * > &leafKeys) |
| Performs the reduction of the pertinent leaves with the help of the template matchings, designed by Booth and Lueker. More...
|
|
virtual void | removeChildFromSiblings (PQNode< edge, IndInfo *, bool > *nodePtr) |
| Removes the node nodePtr from the doubly linked list of its parent. More...
|
|
virtual int | removeNodeFromTree (PQNode< edge, IndInfo *, bool > *parent, PQNode< edge, IndInfo *, bool > *child) |
| The objective is to remove a node child from the PQ-tree. More...
|
|
virtual bool | templateL1 (PQNode< edge, IndInfo *, bool > *nodePtr, bool isRoot) |
| Template matching for leaves. More...
|
|
virtual bool | templateP1 (PQNode< edge, IndInfo *, bool > *nodePtr, bool isRoot) |
| Template matching for P-nodes with only full children. More...
|
|
virtual bool | templateP2 (PQNode< edge, IndInfo *, bool > **nodePtr) |
| Template matching for a P-node with full and empty children that is the root of the pertinent subtree. More...
|
|
virtual bool | templateP3 (PQNode< edge, IndInfo *, bool > *nodePtr) |
| Template matching for a P-node with full and empty children that is not the root of the pertinent subtree. More...
|
|
virtual bool | templateP4 (PQNode< edge, IndInfo *, bool > **nodePtr) |
| Template matching for a P-node with full, empty and exactly one partial children. More...
|
|
virtual bool | templateP5 (PQNode< edge, IndInfo *, bool > *nodePtr) |
| Template matching for a P-node with full, empty children and exactly one partial child. More...
|
|
virtual bool | templateP6 (PQNode< edge, IndInfo *, bool > **nodePtr) |
| Template matching for a P-node with full, empty and exactly two partial children. More...
|
|
virtual bool | templateQ1 (PQNode< edge, IndInfo *, bool > *nodePtr, bool isRoot) |
| Template matching for Q-nodes with only full children. More...
|
|
virtual bool | templateQ2 (PQNode< edge, IndInfo *, bool > *nodePtr, bool isRoot) |
| Template matching for Q-nodes with a pertinent sequence of children on one side of the Q-node. More...
|
|
virtual bool | templateQ3 (PQNode< edge, IndInfo *, bool > *nodePtr) |
|