Constructor,
API: should be used through the Problem.createOccurrence API
Define an occurence constraint setting size{forall v in lvars | v = occval} <= or >= or = occVar
assumes the occVar variable to be the last of the variables of the constraint:
vars = [lvars | occVar]
with lvars = list of variables for which the occurence of occval in their domain is constrained
offsets[i] is the total number of variables in all previous terms constraints[0]...constraints[i-1]
Therefore it is the offset in the variable indexing of constraints[i]