unmap.hpp
Go to the documentation of this file.00001
00022 #ifndef __MLPACK_METHODS_NEIGHBOR_SEARCH_UNMAP_HPP
00023 #define __MLPACK_METHODS_NEIGHBOR_SEARCH_UNMAP_HPP
00024
00025 #include <mlpack/core.hpp>
00026
00027 namespace mlpack {
00028 namespace neighbor {
00029
00045 void Unmap(const arma::Mat<size_t>& neighbors,
00046 const arma::mat& distances,
00047 const std::vector<size_t>& referenceMap,
00048 const std::vector<size_t>& queryMap,
00049 arma::Mat<size_t>& neighborsOut,
00050 arma::mat& distancesOut,
00051 const bool squareRoot = false);
00052
00066 void Unmap(const arma::Mat<size_t>& neighbors,
00067 const arma::mat& distances,
00068 const std::vector<size_t>& referenceMap,
00069 arma::Mat<size_t>& neighborsOut,
00070 arma::mat& distancesOut,
00071 const bool squareRoot = false);
00072
00073 };
00074 };
00075
00076 #endif