private boolean isLocalMaximum ( double kdist , DBIDs neighbors , WritableDoubleDataStore kdists ) { for ( DBIDIter it = neighbors . iter ( ) ; it . valid ( ) ; it . advance ( ) ) { if ( kdists . doubleValue ( it ) < kdist ) { return false ; } } return true ; }
Test if a point is a local density maximum .