Sage Modeling and Simulation Library

PfcAnalyst..::..GetTransitionToStepMappings Method

Creates a dictionary of transition to step mappings, such that by using this.Values, one can obtain steps that are recognizable to the user, and by using this[usersStepChoice], one can obtain the original transition.

Namespace:  Highpoint.Sage.Graphs.PFC
Assembly:  Sage4 (in Sage4.dll)

Syntax


public static Dictionary<IPfcStepNode, IPfcTransitionNode> GetTransitionToStepMappings(
	PfcNodeList transitions,
	bool precedingStep
)

Parameters

transitions
Type: Highpoint.Sage.Graphs.PFC..::..PfcNodeList
The IPfcNodeList that contains the transitions that govern the desired behaviors.
precedingStep
Type: Boolean
if set to true returns a preceding step of the transition, if false, a following step.

Return Value

A dictionary of Step-to-Transition mappings.