fpmas 1.6
Public Member Functions | List of all members
fpmas::api::graph::FixedVerticesLoadBalancing< T > Class Template Referenceabstract

#include <load_balancing.h>

Inheritance diagram for fpmas::api::graph::FixedVerticesLoadBalancing< T >:
Inheritance graph
[legend]

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
 

Detailed Description

template<typename T>
class fpmas::api::graph::FixedVerticesLoadBalancing< T >

Load balancing API with fixed vertices handling.

Member Function Documentation

◆ balance() [1/2]

template<typename T >
virtual PartitionMap fpmas::api::graph::FixedVerticesLoadBalancing< T >::balance ( NodeMap< T >  nodes,
PartitionMap  fixed_vertices 
)
pure virtual

◆ balance() [2/2]

template<typename T >
virtual PartitionMap fpmas::api::graph::FixedVerticesLoadBalancing< T >::balance ( NodeMap< T >  nodes,
PartitionMap  fixed_vertices,
PartitionMode  partition_mode 
)
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.

Parameters
nodeslocal nodes to balance
fixed_verticesfixed vertices map
partition_modepartitioning strategy
Returns
balanced partition map

The documentation for this class was generated from the following file: