Baseclasses
Definition
An instanz PCG of PlaneClusterGraphCopy represents a copy of a planar clustergraph.
#include < AGD/PlaneClusterGraphCopy.h >
Creation
PlaneClusterGraphCopy | PCG(const PlaneClusterGraphCopy& pcg) | |
creates an instance PCG of type PlaneClusterGraphCopy initialized to a copy of pcg. | ||
PlaneClusterGraphCopy | PCG(const ClusterGraph& CG) | |
creates an instance PCG of type PlaneClusterGraphCopy initialized to a copy of CG. | ||
PlaneClusterGraphCopy | PCG(const ClusterGraph& CG, leda_list<leda_edge>& E) | |
creates an instance PCG of type PlaneClusterGraphCopy initialized
to a copy of CG without the edges in E. Precondition: Each e ![]() |
Operations
Cluster* | PCG.new_cluster(void) | creates a new cluster as a child of the root-cluster and returns it. |
Cluster* | PCG.new_cluster(Cluster* cl) | |
creates a new cluster as a child of cluster cl and returns it. | ||
leda_node | PCG.new_node(Cluster* cl) | creates a new node and makes it a member of cluster cl. |
Cluster* | PCG.get_rootcluster(void) | returns the root-cluster. |
Cluster* | PCG.cluster_of(leda_node v) | |
returns the cluster node v belongs too. | ||
Cluster* | PCG.original(Cluster* cl) | returns the corresponding cluster for cl in the original clustergraph. |
const ClusterGraph& | PCG.original() | returns the underlying clustergraph. |
leda_list<Cluster*> | PCG.all_clusters() | returns a list of all cluster. |
leda_list<Cluster*> | PCG.all_subcluster(Cluster* cl) | |
returns a list of all subcluster of T(c). | ||
bool | PCG.is_member(Cluster* cl, leda_node v) | |
returns true if node v is a member of a subcluster of cl, otherwise false. | ||
Cluster* | PCG.copy(Cluster* cl) | returns the copy of cluster cl. Precondition is that cl is a cluster in the original graph. |
© Copyright 1998-2001, Algorithmic Solutions Software GmbH. All rights reserved.
2001-08-13