Class Distance provides functions for computing the distance between objects.

The Distance..::.PowerDistance type exposes the following members.

Constructors

  NameDescription
Distance..::.PowerDistanceOverloaded.

Methods

  NameDescription
Clone
Creates a deep copy of this PowerDistance.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetDistance
Returns the power distance between two data sets, using the current values of parameters p and r.
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
Function
Returns a Distance.Function delegate that encapsulates this.GetDistance.
P
Gets and sets the power for the power distance calculation.
R
Gets and sets the root for the power distance calculation.

See Also