203 return vGA.label(v) ==
wGA.label(w);
Declaration of class GraphAttributes which extends a Graph by additional attributes.
Declaration of graph copy classes.
Stores additional attributes of a graph (like layout information).
void addAttributes(long attr)
Enables attributes specified by attr and allocates required memory.
bool has(long attr) const
Returns true iff all attributes in attr are available.
Data type for general directed graphs (adjacency list representation).
int numberOfNodes() const
Returns the number of nodes in the graph.
virtual void clear()
Removes all nodes and all edges from the graph.
Dynamic arrays indexed with nodes.
Class for the representation of nodes.
int index() const
Returns the (unique) node index.
Calls modified algorithms for simdraw instances.
Creates variety of possible SimDraw creations.
Offers predefined SimDraw creations.
The Base class for simultaneous graph drawing.
int numberOfProperDummyNodes() const
returns number of proper dummy nodes
void readGML(const char *fileName)
calls GraphAttributes::readGML
int maxSubGraph() const
calculates maximum number of input graphs
CompareBy m_compareBy
compare mode
CompareBy
Types for node comparison.
bool addGraph(const Graph &G)
adds the graph g to the instance m_G
void addAttribute(long attr)
gives access to new attribute if not already given
const Graph & constGraph() const
returns graph
bool compareByLabel(const GraphAttributes &vGA, node v, const GraphAttributes &wGA, node w) const
compares two nodes v and w by their labels
bool isProperDummy(node v) const
returns true if node v is a cost greater zero dummy node
void writeGML(const char *fileName) const
calls GraphAttributes::writeGML
bool compareById(node v, node w) const
compares two nodes v and w by their ids
bool & isDummy(node v)
returns true if node v is marked as dummy
int numberOfBasicGraphs() const
returns number of BasicGraphs in m_G
CompareBy & compareBy()
returns compare mode
Graph m_G
the underlying graph
GraphAttributes & constGraphAttributes()
returns graphattributes
bool isPhantomDummy(node v) const
returns true if node v is a cost zero dummy node
const Graph getBasicGraph(int i) const
returns graph consisting of all edges and nodes from SubGraph i
const CompareBy & compareBy() const
returns compare mode
Graph & constGraph()
returns graph
const GraphAttributes & constGraphAttributes() const
returns graphattributes
void getBasicGraphAttributes(int i, GraphAttributes &GA, Graph &G)
returns graphattributes associated with basic graph i
GraphAttributes m_GA
the underlying graphattributes
const bool & isDummy(node v) const
returns true if node v is marked as dummy
bool addGraphAttributes(const GraphAttributes &GA)
adds new GraphAttributes to m_G
bool compare(const GraphAttributes &vGA, node v, const GraphAttributes &wGA, node w) const
compares two nodes v and w by compare mode stored in m_compareBy
NodeArray< bool > m_isDummy
dummy nodes may be colored differently
int numberOfPhantomDummyNodes() const
returns number of phantom dummy nodes
int numberOfNodes() const
returns number of nodes
SimDraw()
constructs empty simdraw instance
int numberOfDummyNodes() const
returns number of dummy nodes
Interface for simdraw manipulators.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.