KNearestNeighbor¶
-
class KNearestNeighbor : public KValueSelector¶
A nearest neighboor branching scheme based on a distance matrix.
Public Functions
-
KNearestNeighbor(KIntVarArray &successors, KIntMatrix &distanceMatrix)¶
Default Constructor with successors variable and distance matrix.
-
KNearestNeighbor(KIntVarArray &successors, KIntMatrix &distanceMatrix)¶