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
/// Multiplicity of a monomial.
///
/// Valid weights are positive integers or _ω_ (inhibiting
/// weight). The default value is 1.
///
/// Weight attached to a monomial in effects of a node indicates the
/// number of tokens to take out of that node if a corresponding
/// transaction fires. Weight attached to a monomial in causes of a
/// node indicates the number of tokens to put into that node if a
/// corresponding transaction fires. Accordingly, the weights imply
/// constraints a state must satisfy for a transaction to fire: a
/// minimal number of tokens to be supplied by pre-set nodes, so that
/// token transfer may happen, and a maximal number of tokens in
/// post-set nodes, so that node capacities aren't exceeded. The
/// _ω_ weight attached to effects of a node indicates that any
/// token in that node inhibits firing.
;