1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*!
This module provides an extension to include priorities on transitions.
TBD
*/
use crateTransition;
use Hash;
// ------------------------------------------------------------------------------------------------
// Public Types
// ------------------------------------------------------------------------------------------------
///
/// This trait associates a priority value with a transition whereby a transition cannot fire if a
/// higher-priority transition is enabled (i.e. can fire). Thus, transitions are in priority
/// groups, and e.g. priority group 3 can only fire if all transitions are disabled in groups 1
/// and 2. Within a priority group, firing is still non-deterministic.
///
/// Note that the *initial* (default) value is considered the lowest priority.
///