Class KValueSelector

java.lang.Object
com.artelys.kalis.KValueSelector
Direct Known Subclasses:
KBestBoundValue, KMaxToMin, KMiddle, KMinMaxConflict, KMinToMax, KNearestNeighbor, KNearestRelaxedValue, KNearestValue, KRandomValue

public class KValueSelector 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

    • KValueSelector

      protected KValueSelector(long cPtr, boolean cMemoryOwn)
    • KValueSelector

      public KValueSelector()
      Constructor
    • KValueSelector

      public KValueSelector(KProblem problem)
      Constructor with KProblem
    • KValueSelector

      public KValueSelector(com.artelys.kalis.SWIGTYPE_p_KValueSelector_I valueSelector, boolean manage)
    • KValueSelector

      public KValueSelector(com.artelys.kalis.SWIGTYPE_p_KValueSelector_I valueSelector)
    • KValueSelector

      public KValueSelector(KValueSelector toCopy)
      Copy constructor
  • Method Details

    • getCPtr

      protected static long getCPtr(KValueSelector 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()
      Return the current problem
    • selectNextValue

      public int selectNextValue(KIntVar intVar)
      Virtual method to overload with your own value selection heuristic.

      Parameters:
      intVar - the variable to selects a value for
    • getCopyPtr

      public KValueSelector getCopyPtr()
    • getInstanceCopyPtr

      public KValueSelector getInstanceCopyPtr(KProblem problem)
    • printName

      public void printName()
    • getName

      public String getName()