Skip to content

Class skydata::behaviour::evals::FaultSimulator

ClassList > skydata > behaviour > evals > FaultSimulator

More...

Inherits the following classes: SKAgentBehaviour

Public Functions

Type Name
FaultSimulator (SKAgent agent)
void action ()

Detailed Description

Simulate some failures according to a specific probability.

Parameters : * probabilityCrash (float between 0 and 1)

Public Functions Documentation

function FaultSimulator

inline skydata::behaviour::evals::FaultSimulator::FaultSimulator (
    SKAgent agent
) 

Add this behaviour to an agent

Parameters:

  • agent : the agent

function action

inline void skydata::behaviour::evals::FaultSimulator::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/evals/FaultSimulator.java