Package com.artelys.kalis
Class KInputOrder
- java.lang.Object
-
- com.artelys.kalis.KVariableSelector
-
- com.artelys.kalis.KInputOrder
-
public class KInputOrder extends KVariableSelector
This class implements a variable selector that selects the first uninstantiated variable in the input order.
Example :
KBranchingSchemeArray myBranchingSchemeArray; myBranchingSchemeArray += KAssignVar(KInputOrder(),KMaxToMin());
- Since:
- 2016.1
- See Also:
KVariableSelector
-
-
Field Summary
-
Fields inherited from class com.artelys.kalis.KVariableSelector
swigCMemOwn
-
-
Constructor Summary
Constructors Modifier Constructor Description KInputOrder()
Constructorprotected
KInputOrder(long cPtr, boolean cMemoryOwn)
KInputOrder(KInputOrder inputOrderToCopy)
Copy constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
protected void
finalize()
KVariableSelector
getCopyPtr()
protected static long
getCPtr(KInputOrder obj)
KIntVar
selectNextVariable(KIntVarArray intVarArray)
return the first uninstantiated variable in the order of creation-
Methods inherited from class com.artelys.kalis.KVariableSelector
getCPtr, getInstanceCopyPtr, getName, getProblem, getVariableRank, printName, swigDirectorDisconnect, swigReleaseOwnership, swigTakeOwnership
-
-
-
-
Constructor Detail
-
KInputOrder
protected KInputOrder(long cPtr, boolean cMemoryOwn)
-
KInputOrder
public KInputOrder()
Constructor
-
KInputOrder
public KInputOrder(KInputOrder inputOrderToCopy)
Copy constructor
-
-
Method Detail
-
getCPtr
protected static long getCPtr(KInputOrder obj)
-
finalize
protected void finalize()
- Overrides:
finalize
in classKVariableSelector
-
delete
public void delete()
- Overrides:
delete
in classKVariableSelector
-
selectNextVariable
public KIntVar selectNextVariable(KIntVarArray intVarArray)
return the first uninstantiated variable in the order of creation- Overrides:
selectNextVariable
in classKVariableSelector
- Parameters:
intVarArray
- Array of variable from wich selecting a variable
-
getCopyPtr
public KVariableSelector getCopyPtr()
- Overrides:
getCopyPtr
in classKVariableSelector
-
-