Package com.artelys.kalis
Class KMaxToMin
- java.lang.Object
-
- com.artelys.kalis.KValueSelector
-
- com.artelys.kalis.KMaxToMin
-
public class KMaxToMin extends KValueSelector
This class implements a value selector that returns values in decreasing
order.
Example :
KBranchingSchemeArray bsa; bsa += KAssignVar(KSmallestDomain(), KMaxToMin();
- Since:
- 2016.1
- See Also:
KValueSelector
-
-
Field Summary
-
Fields inherited from class com.artelys.kalis.KValueSelector
swigCMemOwn
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
protected void
finalize()
KValueSelector
getCopyPtr()
protected static long
getCPtr(KMaxToMin obj)
java.lang.String
getName()
int
selectNextValue(KIntVar intVar)
get Next Value-
Methods inherited from class com.artelys.kalis.KValueSelector
getCPtr, getInstanceCopyPtr, getProblem, printName, swigDirectorDisconnect, swigReleaseOwnership, swigTakeOwnership
-
-
-
-
Constructor Detail
-
KMaxToMin
protected KMaxToMin(long cPtr, boolean cMemoryOwn)
-
KMaxToMin
public KMaxToMin()
Default Constructor
-
KMaxToMin
public KMaxToMin(KMaxToMin maxToMinToCopy)
Copy constructor
-
-
Method Detail
-
getCPtr
protected static long getCPtr(KMaxToMin obj)
-
finalize
protected void finalize()
- Overrides:
finalize
in classKValueSelector
-
delete
public void delete()
- Overrides:
delete
in classKValueSelector
-
selectNextValue
public int selectNextValue(KIntVar intVar)
get Next Value- Overrides:
selectNextValue
in classKValueSelector
- Parameters:
intVar
- the variable to selects a value for
-
getCopyPtr
public KValueSelector getCopyPtr()
- Overrides:
getCopyPtr
in classKValueSelector
-
getName
public java.lang.String getName()
- Overrides:
getName
in classKValueSelector
-
-