Skip to content

Class skydata::behaviour::algorithm::migration::LeaderBased

ClassList > skydata > behaviour > algorithm > migration > LeaderBased

More...

Inherits the following classes: SKAgentBehaviour

Public Functions

Type Name
LeaderBased (SKAgent agent)
void action ()

Detailed Description

The LeaderBased algorithm use a leader election to coordinate migrations and ensure cohesion.

Public Functions Documentation

function LeaderBased

inline skydata::behaviour::algorithm::migration::LeaderBased::LeaderBased (
    SKAgent agent
) 

Add a new behaviour to an agent

Parameters:

  • agent : the agent

function action

inline void skydata::behaviour::algorithm::migration::LeaderBased::action () 

Start the behaviour



The documentation for this class was generated from the following file /home/maxime/Desktop/skd_proto_v2/skd/src/main/java/skydata/behaviour/algorithm/migration/LeaderBased.java