169 void updateReverseIndizes();
171 void updateMergeWeights();
Includes declaration of graph class.
Declaration of class GraphAttributes which extends a Graph by additional attributes.
Dynamic arrays indexed with edges.
Class for the representation of edges.
Stores additional attributes of a graph (like layout information).
double y(node v) const
Returns the y-coordinate of node v.
double x(node v) const
Returns the x-coordinate of node v.
Data type for general directed graphs (adjacency list representation).
void writeGML(const char *fileName)
MultilevelGraph(const char *filename)
NodeArray< int > m_nodeAssociations
void reInsertGraph(MultilevelGraph &MLG)
double averageRadius() const
MultilevelGraph * removeOneCC(std::vector< node > &componentSubArray)
void weight(edge e, double weight)
std::vector< node > m_reverseNodeIndex
std::vector< int > m_reverseNodeMergeWeight
std::vector< NodeMerge * > m_changes
void importAttributes(const GraphAttributes &GA)
void copyNodeTo(node v, MultilevelGraph &MLG, std::map< node, node > &tempNodeAssociations, bool associate, int index=-1)
void reInsertAll(std::vector< MultilevelGraph * > &components)
void exportAttributes(GraphAttributes &GA) const
EdgeArray< int > m_edgeAssociations
MultilevelGraph(GraphAttributes &GA)
NodeArray< double > m_radius
void radius(node v, double r)
MultilevelGraph(GraphAttributes &GA, Graph &G)
node getNode(unsigned int index)
MultilevelGraph(std::istream &is)
EdgeArray< double > & getWArray()
NodeArray< double > & getRArray()
EdgeArray< double > m_weight
GraphAttributes & getGraphAttributes() const
Returns attributes of current level graph as GraphAttributes.
void exportAttributesSimple(GraphAttributes &GA) const
void copyEdgeTo(edge e, MultilevelGraph &MLG, std::map< node, node > &tempNodeAssociations, bool associate, int index=-1)
void initReverseIndizes()
MultilevelGraph(Graph &G)
edge getEdge(unsigned int index)
void copyFromGraph(const Graph &G, NodeArray< int > &nodeAssociations, EdgeArray< int > &edgeAssociations)
std::vector< edge > m_reverseEdgeIndex
void writeGML(std::ostream &os)
void importAttributesSimple(const GraphAttributes &GA)
void prepareGraphAttributes(GraphAttributes &GA) const
Dynamic arrays indexed with nodes.
Class for the representation of nodes.
int index() const
Returns the (unique) node index.
#define OGDF_EXPORT
Specifies that a function or class is exported by the OGDF DLL.
#define OGDF_DEPRECATED(reason)
Mark a class / member / function as deprecated.
static MultilevelBuilder * getDoubleFactoredZeroAdjustedMerger()
The namespace for all OGDF objects.
std::vector< int > m_changedEdges
std::map< int, double > m_radius
std::map< int, int > m_target
std::vector< int > m_changedNodes
std::vector< int > m_deletedEdges
std::vector< std::pair< int, double > > m_position
std::map< int, double > m_doubleWeight
std::map< int, int > m_source