/dports/math/py-hdbscan/hdbscan-0.8.27/hdbscan/ |
H A D | _hdbscan_linkage.pyx | 86 cdef double new_distance 111 new_distance = DBL_MAX 131 if right_value < new_distance: 132 new_distance = right_value 145 if left_value < new_distance: 146 new_distance = left_value 149 if right_value < new_distance: 150 new_distance = right_value 155 result[i - 1, 2] = new_distance
|
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/toonzlib/ |
H A D | fillutil.cpp | 812 int curr_distance, new_distance; in searchForNearestSlave() local 830 new_distance < curr_distance && new_distance != 0) { in searchForNearestSlave() 831 curr_distance = new_distance; in searchForNearestSlave() 855 while (new_distance < curr_distance && new_distance > 0) { in searchForNearestSlave() 856 curr_distance = new_distance; in searchForNearestSlave() 866 } else if (new_distance != 0) in searchForNearestSlave() 913 int distance, s_next, new_distance; in dragSlave() local 921 (new_distance < distance || in dragSlave() 925 distance = new_distance; in dragSlave() 947 (new_distance < distance || in dragSlaveRev() [all …]
|
/dports/www/osrm-backend/osrm-backend-5.26.0/include/engine/trip/ |
H A D | trip_brute_force.hpp | 80 const auto new_distance = in BruteForceTrip() local 85 if (new_distance < min_route_dist) in BruteForceTrip() 87 min_route_dist = new_distance; in BruteForceTrip()
|
/dports/math/cgal/CGAL-5.3/include/CGAL/internal/Surface_mesh_segmentation/ |
H A D | K_means_clustering.h | 126 double new_distance = CGAL::square(centers.back() - points[j]); in plus_plus_initialization() local 127 if(new_distance < distance_square[j]) { in plus_plus_initialization() 128 distance_square[j] = new_distance; in plus_plus_initialization() 251 double new_distance = std::abs(centers[i].mean - data); in calculate_new_center() local 252 if(new_distance < min_distance) { in calculate_new_center() 254 min_distance = new_distance; in calculate_new_center()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/cc/input/ |
H A D | snap_fling_curve.cc | 101 double new_distance = GetCurrentCurveDistance(current_time); in GetScrollDelta() local 102 gfx::Vector2dF new_displacement(new_distance * ratio_x_, in GetScrollDelta() 103 new_distance * ratio_y_); in GetScrollDelta()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/cc/input/ |
H A D | snap_fling_curve.cc | 101 double new_distance = GetCurrentCurveDistance(current_time); in GetScrollDelta() local 102 gfx::Vector2dF new_displacement(new_distance * ratio_x_, in GetScrollDelta() 103 new_distance * ratio_y_); in GetScrollDelta()
|
/dports/math/py-grandalf/grandalf-0.7/grandalf/ |
H A D | routing.py | 49 def _gen_point(p1, p2, new_distance): argument 55 if distance > new_distance: 56 distance = distance - new_distance
|
/dports/misc/morse/morse-1.4-154-g53f9eaa8/src/morse/actuators/ |
H A D | gripper.py | 100 new_distance = self.bge_object.getDistanceTo(test_obj) 101 if new_distance < min_distance: 103 min_distance = new_distance
|
/dports/games/gracer/gracer-0.1.5/src/ |
H A D | glutwidgets.c | 339 int distance = 0, new_distance; in find_left_focusable_widget() local 353 if (candidate == NULL || distance > new_distance) { in find_left_focusable_widget() 355 distance = new_distance; in find_left_focusable_widget() 368 int distance = 0, new_distance; in find_right_focusable_widget() local 382 if (candidate == NULL || distance > new_distance) { in find_right_focusable_widget() 384 distance = new_distance; in find_right_focusable_widget() 397 int distance = 0, new_distance; in find_upper_focusable_widget() local 411 if (candidate == NULL || distance > new_distance) { in find_upper_focusable_widget() 413 distance = new_distance; in find_upper_focusable_widget() 426 int distance = 0, new_distance; in find_lower_focusable_widget() local [all …]
|
/dports/math/R-cran-influenceR/influenceR/src/ |
H A D | keyplayer-utils.c | 204 double * new_distance = (double *) malloc(n*k*sizeof(double)); in get_next_state_graph() local 205 if (! new_distance) { in get_next_state_graph() 214 BFS_single(graph, v, &new_distance[j*n]); in get_next_state_graph() 223 new_distance[X(j, a, n)] = this->distance[X(i, a, n)]; in get_next_state_graph() 227 BFS_single(graph, v, &new_distance[j*n]); in get_next_state_graph() 237 this->distance = new_distance; in get_next_state_graph()
|
/dports/games/supertuxkart/SuperTuxKart-1.2-src/src/tracks/ |
H A D | track_object_manager.cpp | 254 float new_distance = new_hit_point.distance(from); in castRay() local 257 if (new_distance < distance) in castRay() 262 distance = new_distance; in castRay()
|
H A D | drive_graph.cpp | 480 void DriveGraph::computeDistanceFromStart(unsigned int node, float new_distance) in computeDistanceFromStart() argument 494 if(current_distance<new_distance) in computeDistanceFromStart() 496 float delta = new_distance - current_distance; in computeDistanceFromStart() 504 dn->setDistanceFromStart(new_distance); in computeDistanceFromStart() 515 new_distance + dn->getDistanceToSuccessor(i)); in computeDistanceFromStart()
|
/dports/games/pink-pony/pink-pony-1.4.1/src/ |
H A D | LineList.cc | 85 float new_distance = in intersects() local 88 if (new_distance < distance) { in intersects() 89 distance = new_distance; in intersects()
|
/dports/cad/cura-engine/CuraEngine-fadb5d6b/src/utils/ |
H A D | MinimumSpanningTree.cpp | 78 const coord_t new_distance = vSize2(*closest_point - *point_and_distance.first); in prim() local 80 if (new_distance < old_distance) //New point is closer. in prim() 82 smallest_distance[point_and_distance.first] = new_distance; in prim()
|
/dports/misc/morse/morse-1.4-154-g53f9eaa8/src/morse/sensors/ |
H A D | search_and_rescue.py | 247 new_distance = self.bge_object.getDistanceTo(victim_obj) 248 if new_distance < self._nearest_distance: 250 self._nearest_distance = new_distance
|
/dports/www/osrm-backend/osrm-backend-5.26.0/src/engine/routing_algorithms/ |
H A D | many_to_many_ch.cpp | 133 auto new_distance = heapNode.data.distance + target_distance; in forwardRoutingStep() local 137 if (addLoopWeight(facade, heapNode.node, new_weight, new_duration, new_distance)) in forwardRoutingStep() 141 current_distance = std::min(current_distance, new_distance); in forwardRoutingStep() 149 current_distance = new_distance; in forwardRoutingStep()
|
/dports/devel/py-asciimatics/asciimatics-1.13.0/asciimatics/widgets/ |
H A D | layout.py | 266 new_distance = _euclidian_distance(target_widget, candidate) 267 if new_distance < best_distance: 268 best_distance = new_distance 305 new_distance = _euclidian_distance(current_widget, widget) 306 if new_distance < best_distance: 307 best_distance = new_distance
|
/dports/math/p5-GIS-Distance/GIS-Distance-0.19/author/ |
H A D | bench | 46 *Geo::Distance::new_distance = \&Geo::Distance::distance; 130 return $geo->new_distance( 'kilometer', @geo_coords );
|
/dports/audio/faust/faust-2.37.3/tools/physicalModeling/mesh2faust/vega/libraries/glui/glui-2.35/src/ |
H A D | viewmodel.cpp | 42 ViewModel::set_distance(const float new_distance) in set_distance() argument 44 if ( new_distance <= 0.0 ) /* Distance has to be positive */ in set_distance() 52 distance = new_distance; in set_distance()
|
/dports/devel/glui/glui-2.36/src/ |
H A D | viewmodel.cpp | 44 ViewModel::set_distance(const float new_distance) in set_distance() argument 46 if ( new_distance <= 0.0 ) /* Distance has to be positive */ in set_distance() 54 distance = new_distance; in set_distance()
|
/dports/cad/alliance/alliance/src/nero/src/ |
H A D | AAstar.cpp | 259 long new_distance, new_remains; in successors() local 377 new_distance = distance + cost + new_remains - point.manhattan (*NS.target); in successors() 384 || (pNodeAS->distance > new_distance) in successors() 385 || ( (pNodeAS->distance == new_distance) in successors() 389 pNodeAS->distance = new_distance; in successors()
|
/dports/graphics/reallyslick/rss-glx_0.9.1/src/PixelCity/ |
H A D | Camera.h | 10 void CameraDistanceSet (float new_distance);
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/hud/ |
H A D | hudtarget.cpp | 1329 float new_distance; in select_next_target_by_distance() local 2020 float new_distance; in evaluate_ship_as_closest_target() local 3509 float new_distance=0.0f; in hud_show_hostile_triangle() local 3568 min_distance=new_distance; in hud_show_hostile_triangle() 3590 min_distance=new_distance; in hud_show_hostile_triangle() 4855 float new_distance=0.0f; in hud_target_closest_repair_ship() local 4887 if (new_distance <= min_distance) { in hud_target_closest_repair_ship() 4888 min_distance=new_distance; in hud_target_closest_repair_ship() 4928 float new_distance = 0.0f; in hud_target_closest_uninspected_object() local 4950 if (new_distance <= min_distance) { in hud_target_closest_uninspected_object() [all …]
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/hud/ |
H A D | hudtarget.cpp | 1321 float new_distance; in select_next_target_by_distance() local 1372 minimum_distance = new_distance; in select_next_target_by_distance() 1377 maximum_distance = new_distance; in select_next_target_by_distance() 2075 float new_distance; in evaluate_ship_as_closest_target() local 3554 float new_distance=0.0f; in hud_show_hostile_triangle() local 3613 min_distance=new_distance; in hud_show_hostile_triangle() 3635 min_distance=new_distance; in hud_show_hostile_triangle() 4871 float new_distance=0.0f; in hud_target_closest_repair_ship() local 4904 min_distance=new_distance; in hud_target_closest_repair_ship() 4944 float new_distance = 0.0f; in hud_target_closest_uninspected_object() local [all …]
|
/dports/math/cgal/CGAL-5.3/include/CGAL/ |
H A D | Orthogonal_incremental_neighbor_search.h | 373 orthogonal_distance_instance.new_distance(copy_rd,dst,diff1,new_cut_dim); in Compute_the_next_nearest_neighbour() 385 new_rd=orthogonal_distance_instance.new_distance(copy_rd,dst,diff2,new_cut_dim); in Compute_the_next_nearest_neighbour() 439 orthogonal_distance_instance.new_distance(copy_rd,dst,diff1,new_cut_dim); in Compute_the_next_furthest_neighbour() 450 new_rd=orthogonal_distance_instance.new_distance(copy_rd,dst,diff2,new_cut_dim); in Compute_the_next_furthest_neighbour()
|