![]() |
dyng
DynamicGraphLayout
|
Wrapper class for graph used to represent graph partitioning. More...
#include <mapped_graph.h>
Public Member Functions | |
| mapped_graph (graph_partitioning g) | |
| const graph_partitioning & | graph () const |
| graph_partitioning & | graph () |
| node_partition & | node_at (node_id id) |
| const node_partition & | node_at (node_id id) const |
| edge_partition & | edge_at (edge_id id) |
| const edge_partition & | edge_at (edge_id id) const |
| void | map_node (node_id node, node_id target) |
| void | map_edge (edge_id edge, edge_id target) |
| void | clear_nodes () |
| void | clear_edges () |
Wrapper class for graph used to represent graph partitioning.
Enables multiple ids to point to the same node/edge. Used internally in foresighted_layout.
node_at and edge_at both return either node / edge returned by graph::node_at / graph::edge_at or the associated node/edge that has been associated to another node / edge in the graph by the method map_node / map_edge.
1.8.17