ns_model.hpp File Reference
Include dependency graph for ns_model.hpp:

Go to the source code of this file.

Classes

class  LeafSizeNSWrapper< SortPolicy, TreeType, DualTreeTraversalType, SingleTreeTraversalType >
 LeafSizeNSWrapper wraps any NeighborSearch types that take a leaf size for tree construction. More...

 
class  NSModel< SortPolicy >
 The NSModel class provides an easy way to serialize a model, abstracts away the different types of trees, and also reflects the NeighborSearch API. More...

 
class  NSWrapper< SortPolicy, TreeType, DualTreeTraversalType, SingleTreeTraversalType >
 NSWrapper is a wrapper class for most NeighborSearch types. More...

 
class  NSWrapperBase
 NSWrapperBase is a base wrapper class for holding all NeighborSearch types supported by NSModel. More...

 
class  SpillNSWrapper< SortPolicy >
 The SpillNSWrapper class wraps the NeighborSearch class when the spill tree is used. More...

 

Namespaces

 mlpack
 
Linear algebra utility functions, generally performed on matrices or vectors.
 
 mlpack::neighbor
 

Detailed Description

Author
Ryan Curtin

This is a model for nearest or furthest neighbor search. It is useful in that it provides an easy way to serialize a model, abstracts away the different types of trees, and also (roughly) reflects the NeighborSearch API and automatically directs to the right tree type. It is meant to be used by the knn and kfn bindings.

mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-clause BSD license. You should have received a copy of the 3-clause BSD license along with mlpack. If not, see http://www.opensource.org/licenses/BSD-3-Clause for more information.

Definition in file ns_model.hpp.