private void computeLRDs ( KNNQuery < O > knnq , DBIDs ids , WritableDoubleDataStore lrds ) { FiniteProgress lrdsProgress = LOG . isVerbose ( ) ? new FiniteProgress ( "Local Reachability Densities (LRD)" , ids . size ( ) , LOG ) : null ; double lrd ; for ( DBIDIter iter = ids . iter ( ) ; iter . valid ( ) ; iter . advance ( ) ) { lrd = computeLRD ( knnq , iter ) ; lrds . putDouble ( iter , lrd ) ; LOG . incrementProcessed ( lrdsProgress ) ; } LOG . ensureCompleted ( lrdsProgress ) ; }
Compute local reachability distances .