Class DecisionTree
Assembly: Xareus.Scenarios.dll
Syntax
[Serializable]
public class DecisionTree : ComplexSequence
Constructors
DecisionTree()
Declaration
DecisionTree(string, string)
Declaration
public DecisionTree(string id, string label = "")
Parameters
Type |
Name |
Description |
string |
id |
The Id must be unique
|
string |
label |
The label (optional)
|
Properties
SequenceTypeName
Declaration
public override string SequenceTypeName { get; }
Property Value
Overrides
TransitionTypeName
Declaration
public override string TransitionTypeName { get; }
Property Value
Overrides
Methods
CreateSubSequence(string, string)
Creates a new sub sequence with the given Id and label
Declaration
public override ASequence CreateSubSequence(string id, string label = "")
Parameters
Returns
Overrides
CreateTransition(string, string)
Creates a new transition with the given Id and label
Declaration
public override Transition CreateTransition(string id, string label = "")
Parameters
Returns
Overrides
GetToken()
Get the token of the given complex sequence.
The token is null if at least one final sequence of the net has no token.
The token is the result of the FinalTokenMerge function on all final sequences' tokens
Declaration
public override IContext GetToken()
Returns
Overrides
HasReachedFinalState()
Declaration
public override bool HasReachedFinalState()
Returns
Overrides
RemoveToken()
Declaration
public override void RemoveToken()
Overrides
Extension Methods