Package com.artelys.kalis
Class KNumValueSelector
- java.lang.Object
-
- com.artelys.kalis.KNumValueSelector
-
- Direct Known Subclasses:
KNumMiddle
,KNumNearestRelaxedValue
,KNumNearestValue
public class KNumValueSelector extends java.lang.Object
Abstract interface class for value selection heuristic- Since:
- 2016.1
- See Also:
KMinToMax KMiddle KRandomValue KNearestValue
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
swigCMemOwn
-
Constructor Summary
Constructors Modifier Constructor Description KNumValueSelector()
Constructorprotected
KNumValueSelector(long cPtr, boolean cMemoryOwn)
KNumValueSelector(KNumValueSelector toCopy)
Copy constructorKNumValueSelector(KProblem problem)
Constructor with KProblemKNumValueSelector(com.artelys.kalis.SWIGTYPE_p_KNumValueSelector_I numValueSelector)
Constructor with KNumValueSelector_I*KNumValueSelector(com.artelys.kalis.SWIGTYPE_p_KNumValueSelector_I numValueSelector, boolean manage)
Constructor with KNumValueSelector_I*
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete()
protected void
finalize()
KNumValueSelector
getCopyPtr()
protected static long
getCPtr(KNumValueSelector obj)
KNumValueSelector
getInstanceCopyPtr(KProblem problem)
java.lang.String
getName()
KProblem
getProblem()
void
printName()
double
selectNextValue(KNumVar intVar)
virtual method to overload with your own value selection heuristicprotected void
swigDirectorDisconnect()
void
swigReleaseOwnership()
void
swigTakeOwnership()
-
-
-
Constructor Detail
-
KNumValueSelector
protected KNumValueSelector(long cPtr, boolean cMemoryOwn)
-
KNumValueSelector
public KNumValueSelector()
Constructor
-
KNumValueSelector
public KNumValueSelector(KProblem problem)
Constructor with KProblem
-
KNumValueSelector
public KNumValueSelector(com.artelys.kalis.SWIGTYPE_p_KNumValueSelector_I numValueSelector, boolean manage)
Constructor with KNumValueSelector_I*
-
KNumValueSelector
public KNumValueSelector(com.artelys.kalis.SWIGTYPE_p_KNumValueSelector_I numValueSelector)
Constructor with KNumValueSelector_I*
-
KNumValueSelector
public KNumValueSelector(KNumValueSelector toCopy)
Copy constructor
-
-
Method Detail
-
getCPtr
protected static long getCPtr(KNumValueSelector obj)
-
finalize
protected void finalize()
- Overrides:
finalize
in classjava.lang.Object
-
delete
public void delete()
-
swigDirectorDisconnect
protected void swigDirectorDisconnect()
-
swigReleaseOwnership
public void swigReleaseOwnership()
-
swigTakeOwnership
public void swigTakeOwnership()
-
getProblem
public KProblem getProblem()
-
selectNextValue
public double selectNextValue(KNumVar intVar)
virtual method to overload with your own value selection heuristic- Parameters:
intVar
- the variable to selects a value for
-
getCopyPtr
public KNumValueSelector getCopyPtr()
-
getInstanceCopyPtr
public KNumValueSelector getInstanceCopyPtr(KProblem problem)
-
printName
public void printName()
-
getName
public java.lang.String getName()
-
-