Class KNumVariableSelector

java.lang.Object
com.artelys.kalis.KNumVariableSelector
Direct Known Subclasses:
KNumInputOrder, KNumLargestReducedCost, KNumSmallestDomain, KWidestDomain

public class KNumVariableSelector extends Object
Abstract interface class for variable selection heuristic.

Since:
2016.1
See Also:
KMaxDegree KSmallestMin KSmallestMax KLargestMin KLargestMax KRandomVariable KSmallestDomDegRatio KMaxRegretOnLowerBound KMaxRegretOnUpperBound
  • Field Details

    • swigCMemOwn

      protected transient boolean swigCMemOwn
  • Constructor Details

    • KNumVariableSelector

      protected KNumVariableSelector(long cPtr, boolean cMemoryOwn)
    • KNumVariableSelector

      public KNumVariableSelector()
      Constructor
    • KNumVariableSelector

      public KNumVariableSelector(KProblem problem)
      Constructor with KProblem
    • KNumVariableSelector

      public KNumVariableSelector(int minDomainSize)
    • KNumVariableSelector

      public KNumVariableSelector(com.artelys.kalis.SWIGTYPE_p_KNumVariableSelector_I numVariableSelector, boolean manage)
    • KNumVariableSelector

      public KNumVariableSelector(com.artelys.kalis.SWIGTYPE_p_KNumVariableSelector_I numVariableSelector)
    • KNumVariableSelector

      public KNumVariableSelector(KNumVariableSelector toCopy)
      Copy constructor
  • Method Details

    • getCPtr

      protected static long getCPtr(KNumVariableSelector 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()
    • setMinDomainSize

      public void setMinDomainSize(int minDomainSize)
    • selectNextVariable

      public KNumVar selectNextVariable(KNumVarArray numVarArray)
      virtual interface method to overload for definition of your own variable selection heuristics
    • getVariableRank

      public void getVariableRank(KNumVar varToRank, com.artelys.kalis.SWIGTYPE_p_double best, com.artelys.kalis.SWIGTYPE_p_p_KNumVar varResult, boolean first)
    • getCopyPtr

      public KNumVariableSelector getCopyPtr()
    • getInstanceCopyPtr

      public KNumVariableSelector getInstanceCopyPtr(KProblem problem)
    • printName

      public void printName()
    • getName

      public String getName()