template<typename T>
class fpmas::graph::ZoltanLoadBalancing< T >
api::load_balancing::FixedVerticesLoadBalancing implementation based on the Zoltan library.
Computes a node partition from the input nodes, assigning a fixed rank to nodes specified in the fixed vertices map.
This functions is synchronous and blocks until all processes call it.
Each process calls the functions with its own node map, so that the global set of nodes to balance correspond to the union of all the local node maps specified as arguments.
Fixed vertices are assumed to be consistent across processes, behavior is undefined otherwise.
- Parameters
-
| nodes | local nodes to balance |
| fixed_vertices | fixed vertices map |
| partition_mode | partitioning strategy |
- Returns
- balanced partition map
- Implementation details
- Computes a balanced partition from the default Zoltan PHG Hypergraph partitioning method
Implements fpmas::api::graph::FixedVerticesLoadBalancing