Method MakeRecipDistanceValueSource
MakeRecipDistanceValueSource(IShape)
Returns a ValueSource with values ranging from 1 to 0, depending inversely
on the distance from MakeDistanceValueSource(IPoint).
The formula is 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.
Declaration
public ValueSource MakeRecipDistanceValueSource(IShape queryShape)
Parameters
Type |
Name |
Description |
IShape |
queryShape |
|
Returns