Add conflict tracing and pair-local repair
This commit is contained in:
parent
71e263c527
commit
42e46c67e0
27 changed files with 6981 additions and 142 deletions
120
docs/frontier_trace.json
Normal file
120
docs/frontier_trace.json
Normal file
|
|
@ -0,0 +1,120 @@
|
|||
{
|
||||
"generated_at": "2026-04-02T14:24:39-07:00",
|
||||
"generator": "scripts/record_frontier_trace.py",
|
||||
"scenarios": [
|
||||
{
|
||||
"frontier_trace": [],
|
||||
"metrics": {
|
||||
"congestion_cache_hits": 31,
|
||||
"congestion_cache_misses": 4625,
|
||||
"congestion_candidate_ids": 9924,
|
||||
"congestion_candidate_nets": 9979,
|
||||
"congestion_candidate_precheck_hits": 2562,
|
||||
"congestion_candidate_precheck_misses": 2165,
|
||||
"congestion_candidate_precheck_skips": 71,
|
||||
"congestion_check_calls": 4625,
|
||||
"congestion_exact_pair_checks": 8122,
|
||||
"congestion_grid_net_cache_hits": 2457,
|
||||
"congestion_grid_net_cache_misses": 3942,
|
||||
"congestion_grid_span_cache_hits": 2283,
|
||||
"congestion_grid_span_cache_misses": 1948,
|
||||
"congestion_lazy_requeues": 0,
|
||||
"congestion_lazy_resolutions": 0,
|
||||
"congestion_net_envelope_cache_hits": 2673,
|
||||
"congestion_net_envelope_cache_misses": 4139,
|
||||
"congestion_presence_cache_hits": 2858,
|
||||
"congestion_presence_cache_misses": 2556,
|
||||
"congestion_presence_skips": 687,
|
||||
"danger_map_cache_hits": 16878,
|
||||
"danger_map_cache_misses": 7425,
|
||||
"danger_map_lookup_calls": 24303,
|
||||
"danger_map_query_calls": 7425,
|
||||
"danger_map_total_ns": 212814061,
|
||||
"dynamic_grid_rebuilds": 0,
|
||||
"dynamic_path_objects_added": 471,
|
||||
"dynamic_path_objects_removed": 423,
|
||||
"dynamic_tree_rebuilds": 0,
|
||||
"guidance_bonus_applied": 11000.0,
|
||||
"guidance_bonus_applied_bend90": 3500.0,
|
||||
"guidance_bonus_applied_sbend": 625.0,
|
||||
"guidance_bonus_applied_straight": 6875.0,
|
||||
"guidance_match_moves": 176,
|
||||
"guidance_match_moves_bend90": 56,
|
||||
"guidance_match_moves_sbend": 10,
|
||||
"guidance_match_moves_straight": 110,
|
||||
"hard_collision_cache_hits": 0,
|
||||
"iteration_conflict_edges": 39,
|
||||
"iteration_conflicting_nets": 36,
|
||||
"iteration_reverified_nets": 60,
|
||||
"iteration_reverify_calls": 6,
|
||||
"move_cache_abs_hits": 2559,
|
||||
"move_cache_abs_misses": 6494,
|
||||
"move_cache_rel_hits": 5872,
|
||||
"move_cache_rel_misses": 622,
|
||||
"moves_added": 8081,
|
||||
"moves_generated": 9053,
|
||||
"nets_carried_forward": 0,
|
||||
"nets_reached_target": 60,
|
||||
"nets_routed": 60,
|
||||
"nodes_expanded": 1764,
|
||||
"pair_local_search_accepts": 2,
|
||||
"pair_local_search_attempts": 2,
|
||||
"pair_local_search_nodes_expanded": 68,
|
||||
"pair_local_search_pairs_considered": 2,
|
||||
"path_cost_calls": 0,
|
||||
"pruned_closed_set": 439,
|
||||
"pruned_cost": 533,
|
||||
"pruned_hard_collision": 0,
|
||||
"ray_cast_calls": 5477,
|
||||
"ray_cast_calls_expand_forward": 1704,
|
||||
"ray_cast_calls_expand_snap": 46,
|
||||
"ray_cast_calls_other": 0,
|
||||
"ray_cast_calls_straight_static": 3721,
|
||||
"ray_cast_calls_visibility_build": 0,
|
||||
"ray_cast_calls_visibility_query": 0,
|
||||
"ray_cast_calls_visibility_tangent": 6,
|
||||
"ray_cast_candidate_bounds": 305,
|
||||
"ray_cast_exact_geometry_checks": 0,
|
||||
"refine_path_calls": 10,
|
||||
"refinement_candidate_side_extents": 0,
|
||||
"refinement_candidates_accepted": 0,
|
||||
"refinement_candidates_built": 0,
|
||||
"refinement_candidates_verified": 0,
|
||||
"refinement_dynamic_bounds_checked": 0,
|
||||
"refinement_static_bounds_checked": 0,
|
||||
"refinement_windows_considered": 0,
|
||||
"route_iterations": 6,
|
||||
"score_component_calls": 8634,
|
||||
"score_component_total_ns": 241025335,
|
||||
"static_net_tree_rebuilds": 1,
|
||||
"static_raw_tree_rebuilds": 1,
|
||||
"static_safe_cache_hits": 2482,
|
||||
"static_tree_rebuilds": 1,
|
||||
"timeout_events": 0,
|
||||
"verify_dynamic_candidate_nets": 2106,
|
||||
"verify_dynamic_exact_pair_checks": 558,
|
||||
"verify_path_report_calls": 190,
|
||||
"verify_static_buffer_ops": 895,
|
||||
"visibility_builds": 0,
|
||||
"visibility_corner_hits_exact": 0,
|
||||
"visibility_corner_index_builds": 1,
|
||||
"visibility_corner_pairs_checked": 0,
|
||||
"visibility_corner_queries_exact": 0,
|
||||
"visibility_point_cache_hits": 0,
|
||||
"visibility_point_cache_misses": 0,
|
||||
"visibility_point_queries": 0,
|
||||
"visibility_tangent_candidate_corner_checks": 6,
|
||||
"visibility_tangent_candidate_ray_tests": 6,
|
||||
"visibility_tangent_candidate_scans": 1704,
|
||||
"warm_start_paths_built": 0,
|
||||
"warm_start_paths_used": 0
|
||||
},
|
||||
"name": "example_07_large_scale_routing_no_warm_start",
|
||||
"summary": {
|
||||
"reached_targets": 10,
|
||||
"total_results": 10,
|
||||
"valid_results": 10
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue