Declaration of extended graph algorithms. More...
#include <ogdf/basic/DisjointSets.h>
#include <ogdf/basic/PriorityQueue.h>
#include <ogdf/cluster/ClusterGraph.h>
#include <ogdf/planarity/BoyerMyrvold.h>
Go to the source code of this file.
Namespaces | |
namespace | ogdf |
The namespace for all OGDF objects. | |
Functions | |
bool | ogdf::isPlanar (const Graph &G) |
Returns true, if G is planar, false otherwise. | |
bool | ogdf::isSTPlanar (const Graph &graph, const node s, const node t) |
Returns whether G is s-t-planar (i.e. | |
bool | ogdf::planarEmbed (Graph &G) |
Returns true, if G is planar, false otherwise. If true is returned, G will be planarly embedded. | |
bool | ogdf::planarEmbedPlanarGraph (Graph &G) |
Constructs a planar embedding of G. It assumes that G is planar! | |
bool | ogdf::planarSTEmbed (Graph &graph, node s, node t) |
s-t-planarly embeds a graph. | |
Methods for induced subgraphs | |
template<class LISTITERATOR > | |
void | ogdf::inducedSubGraph (const Graph &G, LISTITERATOR start, Graph &subGraph) |
Computes the subgraph induced by a list of nodes. | |
template<class LISTITERATOR > | |
void | ogdf::inducedSubGraph (const Graph &G, LISTITERATOR start, Graph &subGraph, NodeArray< node > &nodeTableOrig2New) |
Computes the subgraph induced by a list of nodes (plus a mapping from original nodes to new copies). | |
template<class LISTITERATOR > | |
void | ogdf::inducedSubGraph (const Graph &G, LISTITERATOR start, Graph &subGraph, NodeArray< node > &nodeTableOrig2New, EdgeArray< edge > &edgeTableOrig2New) |
Computes the subgraph induced by a list of nodes (plus mappings from original nodes and edges to new copies). | |
template<class LISTITERATOR > | |
void | ogdf::inducedSubGraph (const Graph &G, LISTITERATOR start, GraphCopySimple &subGraph) |
Computes the subgraph induced by a list of nodes. | |
template<class NODELISTITERATOR , class EDGELIST > | |
void | ogdf::inducedSubgraph (Graph &G, NODELISTITERATOR &it, EDGELIST &E) |
Computes the edges in a node-induced subgraph. | |
Methods for clustered graphs | |
bool | ogdf::isCConnected (const ClusterGraph &C) |
Returns true iff cluster graph C is c-connected. | |
void | ogdf::makeCConnected (ClusterGraph &C, Graph &G, List< edge > &addedEdges, bool simple=true) |
Makes a cluster graph c-connected by adding edges. | |
Methods for minimum spanning tree computation | |
template<typename T > | |
T | ogdf::computeMinST (const Graph &G, const EdgeArray< T > &weight, EdgeArray< bool > &isInTree) |
Computes a minimum spanning tree using Prim's algorithm. | |
template<typename T > | |
void | ogdf::computeMinST (const Graph &G, const EdgeArray< T > &weight, NodeArray< edge > &pred) |
Computes a minimum spanning tree (MST) using Prim's algorithm. | |
template<typename T > | |
T | ogdf::computeMinST (const Graph &G, const EdgeArray< T > &weight, NodeArray< edge > &pred, EdgeArray< bool > &isInTree) |
Computes a minimum spanning tree (MST) using Prim's algorithm. | |
template<typename T > | |
void | ogdf::computeMinST (node s, const Graph &G, const EdgeArray< T > &weight, NodeArray< edge > &pred) |
Computes a minimum spanning tree (MST) using Prim's algorithm. | |
template<typename T > | |
T | ogdf::computeMinST (node s, const Graph &G, const EdgeArray< T > &weight, NodeArray< edge > &pred, EdgeArray< bool > &isInTree) |
Computes a minimum spanning tree (MST) using Prim's algorithm. | |
template<typename T > | |
T | ogdf::makeMinimumSpanningTree (Graph &G, const EdgeArray< T > &weight) |
Reduce a graph to its minimum spanning tree (MST) using Kruskal's algorithm. | |
Declaration of extended graph algorithms.
Definition in file extended_graph_alg.h.