An interface for classes which compute the distance between two points (where points are represented as arrays of doubles).
IDistanceCalculator
01 Syntax
Microsoft.VisualBasic.DataMining.HDBSCAN.Distance.IDistanceCalculator`1
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| ComputeDistance | 1 | Computes the distance between two points. |
03 Members
ComputeDistance(
Int32, Int32, `0, `0)Computes the distance between two points. Note that larger values indicate that the two points are farther apart.
Parameters
| Name | Type | Description |
|---|---|---|
indexOne | Int32 | The index of the first attribute |
indexTwo | Int32 | The index of the second attribute |
attributesOne | `0 | The attributes of the first point |
attributesTwo | `0 | The attributes of the second point |
Returns
A double for the distance between the two points