Class KNearestValue

java.lang.Object
com.artelys.kalis.KValueSelector
com.artelys.kalis.KNearestValue

public class KNearestValue extends KValueSelector
This class implements a value selector that selects the nearest value from
target in the domain of the variable.

Example :

KBranchingSchemeArray myBranchingSchemeArray;
myBranchingSchemeArray += KAssignVar(KSmallestDomain(), KNearestValue());


Since:
2016.1
See Also:
KValueSelector

  • Constructor Details

    • KNearestValue

      protected KNearestValue(long cPtr, boolean cMemoryOwn)
    • KNearestValue

      public KNearestValue()
      Default Constructor
    • KNearestValue

      public KNearestValue(KNearestValue nearestToCopy)
      Copy constructor
  • Method Details