![]() |
fpmas 1.6
|
#include <load_balancing.h>
Public Member Functions | |
virtual PartitionMap | balance (NodeMap< T > nodes)=0 |
virtual PartitionMap | balance (NodeMap< T > nodes, PartitionMode partition_mode)=0 |
Load balancing API.
|
pure virtual |
|
pure virtual |
Computes a node partition from the input nodes.
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 corresponds to the union of all the local node maps specified as arguments.
nodes | local nodes to balance |
partition_mode | partitioning strategy |