Home
last modified time | relevance | path

Searched refs:current_distance (Results 1 – 5 of 5) sorted by relevance

/third_party/boost/libs/graph/test/
Dbfs.cpp35 : current_distance(0), distance(d), parent(p), color(c), src(s) in bfs_testing_visitor()
47 BOOST_TEST(distance[u] == current_distance in examine_vertex()
48 || distance[u] == current_distance + 1); in examine_vertex()
49 if (distance[u] == current_distance + 1) // new level in examine_vertex()
50 ++current_distance; in examine_vertex()
62 BOOST_TEST(distance[u] == current_distance + 1); in discover_vertex()
74 BOOST_TEST(distance[u] == current_distance); in tree_edge()
117 current_distance; member in bfs_testing_visitor
/third_party/boost/boost/geometry/algorithms/
Dline_interpolate.hpp104 Distance current_distance = 0; in apply() local
110 current_distance = prev_distance + dist; in apply()
112 while (current_distance >= repeated_distance) in apply()
115 Distance diff_distance = current_distance - prev_distance; in apply()
130 prev_distance = current_distance; in apply()
/third_party/python/Python/
Dsuggestions.c159 Py_ssize_t current_distance = in calculate_suggestions() local
162 if (current_distance > max_distance) { in calculate_suggestions()
165 if (!suggestion || current_distance < suggestion_distance) { in calculate_suggestions()
167 suggestion_distance = current_distance; in calculate_suggestions()
/third_party/boost/boost/graph/
Dboykov_kolmogorov_max_flow.hpp788 tDistanceVal current_distance = 0; in has_sink_connect() local
796 current_distance += get(m_dist_map, current_vertex); in has_sink_connect()
809 ++current_distance; in has_sink_connect()
820 put(m_dist_map, current_vertex, current_distance); in has_sink_connect()
821 --current_distance; in has_sink_connect()
836 tDistanceVal current_distance = 0; in has_source_connect() local
844 current_distance += get(m_dist_map, current_vertex); in has_source_connect()
857 ++current_distance; in has_source_connect()
868 put(m_dist_map, current_vertex, current_distance); in has_source_connect()
869 --current_distance; in has_source_connect()
/third_party/boost/libs/compute/example/
Dk_means.cpp82 float current_distance = 0; in main()
90 if(closest_cluster == -1 || distance_to_mean < current_distance){ in main()
91 current_distance = distance_to_mean; in main()