Class KNumValueSelector

java.lang.Object
com.artelys.kalis.KNumValueSelector
Direct Known Subclasses:
KNumMiddle, KNumNearestRelaxedValue, KNumNearestValue

public class KNumValueSelector extends Object
Abstract interface class for value selection heuristic
Since:
2016.1
See Also:
KMinToMax KMiddle KRandomValue KNearestValue
  • Field Details

    • swigCMemOwn

      protected transient boolean swigCMemOwn
  • Constructor Details

    • 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 Details

    • getCPtr

      protected static long getCPtr(KNumValueSelector obj)
    • finalize

      protected void finalize()
      Overrides:
      finalize in class 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 String getName()