#include <ogdf/energybased/multilevel_mixer/MultilevelGraph.h>
|
| MultilevelGraph () |
|
| MultilevelGraph (const char *filename) |
|
| MultilevelGraph (Graph &G) |
|
| MultilevelGraph (GraphAttributes &GA) |
|
| MultilevelGraph (GraphAttributes &GA, Graph &G) |
|
| MultilevelGraph (std::istream &is) |
|
| ~MultilevelGraph () |
|
double | averageRadius () const |
|
bool | changeEdge (NodeMerge *NM, edge theEdge, double newWeight, node newSource, node newTarget) |
|
bool | changeNode (NodeMerge *NM, node theNode, double newRadius, node merged) |
|
void | copyEdgeTo (edge e, MultilevelGraph &MLG, std::map< node, node > &tempNodeAssociations, bool associate, int index=-1) |
|
void | copyNodeTo (node v, MultilevelGraph &MLG, std::map< node, node > &tempNodeAssociations, bool associate, int index=-1) |
|
bool | deleteEdge (NodeMerge *NM, edge theEdge) |
|
void | exportAttributes (GraphAttributes &GA) const |
|
void | exportAttributesSimple (GraphAttributes &GA) const |
|
edge | getEdge (unsigned int index) |
|
Graph & | getGraph () |
|
GraphAttributes & | getGraphAttributes () const |
| Returns attributes of current level graph as GraphAttributes. More...
|
|
NodeMerge * | getLastMerge () |
|
int | getLevel () |
|
node | getNode (unsigned int index) |
|
NodeArray< double > & | getRArray () |
|
EdgeArray< double > & | getWArray () |
|
void | importAttributes (const GraphAttributes &GA) |
|
void | importAttributesSimple (const GraphAttributes &GA) |
|
int | mergeWeight (node v) |
|
std::vector< edge > | moveEdgesToParent (NodeMerge *NM, node theNode, node parent, bool deleteDoubleEndges, int adjustEdgeLengths) |
|
void | moveToZero () |
|
bool | postMerge (NodeMerge *NM, node merged) |
|
double | radius (node v) |
|
void | radius (node v, double r) |
|
void | reInsertAll (std::vector< MultilevelGraph * > &components) |
|
void | reInsertGraph (MultilevelGraph &MLG) |
|
std::vector< MultilevelGraph * > | splitIntoComponents () |
|
node | undoLastMerge () |
|
void | updateMergeWeights () |
|
void | updateReverseIndizes () |
|
double | weight (edge e) |
|
void | weight (edge e, double weight) |
|
void | writeGML (const char *fileName) |
|
void | writeGML (std::ostream &os) |
|
double | x (node v) |
|
void | x (node v, double x) |
|
double | y (node v) |
|
void | y (node v, double y) |
|
Definition at line 69 of file MultilevelGraph.h.
◆ ~MultilevelGraph()
ogdf::MultilevelGraph::~MultilevelGraph |
( |
| ) |
|
◆ MultilevelGraph() [1/6]
ogdf::MultilevelGraph::MultilevelGraph |
( |
| ) |
|
◆ MultilevelGraph() [2/6]
ogdf::MultilevelGraph::MultilevelGraph |
( |
Graph & |
G | ) |
|
|
explicit |
◆ MultilevelGraph() [3/6]
◆ MultilevelGraph() [4/6]
◆ MultilevelGraph() [5/6]
ogdf::MultilevelGraph::MultilevelGraph |
( |
std::istream & |
is | ) |
|
|
explicit |
◆ MultilevelGraph() [6/6]
ogdf::MultilevelGraph::MultilevelGraph |
( |
const char * |
filename | ) |
|
|
explicit |
◆ averageRadius()
double ogdf::MultilevelGraph::averageRadius |
( |
| ) |
const |
|
inline |
◆ changeEdge()
bool ogdf::MultilevelGraph::changeEdge |
( |
NodeMerge * |
NM, |
|
|
edge |
theEdge, |
|
|
double |
newWeight, |
|
|
node |
newSource, |
|
|
node |
newTarget |
|
) |
| |
◆ changeNode()
bool ogdf::MultilevelGraph::changeNode |
( |
NodeMerge * |
NM, |
|
|
node |
theNode, |
|
|
double |
newRadius, |
|
|
node |
merged |
|
) |
| |
◆ copyEdgeTo()
void ogdf::MultilevelGraph::copyEdgeTo |
( |
edge |
e, |
|
|
MultilevelGraph & |
MLG, |
|
|
std::map< node, node > & |
tempNodeAssociations, |
|
|
bool |
associate, |
|
|
int |
index = -1 |
|
) |
| |
◆ copyFromGraph()
void ogdf::MultilevelGraph::copyFromGraph |
( |
const Graph & |
G, |
|
|
NodeArray< int > & |
nodeAssociations, |
|
|
EdgeArray< int > & |
edgeAssociations |
|
) |
| |
|
private |
◆ copyNodeTo()
void ogdf::MultilevelGraph::copyNodeTo |
( |
node |
v, |
|
|
MultilevelGraph & |
MLG, |
|
|
std::map< node, node > & |
tempNodeAssociations, |
|
|
bool |
associate, |
|
|
int |
index = -1 |
|
) |
| |
◆ deleteEdge()
bool ogdf::MultilevelGraph::deleteEdge |
( |
NodeMerge * |
NM, |
|
|
edge |
theEdge |
|
) |
| |
◆ exportAttributes()
◆ exportAttributesSimple()
void ogdf::MultilevelGraph::exportAttributesSimple |
( |
GraphAttributes & |
GA | ) |
const |
◆ getEdge()
edge ogdf::MultilevelGraph::getEdge |
( |
unsigned int |
index | ) |
|
◆ getGraph()
Graph& ogdf::MultilevelGraph::getGraph |
( |
| ) |
|
|
inline |
◆ getGraphAttributes()
◆ getLastMerge()
NodeMerge* ogdf::MultilevelGraph::getLastMerge |
( |
| ) |
|
◆ getLevel()
int ogdf::MultilevelGraph::getLevel |
( |
| ) |
|
◆ getNode()
node ogdf::MultilevelGraph::getNode |
( |
unsigned int |
index | ) |
|
◆ getRArray()
NodeArray<double>& ogdf::MultilevelGraph::getRArray |
( |
| ) |
|
|
inline |
◆ getWArray()
EdgeArray<double>& ogdf::MultilevelGraph::getWArray |
( |
| ) |
|
|
inline |
◆ importAttributes()
◆ importAttributesSimple()
void ogdf::MultilevelGraph::importAttributesSimple |
( |
const GraphAttributes & |
GA | ) |
|
◆ initInternal()
void ogdf::MultilevelGraph::initInternal |
( |
| ) |
|
|
private |
◆ initReverseIndizes()
void ogdf::MultilevelGraph::initReverseIndizes |
( |
| ) |
|
|
private |
◆ mergeWeight()
int ogdf::MultilevelGraph::mergeWeight |
( |
node |
v | ) |
|
|
inline |
◆ moveEdgesToParent()
std::vector<edge> ogdf::MultilevelGraph::moveEdgesToParent |
( |
NodeMerge * |
NM, |
|
|
node |
theNode, |
|
|
node |
parent, |
|
|
bool |
deleteDoubleEndges, |
|
|
int |
adjustEdgeLengths |
|
) |
| |
◆ moveToZero()
void ogdf::MultilevelGraph::moveToZero |
( |
| ) |
|
◆ postMerge()
bool ogdf::MultilevelGraph::postMerge |
( |
NodeMerge * |
NM, |
|
|
node |
merged |
|
) |
| |
◆ prepareGraphAttributes()
void ogdf::MultilevelGraph::prepareGraphAttributes |
( |
GraphAttributes & |
GA | ) |
const |
|
private |
◆ radius() [1/2]
double ogdf::MultilevelGraph::radius |
( |
node |
v | ) |
|
|
inline |
◆ radius() [2/2]
void ogdf::MultilevelGraph::radius |
( |
node |
v, |
|
|
double |
r |
|
) |
| |
|
inline |
◆ reInsertAll()
void ogdf::MultilevelGraph::reInsertAll |
( |
std::vector< MultilevelGraph * > & |
components | ) |
|
◆ reInsertGraph()
◆ removeOneCC()
◆ splitIntoComponents()
std::vector<MultilevelGraph*> ogdf::MultilevelGraph::splitIntoComponents |
( |
| ) |
|
◆ undoLastMerge()
node ogdf::MultilevelGraph::undoLastMerge |
( |
| ) |
|
◆ updateMergeWeights()
void ogdf::MultilevelGraph::updateMergeWeights |
( |
| ) |
|
◆ updateReverseIndizes()
void ogdf::MultilevelGraph::updateReverseIndizes |
( |
| ) |
|
◆ weight() [1/2]
double ogdf::MultilevelGraph::weight |
( |
edge |
e | ) |
|
|
inline |
◆ weight() [2/2]
void ogdf::MultilevelGraph::weight |
( |
edge |
e, |
|
|
double |
weight |
|
) |
| |
|
inline |
◆ writeGML() [1/2]
void ogdf::MultilevelGraph::writeGML |
( |
const char * |
fileName | ) |
|
◆ writeGML() [2/2]
void ogdf::MultilevelGraph::writeGML |
( |
std::ostream & |
os | ) |
|
◆ x() [1/2]
double ogdf::MultilevelGraph::x |
( |
node |
v | ) |
|
|
inline |
◆ x() [2/2]
void ogdf::MultilevelGraph::x |
( |
node |
v, |
|
|
double |
x |
|
) |
| |
|
inline |
◆ y() [1/2]
double ogdf::MultilevelGraph::y |
( |
node |
v | ) |
|
|
inline |
◆ y() [2/2]
void ogdf::MultilevelGraph::y |
( |
node |
v, |
|
|
double |
y |
|
) |
| |
|
inline |
◆ m_avgRadius
double ogdf::MultilevelGraph::m_avgRadius |
|
private |
◆ m_changes
std::vector<NodeMerge*> ogdf::MultilevelGraph::m_changes |
|
private |
◆ m_createdGraph
bool ogdf::MultilevelGraph::m_createdGraph |
|
private |
◆ m_edgeAssociations
EdgeArray<int> ogdf::MultilevelGraph::m_edgeAssociations |
|
private |
◆ m_G
Graph* ogdf::MultilevelGraph::m_G |
|
private |
◆ m_GA
◆ m_nodeAssociations
NodeArray<int> ogdf::MultilevelGraph::m_nodeAssociations |
|
private |
◆ m_radius
NodeArray<double> ogdf::MultilevelGraph::m_radius |
|
private |
◆ m_reverseEdgeIndex
std::vector<edge> ogdf::MultilevelGraph::m_reverseEdgeIndex |
|
private |
◆ m_reverseNodeIndex
std::vector<node> ogdf::MultilevelGraph::m_reverseNodeIndex |
|
private |
◆ m_reverseNodeMergeWeight
std::vector<int> ogdf::MultilevelGraph::m_reverseNodeMergeWeight |
|
private |
◆ m_weight
EdgeArray<double> ogdf::MultilevelGraph::m_weight |
|
private |
The documentation for this class was generated from the following file: