VPTree Class |
Namespace: Accord.Collections
The VPTree type exposes the following members.
Name | Description | |
---|---|---|
VPTree |
Initializes a new instance of the VPTree class.
| |
VPTree(IDistance) |
Initializes a new instance of the VPTree class.
|
Name | Description | |
---|---|---|
Distance |
Gets or set the distance function used to
measure distances amongst points on this tree
(Inherited from VPTreeBaseTPoint, TNode.) | |
Radius |
Gets or sets the radius of the nodes in the tree.
(Inherited from VPTreeBaseTPoint, TNode.) | |
Root |
Gets the root node of this tree.
(Inherited from BinaryTreeTNode.) |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FromData(Double, Boolean) |
Creates a new vantage-point tree from the given points.
| |
FromData(Double, Boolean) |
Creates a new vantage-point tree from the given points.
| |
FromData(Double, IDistance, Boolean) |
Creates a new vantage-point tree from the given points.
| |
FromDataTData(Double, TData, Boolean) |
Creates a new vantage-point tree from the given points.
| |
FromDataTPoint(TPoint, IDistanceTPoint, Boolean) |
Creates a new vantage-point tree from the given points.
| |
FromDataTPoint, TData(TPoint, TData, IDistanceTPoint, Boolean) |
Creates a new vantage-point tree from the given points.
| |
GetEnumerator |
Returns an enumerator that iterates through the tree.
(Inherited from BinaryTreeTNode.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Nearest(TPoint, Int32) |
Retrieves a fixed point of nearest points to a given point.
(Inherited from VPTreeBaseTPoint, TNode.) | |
Nearest(TPoint, Int32, ListNodeDistanceTNode) |
Retrieves a fixed point of nearest points to a given point.
(Inherited from VPTreeBaseTPoint, TNode.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Traverse |
Traverse the tree using a tree traversal
method. Can be iterated with a foreach loop.
(Inherited from BinaryTreeTNode.) |
Name | Description | |
---|---|---|
HasMethod |
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.) | |
IsEqual |
Compares two objects for equality, performing an elementwise
comparison if the elements are vectors or matrices.
(Defined by Matrix.) | |
To(Type) | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) | |
ToT | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) |