fpmas 1.6
Public Member Functions | List of all members
fpmas::graph::ScheduledLoadBalancing< T > Class Template Reference

#include <scheduled_load_balancing.h>

Inheritance diagram for fpmas::graph::ScheduledLoadBalancing< T >:
Inheritance graph
[legend]
Collaboration diagram for fpmas::graph::ScheduledLoadBalancing< T >:
Collaboration graph
[legend]

Public Member Functions

 ScheduledLoadBalancing (api::graph::FixedVerticesLoadBalancing< T > &fixed_vertices_lb, api::scheduler::Scheduler &scheduler, api::runtime::Runtime &runtime)
 
PartitionMap balance (api::graph::NodeMap< T > nodes) override
 
PartitionMap balance (api::graph::NodeMap< T > nodes, api::graph::PartitionMode partition_mode) override
 
- Public Member Functions inherited from fpmas::api::graph::LoadBalancing< T >
virtual PartitionMap balance (NodeMap< T > nodes)=0
 
virtual PartitionMap balance (NodeMap< T > nodes, PartitionMode partition_mode)=0
 

Detailed Description

template<typename T>
class fpmas::graph::ScheduledLoadBalancing< T >

api::graph::LoadBalancing implementation that takes nodes' task scheduling into account.

Constructor & Destructor Documentation

◆ ScheduledLoadBalancing()

template<typename T >
fpmas::graph::ScheduledLoadBalancing< T >::ScheduledLoadBalancing ( api::graph::FixedVerticesLoadBalancing< T > &  fixed_vertices_lb,
api::scheduler::Scheduler scheduler,
api::runtime::Runtime runtime 
)
inline

ScheduledLoadBalancing constructor.

Parameters
fixed_vertices_lbfixed vertices load balancing algorithm
schedulercurrent scheduler (used to access scheduled tasks associated to nodes)
runtimecurrent runtime (used to access the current api::runtime::Runtime::currentDate())

Member Function Documentation

◆ balance() [1/2]

template<typename T >
PartitionMap fpmas::graph::ScheduledLoadBalancing< T >::balance ( api::graph::NodeMap< T >  nodes)
override

Deprecated:
Deprecated in favor of balance(NodeMap<T>, PartitionMode)

Implements fpmas::api::graph::LoadBalancing

◆ balance() [2/2]

template<typename T >
PartitionMap fpmas::graph::ScheduledLoadBalancing< T >::balance ( api::graph::NodeMap< T >  nodes,
api::graph::PartitionMode  partition_mode 
)
override

Deprecated:
Deprecated in favor of balance(NodeMap<T>, PartitionMap, PartitionMode)

Implements fpmas::api::graph::LoadBalancing


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