Home
last modified time | relevance | path

Searched refs:best_index (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/flann/
H A Dhierarchical_clustering_index.h161 int best_index = -1; in chooseCentersGonzales() local
173 best_index = j; in chooseCentersGonzales()
176 if (best_index!=-1) { in chooseCentersGonzales()
177 centers[index] = dsindices[best_index]; in chooseCentersGonzales()
765 int best_index = 0; in findNN() local
766 … domain_distances[best_index] = distance(vec, dataset[node->childs[best_index]->pivot], veclen_); in findNN()
769 if (domain_distances[i]<domain_distances[best_index]) { in findNN()
770 best_index = i; in findNN()
774 if (i!=best_index) { in findNN()
779 findNN(node->childs[best_index],result,vec, checks, maxChecks, heap, checked); in findNN()
H A Dkmeans_index.h160 int best_index = -1; in chooseCentersGonzales() local
172 best_index = j; in chooseCentersGonzales()
175 if (best_index!=-1) { in chooseCentersGonzales()
176 centers[index] = indices[best_index]; in chooseCentersGonzales()
944 int best_index = 0; in exploreNodeBranches() local
945 domain_distances[best_index] = distance_(q, node->childs[best_index]->pivot, veclen_); in exploreNodeBranches()
948 if (domain_distances[i]<domain_distances[best_index]) { in exploreNodeBranches()
949 best_index = i; in exploreNodeBranches()
955 if (i != best_index) { in exploreNodeBranches()
966 return best_index; in exploreNodeBranches()
/OK3568_Linux_fs/kernel/drivers/power/supply/
H A Dpower_supply_core.c913 u8 i, best_index = 0; in power_supply_find_ocv2cap_table() local
927 best_index = i; in power_supply_find_ocv2cap_table()
931 *table_len = info->ocv_table_size[best_index]; in power_supply_find_ocv2cap_table()
932 return info->ocv_table[best_index]; in power_supply_find_ocv2cap_table()