[ library(ic_symbolic) | Reference Manual | Alphabetic Index ]
atmost(++N, +List, ++Value)
Value occurs N times in List
- list of variables or domain values
- domain value
Constrains its arguments such that Value occurs at most N times
This is implemented by mapping onto ic_global:atmost/3.
All list elements and Value must be variables or values of the
same domain. If one or more of them are domain-less, they will
be given the same domain as the others.
This predicate is sensitive to its module context (tool predicate, see @/2).
ic_global : atmost / 3