Interface IDistance<P>
An abstract base class for the calculation of the distance of two entities (points, sequences etc.)
Namespace: SigStat.Common.Algorithms.Distances
Assembly: SigStat.Common.dll
Syntax
public interface IDistance<in P>Type Parameters
| Name | Description | 
|---|---|
| P | Entity type | 
Methods
| Improve this Doc View SourceCalculate(P, P)
Calculates the distance between the two parameters
Declaration
double Calculate(P p1, P p2)Parameters
| Type | Name | Description | 
|---|---|---|
| P | p1 | Firs parameter | 
| P | p2 | Second parameter | 
Returns
| Type | Description | 
|---|---|
| System.Double |