Interface IMetric<TSelf>
Interface defining a method computing the distance between two elements.
Namespace: BRIDGES.Algebra.Measure
Assembly: BRIDGES.dll
Syntax
public interface IMetric<TSelf>
Type Parameters
Name | Description |
---|---|
TSelf | Type of the elements in the metric set. |
Methods
| Improve this Doc View SourceDistanceTo(TSelf)
Computes the distance of this element to another element.
Declaration
double DistanceTo(TSelf other)
Parameters
Type | Name | Description |
---|---|---|
TSelf | other | Element to evaluate the distance to. |
Returns
Type | Description |
---|---|
Double | The value of the distance between the two elements. |