#include <ClusterPlanRep.h>

Public Member Functions | |
| ClusterPlanRep (const ClusterGraphAttributes &acGraph, const ClusterGraph &clusterGraph) | |
| virtual | ~ClusterPlanRep () |
| void | initCC (int i) |
| Initializes the planarized representation for connected component i. | |
| void | setClusterBoundary (edge e) |
| bool | isClusterBoundary (edge e) |
| const ClusterGraph & | getClusterGraph () const |
| void | insertEdgePathEmbedded (edge eOrig, CombinatorialEmbedding &E, const SList< adjEntry > &crossedEdges) |
| void | ModelBoundaries () |
| adjEntry | externalAdj () |
| virtual void | expand (bool lowDegreeExpand=false) |
| virtual void | expandLowDegreeVertices (OrthoRep &OR) |
| virtual edge | split (edge e) |
| Splits edge e. | |
| cluster | clusterOfEdge (edge e) |
| int | ClusterID (node v) const |
| int | ClusterID (edge e) const |
| cluster | clusterOfIndex (int i) |
| cluster | clusterOfDummy (node v) |
| void | writeGML (const char *fileName, const Layout &drawing) |
| void | writeGML (const char *fileName) |
| void | writeGML (ostream &os, const Layout &drawing) |
Protected Member Functions | |
| void | convertClusterGraph (cluster act, AdjEntryArray< edge > ¤tEdge, AdjEntryArray< int > &outEdge) |
| void | insertBoundary (cluster C, AdjEntryArray< edge > ¤tEdge, AdjEntryArray< int > &outEdge, bool clusterIsLeaf) |
| void | reinsertEdge (edge e) |
Private Member Functions | |
| edgeType | clusterPattern () |
Private Attributes | |
| const ClusterGraph * | m_pClusterGraph |
| adjEntry | m_rootAdj |
| EdgeArray< int > | m_edgeClusterID |
| NodeArray< int > | m_nodeClusterID |
| HashArray< int, cluster > | m_clusterOfIndex |
Definition at line 71 of file ClusterPlanRep.h.
| ogdf::ClusterPlanRep::ClusterPlanRep | ( | const ClusterGraphAttributes & | acGraph, | |
| const ClusterGraph & | clusterGraph | |||
| ) |
| virtual ogdf::ClusterPlanRep::~ClusterPlanRep | ( | ) | [inline, virtual] |
Definition at line 79 of file ClusterPlanRep.h.
| void ogdf::ClusterPlanRep::initCC | ( | int | i | ) |
Initializes the planarized representation for connected component i.
This initialization is always required. After performing this initialization, the planarized representation represents a copy of the i-th connected component of the original graph, where connected components are numbered 0,1,2,...
Reimplemented from ogdf::PlanRep.
| void ogdf::ClusterPlanRep::setClusterBoundary | ( | edge | e | ) | [inline] |
Definition at line 84 of file ClusterPlanRep.h.
| bool ogdf::ClusterPlanRep::isClusterBoundary | ( | edge | e | ) | [inline] |
Definition at line 87 of file ClusterPlanRep.h.
| const ClusterGraph& ogdf::ClusterPlanRep::getClusterGraph | ( | ) | const [inline] |
Definition at line 90 of file ClusterPlanRep.h.
| void ogdf::ClusterPlanRep::insertEdgePathEmbedded | ( | edge | eOrig, | |
| CombinatorialEmbedding & | E, | |||
| const SList< adjEntry > & | crossedEdges | |||
| ) |
re-inserts edge eOrig by "crossing" the edges in crossedEdges; splits each edge in crossedEdges Precond.: eOrig is an edge in the original graph, the edges in crossedEdges are in this graph, cluster boundaries are modelled as edge paths
| eOrig,: | Original edge to be inserted | |
| crossedEdges,: | Edges that are crossed by this insertion | |
| E,: | The embedding in which the edge is inserted |
Reimplemented from ogdf::PlanRep.
| void ogdf::ClusterPlanRep::ModelBoundaries | ( | ) |
| adjEntry ogdf::ClusterPlanRep::externalAdj | ( | ) | [inline] |
Definition at line 109 of file ClusterPlanRep.h.
| virtual void ogdf::ClusterPlanRep::expand | ( | bool | lowDegreeExpand = false |
) | [virtual] |
Reimplemented from ogdf::PlanRep.
| virtual void ogdf::ClusterPlanRep::expandLowDegreeVertices | ( | OrthoRep & | OR | ) | [virtual] |
Reimplemented from ogdf::PlanRep.
Definition at line 136 of file ClusterPlanRep.h.
| int ogdf::ClusterPlanRep::ClusterID | ( | node | v | ) | const [inline] |
Definition at line 167 of file ClusterPlanRep.h.
| int ogdf::ClusterPlanRep::ClusterID | ( | edge | e | ) | const [inline] |
Definition at line 168 of file ClusterPlanRep.h.
| cluster ogdf::ClusterPlanRep::clusterOfIndex | ( | int | i | ) | [inline] |
Definition at line 169 of file ClusterPlanRep.h.
Definition at line 171 of file ClusterPlanRep.h.
| void ogdf::ClusterPlanRep::writeGML | ( | const char * | fileName, | |
| const Layout & | drawing | |||
| ) |
| void ogdf::ClusterPlanRep::writeGML | ( | const char * | fileName | ) |
| void ogdf::ClusterPlanRep::writeGML | ( | ostream & | os, | |
| const Layout & | drawing | |||
| ) |
| void ogdf::ClusterPlanRep::convertClusterGraph | ( | cluster | act, | |
| AdjEntryArray< edge > & | currentEdge, | |||
| AdjEntryArray< int > & | outEdge | |||
| ) | [protected] |
| void ogdf::ClusterPlanRep::insertBoundary | ( | cluster | C, | |
| AdjEntryArray< edge > & | currentEdge, | |||
| AdjEntryArray< int > & | outEdge, | |||
| bool | clusterIsLeaf | |||
| ) | [protected] |
| void ogdf::ClusterPlanRep::reinsertEdge | ( | edge | e | ) | [protected] |
| edgeType ogdf::ClusterPlanRep::clusterPattern | ( | ) | [inline, private] |
Definition at line 204 of file ClusterPlanRep.h.
const ClusterGraph* ogdf::ClusterPlanRep::m_pClusterGraph [private] |
Definition at line 202 of file ClusterPlanRep.h.
adjEntry ogdf::ClusterPlanRep::m_rootAdj [private] |
Definition at line 206 of file ClusterPlanRep.h.
EdgeArray<int> ogdf::ClusterPlanRep::m_edgeClusterID [private] |
Definition at line 211 of file ClusterPlanRep.h.
NodeArray<int> ogdf::ClusterPlanRep::m_nodeClusterID [private] |
Definition at line 212 of file ClusterPlanRep.h.
HashArray<int, cluster> ogdf::ClusterPlanRep::m_clusterOfIndex [private] |
Definition at line 215 of file ClusterPlanRep.h.