MLPACK
1.0.4
|
00001 00024 #ifndef __MLPACK_NEIGHBOR_SEARCH_TYPEDEF_H 00025 #define __MLPACK_NEIGHBOR_SEARCH_TYPEDEF_H 00026 00027 // In case someone included this directly. 00028 #include "neighbor_search.hpp" 00029 00030 #include <mlpack/core/metrics/lmetric.hpp> 00031 00032 #include "sort_policies/nearest_neighbor_sort.hpp" 00033 #include "sort_policies/furthest_neighbor_sort.hpp" 00034 00035 namespace mlpack { 00036 namespace neighbor { 00037 00044 typedef NeighborSearch<NearestNeighborSort, metric::SquaredEuclideanDistance> 00045 AllkNN; 00046 00053 typedef NeighborSearch<FurthestNeighborSort, metric::SquaredEuclideanDistance> 00054 AllkFN; 00055 00056 }; // namespace neighbor 00057 }; // namespace mlpack 00058 00059 #endif