Skip to main content
FRAMES NO FRAMES

IlcCountDifferent

public IlcIntExp IlcCountDifferent(const IlcIntVarArray array, IlcFilterLevel level)
public IlcIntExp IlcCountDifferent(const IlcIntVarArray array)
Definition file: ilcp/cpext.h
Include file: <ilcp/cpext.h>
Returns a ``count different'' expression.

This function creates and returns a new constrained integer expression equal to the number of different values assigned to the variables in exprs.

See Also: