Derived class of GraphObserver providing additional functionality to handle clustered graphs. More...
#include <ogdf/basic/NodeArray.h>#include <ogdf/basic/Stack.h>#include <ogdf/basic/GraphObserver.h>Go to the source code of this file.
Classes | |
| class | ogdf::ClusterElement |
| Representation of clusters in a clustered graph. More... | |
| class | ogdf::ClusterGraph |
| Representation of clustered graphs. More... | |
Namespaces | |
| namespace | ogdf |
The namespace for all OGDF objects. | |
Defines | |
| #define | forall_cluster_adj(adj, c) |
| #define | forall_cluster_rev_adj(adj, c) |
| #define | forall_cluster_adj_edges(e, c) |
| #define | forall_clusters(c, C) for((c)=(C).firstCluster(); (c); (c)=(c)->succ()) |
| Iteration over all clusters c of cluster graph C. | |
| #define | forall_postOrderClusters(c, C) for((c)=(C).firstPostOrderCluster(); (c); (c)=(c)->pSucc()) |
| Iteration over all clusters c of cluster graph C (in postorder). | |
Typedefs | |
| typedef ClusterElement * | ogdf::cluster |
| The type of clusters. | |
Functions | |
| bool | ogdf::test_forall_adj_entries_of_cluster (ListIterator< adjEntry > &it, adjEntry &adj) |
| bool | ogdf::test_forall_adj_edges_of_cluster (ListIterator< adjEntry > &it, edge &e) |
| bool | ogdf::test_forall_adj_edges_of_cluster (adjEntry &adj, edge &e) |
| ostream & | ogdf::operator<< (ostream &os, ogdf::cluster c) |
Derived class of GraphObserver providing additional functionality to handle clustered graphs.
Copyright (C). All rights reserved. See README.txt in the root directory of the OGDF installation for details.
Definition in file ClusterGraph.h.
| #define forall_cluster_adj | ( | adj, | ||
| c | ||||
| ) |
for(ogdf::ListIterator<adjEntry> ogdf_loop_var=(c)->firstAdj();\ ogdf::test_forall_adj_entries_of_cluster(ogdf_loop_var,(adj));\ ogdf_loop_var=ogdf_loop_var.succ())
Definition at line 205 of file ClusterGraph.h.
| #define forall_cluster_adj_edges | ( | e, | ||
| c | ||||
| ) |
for(ogdf::ListIterator<adjEntry> ogdf_loop_var=(c)->firstAdj();\ ogdf::test_forall_adj_edges_of_cluster(ogdf_loop_var,(e));\ ogdf_loop_var=ogdf_loop_var.succ())
Definition at line 215 of file ClusterGraph.h.
| #define forall_cluster_rev_adj | ( | adj, | ||
| c | ||||
| ) |
for(ogdf::ListIterator<adjEntry> ogdf_loop_var=(c)->lastAdj();\ ogdf::test_forall_adj_entries_of_cluster(ogdf_loop_var,(adj));\ ogdf_loop_var=ogdf_loop_var.pred())
Definition at line 210 of file ClusterGraph.h.
| #define forall_clusters | ( | c, | ||
| C | ||||
| ) | for((c)=(C).firstCluster(); (c); (c)=(c)->succ()) |
Iteration over all clusters c of cluster graph C.
Definition at line 250 of file ClusterGraph.h.
| #define forall_postOrderClusters | ( | c, | ||
| C | ||||
| ) | for((c)=(C).firstPostOrderCluster(); (c); (c)=(c)->pSucc()) |
Iteration over all clusters c of cluster graph C (in postorder).
Definition at line 252 of file ClusterGraph.h.