![]() |
fpmas 1.6
|
#include <load_balancing.h>
Public Member Functions | |
virtual PartitionMap | balance (NodeMap< T > nodes, PartitionMap fixed_vertices)=0 |
virtual PartitionMap | balance (NodeMap< T > nodes, PartitionMap fixed_vertices, PartitionMode partition_mode)=0 |
Load balancing API with fixed vertices handling.
|
pure virtual |
|
pure virtual |
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.
nodes | local nodes to balance |
fixed_vertices | fixed vertices map |
partition_mode | partitioning strategy |