Sage Modeling and Simulation Library

EnumStateMachine<(Of <(<'TEnum>)>)> Constructor

Initializes a new instance of the EnumStateMachine<(Of <(<'TEnum>)>)> class.

Namespace:  Highpoint.Sage.SimCore
Assembly:  Sage4 (in Sage4.dll)

Syntax


public EnumStateMachine(
	IExecutive exec,
	TEnum initialState,
	bool trackTransitions
)

Parameters

exec
Type: Highpoint.Sage.SimCore..::..IExecutive
The executive whose time sequence will be followed in collecting statistics for this machine.
initialState
Type: TEnum
The state in which the machine initially resides.
trackTransitions
Type: Boolean
if set to true, the state machine will track the from, to, and time of each transition.