Revision 27632
branches/v2_0_0_prep/libraries/libGeocoding/src/org/gvsig/geocoding/DataGeocoderImpl.java | ||
---|---|---|
268 | 268 |
* @return score |
269 | 269 |
*/ |
270 | 270 |
private double scorePonderated(int i, int total) { |
271 |
if(total==1){return 100.0;} |
|
271 | 272 |
double score = 100.0 / (2.0 * (i + 1)); |
272 | 273 |
return score; |
273 | 274 |
} |
Also available in: Unified diff