KNearestValue¶
-
class KNearestValue : public 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());
- See
- Since
2016.1
Public Functions
-
KNearestValue()¶
Default Constructor.
-
KNearestValue(const KNearestValue &nearestToCopy)¶
Copy constructor.
-
virtual ~KNearestValue()¶
Destructor.