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 Bidirected(const graph& G)<br />

returns true if every edge has a reversal and false<br />

otherwise.<br />

bool<br />

Is Bidirected(const graph& G, edge array& rev)<br />

computes for every edge e = (v, w) in G its reversal<br />

rev[e] = (w, v) in G (nil if not present). Returns<br />

true if every edge has a reversal and false otherwise.<br />

bool Is Map(const graph& G) tests whether G is a map.<br />

int Genus(const graph& G) computes the genus of G.<br />

Precondition: G must be a map.<br />

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

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

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

tests whether G is a plane map, i.e, whether G is<br />

a map of genus zero.<br />

old name for Is Plane Map<br />

bool Is Acyclic(const graph& G, list& L)<br />

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

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

bool Is Biconnected(const graph& G, node& s)<br />

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

returns true if the directed G is acyclic and false<br />

otherwise.<br />

as above; in addition, constructs a list of edges L<br />

whose deletion makes G acyclic.<br />

returns true if the undirected graph underlying G<br />

is connected and false otherwise.<br />

returns true if the undirected graph underlying G<br />

is biconnected and false otherwise.<br />

as above, computes a split vertex s if the result is<br />

false.<br />

returns true if the undirected graph underlying G<br />

is triconnected and false otherwise. <strong>The</strong> running<br />

time is O(n(n + m))).

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

Saved successfully!

Ooh no, something went wrong!