Package com.artelys.kalis
Class KPathOrder
- java.lang.Object
-
- com.artelys.kalis.KVariableSelector
-
- com.artelys.kalis.KPathOrder
-
public class KPathOrder extends KVariableSelector
A variable selector based on a path order.
The initial successor is chosen randomly. Then, the following chosen
variable will the designated successor in the previous branching choice.
- Since:
- 2016.1
- See Also:
KVariableSelector
-
-
Field Summary
-
Fields inherited from class com.artelys.kalis.KVariableSelector
swigCMemOwn
-
-
Constructor Summary
Constructors Modifier Constructor Description KPathOrder()
protected
KPathOrder(long cPtr, boolean cMemoryOwn)
KPathOrder(KIntVarArray successors)
KPathOrder(KIntVarArray successors, KIntMatrix distanceMatrix)
ConstructorKPathOrder(KPathOrder toCopy)
Copy constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
protected void
finalize()
KVariableSelector
getCopyPtr()
return the first uninstantiated variable in the order of creationprotected static long
getCPtr(KPathOrder obj)
-
Methods inherited from class com.artelys.kalis.KVariableSelector
getCPtr, getInstanceCopyPtr, getName, getProblem, getVariableRank, printName, selectNextVariable, swigDirectorDisconnect, swigReleaseOwnership, swigTakeOwnership
-
-
-
-
Constructor Detail
-
KPathOrder
protected KPathOrder(long cPtr, boolean cMemoryOwn)
-
KPathOrder
public KPathOrder()
-
KPathOrder
public KPathOrder(KIntVarArray successors)
-
KPathOrder
public KPathOrder(KIntVarArray successors, KIntMatrix distanceMatrix)
Constructor
-
KPathOrder
public KPathOrder(KPathOrder toCopy)
Copy constructor
-
-
Method Detail
-
getCPtr
protected static long getCPtr(KPathOrder obj)
-
finalize
protected void finalize()
- Overrides:
finalize
in classKVariableSelector
-
delete
public void delete()
- Overrides:
delete
in classKVariableSelector
-
getCopyPtr
public KVariableSelector getCopyPtr()
return the first uninstantiated variable in the order of creation- Overrides:
getCopyPtr
in classKVariableSelector
-
-