| ||||||||||||||||||||||
tlp::SimpleTest Class Reference
Inheritance diagram for tlp::SimpleTest:
Collaboration diagram for tlp::SimpleTest:
Static Public Member Functions
Detailed Descriptionclass for testing if the graph is simple (ie no self loops and no multiple or parallel edges) Member Function Documentation
Returns true if the graph is simple (i.e. it contains no self loops or parallel edges), false otherwise. Makes the graph simple by removing self loops and parallel edges if any. The removed edges are stored in the removed vector.
Performs simple test and stores found parallel edges in the multipleEdges vector and found self loops in the loops vector. Returns true if the graph is simple, false otherwise. |
Tulip Software by LaBRI Visualization Team 2001 - 2012 |