mnncorrect
Batch correction with mutual nearest neighbors
Loading...
Searching...
No Matches
utils.hpp
Go to the documentation of this file.
1#ifndef MNNCORRECT_UTILS_HPP
2#define MNNCORRECT_UTILS_HPP
3
4#include <vector>
5#include <limits>
6#include <type_traits>
7#include <algorithm>
8#include <cstddef>
9
15namespace mnncorrect {
16
20typedef std::size_t BatchIndex;
21
38enum class ReferencePolicy : char { INPUT, MAX_SIZE, MAX_VARIANCE, MAX_RSS };
39
43namespace internal {
44
45template<typename Index_, typename Distance_>
46using NeighborSet = std::vector<std::vector<std::pair<Index_, Distance_> > >;
47
48}
53}
54
55#endif
Batch correction with mutual nearest neighbors.
Definition compute.hpp:24
ReferencePolicy
Definition utils.hpp:38
std::size_t BatchIndex
Definition utils.hpp:20