Tulip
4.10.0
Better Visualization Through Research
|
#include <TriconnectedTest.h>
Static Public Member Functions | |
static bool | isTriconnected (Graph *graph) |
Provides functions to test if a graph is triconnected.
Definition at line 33 of file TriconnectedTest.h.
|
static |
Checks if the graph is triconnected. Creates a clone sugraph in which to operate, then iterates over the nodes, and deletes them. Once the node is deleted, checks if the graph is biconnected. If it is not, then the graph is not triconnected. If it is, adds back the node and its edges.
graph | The graph to check is triconnected. |