protected double kNNDistance ( ) { double result = getEntry ( 0 ) . getKnnDistance ( ) ; for ( int i = 1 ; i < getNumEntries ( ) ; i ++ ) { double knnDistance = getEntry ( i ) . getKnnDistance ( ) ; result = ( result < knnDistance ) ? knnDistance : result ; } return result ; }
Computes and returns the aggregated knn distance of this node