private int maximumFpRemove ( int [ ] h ) { int maxIndex = Integer . MIN_VALUE ; double maxValue = Double . MIN_VALUE ; for ( int i = 0 ; i < nbHash ; i ++ ) { double fpWeight = getWeight ( fpVector [ h [ i ] ] ) ; if ( fpWeight > maxValue ) { maxValue = fpWeight ; maxIndex = h [ i ] ; } } return maxIndex ; }
Chooses the bit position that maximizes the number of false positive removed .