20 #ifndef TULIP_SIMPLETEST_H 21 #define TULIP_SIMPLETEST_H 23 #include <tulip/tuliphash.h> 24 #include <tulip/Observable.h> 25 #include <tulip/Graph.h> 43 static bool isSimple(
const Graph *graph);
56 static void makeSimple(
Graph *graph, std::vector<edge> &removed);
73 static bool simpleTest(
const Graph *graph, std::vector<edge> *multipleEdges =
nullptr,
74 std::vector<edge> *loops =
nullptr);
79 void treatEvent(
const Event &)
override;
80 void deleteResult(
Graph *graph);
90 TLP_HASH_MAP<const Graph *, bool> resultsBuffer;
Performs test to check if a graph is Simple. From Wikipedia: "A simple graph is an undirected graph t...
Event is the base class for all events used in the Observation mechanism.
The Observable class is the base of Tulip's observation system.