Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
ide_transprop [2020/05/06 02:56] admin [Property Definition] |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Transition Properties ===== | ||
| - | |||
| - | ===== Transition Properties ===== | ||
| - | |||
| - | * Transition Name - a unique identifier assigned to the transition. | ||
| - | * Hide Name - not to display transition name on model and graphs | ||
| - | * Description - a freetext description | ||
| - | * Color - transition color. | ||
| - | * Text Color - transition label color | ||
| - | * Weight - weight (importance), | ||
| - | * Traversal Required - minimum number of times the transitions must be traversed. Default 1. Set it to 0 for transitions are required to be traversed (tested). | ||
| - | * [[#Guard Conditions|Guard]] - boolean expression, transition can not be traversed until this condition evaluates to true | ||
| - | * [[#Guard Hint / Satisfying Hint | Guard Hint]] - a //code / hint// describing the guard, used by sequencer to find a transition that can resolve the //code / hint// | ||
| - | * [[#Guard Hint / Satisfying Hint| Satisfying Hint]] - matching //code / hint// of a guard, signal to sequencer that this transition can resolve the guard with the //code / hint// | ||
| - | * Response Max (ms) - maximum number of milliseconds when exceeded to add the traversal of this transition to the slow performance tally. | ||
| - | ---- | ||
| - | ==== Guard Conditions ==== | ||
| - | |||
| - | Guard conditions are used to selectively turning on and off a transition based on mScript expression which evaluates to true or false (see [[mScriptFunc|mScriptFunc]]). | ||
| - | |||
| - | Guard condition is specified with an mscript expression. Typically you would use any of the boolean operation mscript functions, e.g. $compare(), $isTrue(). | ||
| - | |||
| - | You may nest the mscript function calls. | ||
| - | |||
| - | For example, | ||
| - | |||
| - | | ||
| - | |||
| - | or more complex expression like: | ||
| - | |||
| - | | ||
| - | |||
| - | With Rel. 3.2 (new), you may use [[Guard Trigger|Guard trigger]] for multiple and complex guard conditions. | ||
| - | |||
| - | ---- | ||
| - | ==== Guard Hint / Satisfying Hint ==== | ||
| - | |||
| - | When traversing the model, sequencers must deal with the transitions/ | ||
| - | |||
| - | //Hint// is a code or series of codes assigned to transitions/ | ||
| - | |||
| - | * //Guard Hint// - hint used to find transition/ | ||
| - | * // | ||
| - | |||
| - | //Hint// may be shared by multiple transitions/ | ||
| - | |||
| - | If multiple //hints// are assigned (separated by comma), any of the //hints// will be sufficient to satisfy the demanding transition/ | ||
| - | |||
| - | |||
| - | ---- | ||
| - | |||