Product colour sets | CPN Tools help |
CPN ML |
colset name = product name1 * name2 * ... * namen;
where n>=2
(v1, v2, ..., vn)
where vi
has type namei
for 1<=i
<=n.
colset P = product U * I;
A product colour set is used in the example CP-net for Resource Allocation.
#i x |
extract the i th element of the tuple x |
_ |
omit component in tuple (not allowed in CPN inscriptions) |
#2(5, "abc") |
evaluates to "abc" |
See also colour set functions.