No edit summary |
|||
Line 1: | Line 1: | ||
A deferred set in B is declared in the SETS Section and is not explicitly enumerated. In the example below, AA is a deferred set and BB is an enumerated set. | A deferred set in B is declared in the SETS Section and is not explicitly enumerated. In the example below, AA is a deferred set and BB is an enumerated set. | ||
<pre> | <pre> | ||
Line 7: | Line 6: | ||
</pre> | </pre> | ||
ProB in general requires all deferred sets to be given a finite cardinality before starting animation or model checking. If no cardinality is specified, a default size will be used. | ProB in general requires all deferred sets to be given a finite cardinality before starting animation or model checking. If no cardinality is specified, a default size will be used (which is controlled by the <tt>DEFAULT_SETSIZE</tt> [[Controlling ProB Preferences|preference]]). | ||
In general (for both probcli and ProB Tcl/Tk) you can set the cardinality of a set AA either by | In general (for both probcli and ProB Tcl/Tk) you can set the cardinality of a set AA either by |
A deferred set in B is declared in the SETS Section and is not explicitly enumerated. In the example below, AA is a deferred set and BB is an enumerated set.
MACHINE Test SETS AA; BB={bb,cc,dd} END
ProB in general requires all deferred sets to be given a finite cardinality before starting animation or model checking. If no cardinality is specified, a default size will be used (which is controlled by the DEFAULT_SETSIZE preference).
In general (for both probcli and ProB Tcl/Tk) you can set the cardinality of a set AA either by
- card(AA) > 1 - AA = {aa,bb} & aa/=bb - aa:AA & bb:AA & aa/=bb - …
From the command-line, using probcli you can use the command-line switch:
-card <GS> <VAL>
Example:
probcli my.mch -card PID 5