List of all members.
Constructor & Destructor Documentation
IG::Num::DistanceComparerVector::DistanceComparerVector |
( |
PointContainerVector |
referencePoint | ) |
[inline] |
Constructs a new vector comparer according to the distance to the reference point. Default methods for distance calculation is used.
- Parameters:
-
referencePoint | Reference points. |
IG::Num::DistanceComparerVector::DistanceComparerVector |
( |
PointContainerVector |
referencePoint, |
|
|
DistanceDelegate< IVector > |
distanceFunction |
|
) |
| [inline] |
Constructs a new comparer according to input distance to a reference poiont (type IVector).
- Parameters:
-
referencePoint | Reference point. Training elements are compared by their distance to this point. |
distanceFunction | Delegate used for calculation of distance between two points. |
immutable | If true then a copy of the reference point is stored internally rather than just its reference, so it can not be changed. |
IG::Num::DistanceComparerVector::DistanceComparerVector |
( |
PointContainerVector |
referencePoint, |
|
|
DistanceDelegate< IVector > |
distanceFunction, |
|
|
IVector |
lengthScales |
|
) |
| [inline] |
Constructs a new comparer according to input distance to a reference poiont (type IVector).
- Parameters:
-
referencePoint | Reference point. Training elements are compared by their distance to this point. |
distanceFunction | Delegate used for calculation of distance between two points. |
lengthScales | Vector of legth scales that defines how different co-ordinates are scaled by when calculating distances (this applies to the default length calculation function, ). |
immutable | If true then a copy of the reference point is stored internally rather than just its reference, so it can not be changed. |
Member Function Documentation
override void IG::Num::DistanceComparerVector::GetPointCoordinates |
( |
IVector |
pt, |
|
|
ref IVector |
coord |
|
) |
| [inline] |
Gets vector of coordinates of the specified point and stores it in the specified variable. Where the type of point object itself contains vector of coordinates, only reference is stored. The obtained vector should therefore not be modified in any way.
- Parameters:
-
pt | Point for which vector of coordinates is obtained. |
coord | Vector variable where extracted vector of coordinates is stored. |
The documentation for this class was generated from the following file: