EventControl

Controls for functions related to events that occur while performing the solver functions

OnBeginSolve

public override void OnBeginSolve()

Definition

A function called when the solver starts running.

Example (Default Logic)

public override void OnBeginSolve()
{

}

OnDataLoad

public override void OnDataLoad()

Definition

A function called immediately after data is loaded through GetData in DataControl.

Example (Default Logic)

public override void OnDataLoad() 
{

}

OnVisitState

Definition

A function that is called when the State is visited.

Parameter

Type
Description

State

The currently visited state.

Example (Default Logic)

OnVisitToState

Definition

A function that is called when the state is transitioned through a defined action and visits the state of the next stage for the first time.

Parameters

Type
Description

State

The state before performing the action.

State

The state of the next stage visited after being transitioned through the action.

Example (Default Logic)

OnStageChanged

Definition

A function that is called when the stage is changed.

Parameter

Type
Description

Stage

The changed stage.

Example (Default Logic)

OnDoneSolve

Definition

A function called when the solver finishes running.

Example (Default Logic)

Last updated