Change request to signatures of Decreasing & Increasing constructors
Closed this issue · 1 comments
thomasleaute commented
Please change the signature of the Decreasing constructor from
public Decreasing(List<IntVar> x)
to
public Decreasing(List<? extends IntVar> x)
This would make it possible to use the Decreasing constraint with variables that are expressed as subclasses of IntVar.
The same applies to the following constructors:
public Decreasing(List<IntVar> x, boolean strict)
public Increasing(List<IntVar> x)
public Increasing(List<IntVar> x, boolean strict)
krzku commented
Done! Will be available in next release.