C# Class Microsoft.Zing.ZingerSchedulerState

Show file Open project: ZingModelChecker/Zing Class Usage Examples

Public Properties

Property Type Description
numOfTimesCurrStateDelayed int

Protected Properties

Property Type Description
PprocessToZingprocess int>.Dictionary

Public Methods

Method Description
Clone ( bool isCloneForFrontier ) : ZingerSchedulerState

Clone current scheduler state for new zing state.

Finish ( int processId ) : void

This function is called when a Zing process has finished execution.

GetZingProcessId ( int P_ProcessId ) : int

This function returns the Zing process Id corresponding to the P process.

Map ( int P_ProcessId ) : void

This function Maps P process to Zing Process

Start ( int processId ) : void

This function is called by Zinger Explorer whenever a Zing Processes is created.

ZingerSchedulerState ( ) : System

Defualt Constructor

ZingerSchedulerState ( ZingerSchedulerState copyThis ) : System

Copy Construtor

Method Details

Clone() public abstract method

Clone current scheduler state for new zing state.
public abstract Clone ( bool isCloneForFrontier ) : ZingerSchedulerState
isCloneForFrontier bool
return ZingerSchedulerState

Finish() public method

This function is called when a Zing process has finished execution.
public Finish ( int processId ) : void
processId int
return void

GetZingProcessId() public method

This function returns the Zing process Id corresponding to the P process.
public GetZingProcessId ( int P_ProcessId ) : int
P_ProcessId int
return int

Map() public method

This function Maps P process to Zing Process
public Map ( int P_ProcessId ) : void
P_ProcessId int
return void

Start() public method

This function is called by Zinger Explorer whenever a Zing Processes is created.
public Start ( int processId ) : void
processId int
return void

ZingerSchedulerState() public method

Defualt Constructor
public ZingerSchedulerState ( ) : System
return System

ZingerSchedulerState() public method

Copy Construtor
public ZingerSchedulerState ( ZingerSchedulerState copyThis ) : System
copyThis ZingerSchedulerState
return System

Property Details

PprocessToZingprocess protected property

Map from the P Statemachine id to Zing Process Id.
protected Dictionary PprocessToZingprocess
return int>.Dictionary

numOfTimesCurrStateDelayed public property

public int numOfTimesCurrStateDelayed
return int