31.01.2014 Views

Version 5.0 The LEDA User Manual

Version 5.0 The LEDA User Manual

Version 5.0 The LEDA User Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

ool Is Triconnected(const graph& G, node& s1 , node& s2 )<br />

bool Is Bipartite(const graph& G)<br />

as above, computes a split pair s1, s2 if the result<br />

is false.<br />

returns true if G is bipartite and false otherwise.<br />

bool Is Bipartite(const graph& G, list& A, list& B)<br />

returns true if G is bipartite and false otherwise.<br />

If G is bipartite the two sides are returned in A<br />

and B, respectively. If G is not bipartite the node<br />

sequence of an odd-length circle is returned in A..<br />

bool<br />

Is Planar(const graph& G) returns true if G is planar and false otherwise.<br />

bool Is Series Parallel(const graph& G)<br />

returns true if G is series-parallel and false otherwise.<br />

void Make Acyclic(graph& G) makes G acyclic by removing all DFS back edges.<br />

list Make Simple(graph& G)<br />

makes G simple by removing all but one from each<br />

set of parallel edges. Returns the list of remaining<br />

edges with parallel edges in the original graph.<br />

void Make Bidirected(graph& G, list& L)<br />

list Make Bidirected(graph& G)<br />

void Make Connected(graph& G, list& L)<br />

list Make Connected(graph& G)<br />

void Make Biconnected(graph& G, list& L)<br />

list Make Biconnected(graph& G)<br />

makes G bidirected by inserting missing reversal<br />

edges. Appends all inserted edges to list L.<br />

makes G bidirected by inserting missing reversal<br />

edges. Returns the list of inserted edges.<br />

makes G connected; appends all inserted edges to<br />

list L.<br />

makes G connected; returns the list of inserted<br />

edges.<br />

makes G biconnected; appends all inserted edges<br />

to list L.<br />

makes G biconnected; returns the list of inserted<br />

edges.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!