Lines Matching refs:Neighbors
41 const size_t Q, std::vector<size_t> &Neighbors) const { in rangeQuery()
42 Neighbors.clear(); in rangeQuery()
43 Neighbors.reserve(Points_.size() - 1); // The Q itself isn't a neighbor. in rangeQuery()
53 Neighbors.push_back(P); in rangeQuery()
130 std::vector<size_t> Neighbors; // Persistent buffer to avoid allocs. in clusterizeDbScan() local
134 rangeQuery(P, Neighbors); in clusterizeDbScan()
135 if (Neighbors.size() + 1 < MinPts) { // Density check. in clusterizeDbScan()
150 ToProcess.insert(Neighbors.begin(), Neighbors.end()); in clusterizeDbScan()
169 rangeQuery(Q, Neighbors); in clusterizeDbScan()
170 if (Neighbors.size() + 1 >= MinPts) { in clusterizeDbScan()
171 ToProcess.insert(Neighbors.begin(), Neighbors.end()); in clusterizeDbScan()