public MakeRecipDistanceValueSource ( IShape queryShape ) : ValueSource | ||
queryShape | IShape | |
return | ValueSource |
c / (d + c)
where 'd' is the distance and 'c' is one tenth the distance to the farthest edge from the center. Thus the scores will be 1 for indexed points at the center of the query shape and as low as ~0.1 at its furthest edges. public MakeRecipDistanceValueSource ( IShape queryShape ) : ValueSource | ||
queryShape | IShape | |
return | ValueSource |