gatb.core-API-0.0.0
|
Implementation of Terminator that marks branching nodes. More...
#include <Terminator.hpp>
Public Member Functions | |
BranchingTerminatorTemplate (const Graph &graph) | |
BranchingTerminatorTemplate (const BranchingTerminatorTemplate &terminator) | |
~BranchingTerminatorTemplate () | |
void | mark (Edge &edge) |
bool | is_marked (Edge &edge) const |
void | mark (Node &node) |
bool | is_marked (Node &node) const |
bool | is_marked_branching (Node &node) const |
bool | is_branching (Node &node) const |
void | reset () |
void | dump () |
Public Member Functions inherited from TerminatorTemplate< Node, Edge, Graph > | |
TerminatorTemplate (const Graph &graph) | |
virtual | ~TerminatorTemplate () |
const Graph & | getGraph () const |
virtual bool | isEnabled () const |
Public Member Functions inherited from SmartPointer | |
void | use () |
void | forget () |
Public Member Functions inherited from ISmartPointer | |
virtual | ~ISmartPointer () |
Additional Inherited Members | |
Protected Member Functions inherited from SmartPointer | |
SmartPointer () | |
virtual | ~SmartPointer () |
Implementation of Terminator that marks branching nodes.
BranchingTerminatorTemplate | ( | const Graph & | graph | ) |
Constructor
[in] | graph | : the graph |
BranchingTerminatorTemplate | ( | const BranchingTerminatorTemplate< Node, Edge, Graph > & | terminator | ) |
Copy constructor
[in] | terminator | the graph |
Destructor.
|
virtual |
Dump (for debug purpose).
Implements TerminatorTemplate< Node, Edge, Graph >.
|
virtual |
Tells whether a node is branching
[in] | node | : node to be checked |
Implements TerminatorTemplate< Node, Edge, Graph >.
|
virtual |
Tells whether an edge is marked
[in] | edge | : edge to be checked |
Implements TerminatorTemplate< Node, Edge, Graph >.
|
virtual |
Implements TerminatorTemplate< Node, Edge, Graph >.
|
virtual |
Tells whether a branching node is marked
[in] | node | : node to be checked |
Implements TerminatorTemplate< Node, Edge, Graph >.
|
virtual |
Mark the provided edge
[in] | edge | : edge to be marked. |
Implements TerminatorTemplate< Node, Edge, Graph >.
|
virtual |
Implements TerminatorTemplate< Node, Edge, Graph >.
|
virtual |
Reset the current marked nodes/edges.
Implements TerminatorTemplate< Node, Edge, Graph >.