Double [ ] function ( ) { Double [ ] loc0 = new Double [ mBeacons . length ] ; int loc1 = 0 ; for ( Beacon loc2 : mBeacons ) { loc0 [ loc1 ] = loc2 . getRank ( ) ; loc1 ++ ; } return loc0 ; }
returns a rank in the range 0 , 1.0 based on the beacon 's rssi . the highest rssi values approach a rank of 1.0 while the weakest ones approach 0.0 concode_field_sep Beacon[] mBeacons concode_elem_sep Helper mHelper concode_elem_sep String mTime concode_field_sep void applyDisplacement concode_elem_sep int power2dBm concode_elem_sep void setBeaconsFromScanResult concode_elem_sep String getTime concode_elem_sep void merge concode_elem_sep Beacon[] getBeacons concode_elem_sep double rankDistanceTo concode_elem_sep int getMaxRSSI concode_elem_sep void addBeaconsFromScanResult concode_elem_sep double dBm2Power concode_elem_sep void setBeacons concode_elem_sep int movingRSSIAvg