K-nearest-neighbor consistency in data clustering: incorporating local information into global optimization
pattern classification , 2nd edition .