Home | Trees | Indices | Help |
|
---|
|
An update instruction pairs a counter with a mutation of that counter.
The instruction is executed during a transition from one state to another, and causes the corresponding counter to be incremented or reset. The instruction may only be applied if doing so does not violate the conditions of the counter it affects.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
|
|||
|
|
|||
__counterCondition = None hash(x) |
|||
__doIncrement = None hash(x) |
|||
__min = None hash(x) |
|||
__max = None hash(x) |
|
|||
counterCondition A reference to the CounterCondition identifying the counter to be updated. |
|||
doIncrementTrue if the counter is to be incremented;
False if it is to be reset.
|
|
A reference to the CounterCondition identifying the counter to be updated. The counter condition instance is used as a key to the dictionary maintaining current counter values. |
Create an update instruction.
|
Implement a component of definition 5 from HOV09. The update instruction is satisfied by the counter values if its action may be legitimately applied to the value of its associated counter.
|
Return
|
Apply the update instruction to the provided counter values.
|
Apply the update instructions to the counter values.
|
|
counterConditionA reference to the CounterCondition identifying the counter to be updated. The counter condition instance is used as a key to the dictionary maintaining current counter values.
|
doIncrement
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Apr 17 03:13:55 2013 | http://epydoc.sourceforge.net |