An abstract base class that supports generic node selectors for those tree width algorithms that compute upper bounds by computing perfect elimination schemes. ! More...
#include <treedex.h>
Public Member Functions | |
| TreeWidthNodeSelector (MyGraph &g) | |
| virtual void | initialise ()=0 |
| Initialise the node selector. | |
| virtual MyNodeId | getNextNode ()=0 |
| Return the id of the next node and delete it internally. | |
| virtual void | update (MyNodeId deletedNodeId, set< MyNodeId > &neighbours)=0 |
Protected Attributes | |
| MyGraph & | _graph |
An abstract base class that supports generic node selectors for those tree width algorithms that compute upper bounds by computing perfect elimination schemes. !
| virtual void TreeDecomposition::TreeWidthNodeSelector::update | ( | MyNodeId | deletedNodeId, |
| set< MyNodeId > & | neighbours | ||
| ) | [pure virtual] |
Update the node selector based on the deletedNode and the neighbours of the deletedNode.
Implemented in TreeDecomposition::TreeWidthNodeSelectorMinFillIn, and TreeDecomposition::TreeWidthNodeSelectorMinDegree.
1.7.6.1