20 #ifndef TULIP_TREETEST_H 21 #define TULIP_TREETEST_H 23 #include <tulip/tuliphash.h> 24 #include <tulip/Observable.h> 25 #include <tulip/Graph.h> 45 static bool isTree(
const Graph *graph);
58 static bool isFreeTree(
const Graph *graph);
70 static void makeRootedTree(
Graph *freeTree,
node root);
94 static void cleanComputedTree(
Graph *graph,
Graph *tree);
99 bool compute(
const Graph * graph);
101 bool isFreeTree (
const Graph *graph,
node curRoot);
104 void treatEvent(
const Event&);
113 TLP_HASH_MAP<const Graph*,bool> resultsBuffer;
The node struct represents a node in a Graph object.
Event is the base class for all events used in the Observation mechanism.
PluginProcess subclasses are meant to notify about the progress state of some process (typically a pl...
Performs test to check whether a graph is a simple or rooted tree. From wikipedia: "A tree is an undi...
The Observable class is the base of Tulip's observation system.