Reuse replay guidance and remove an unused visibility wrapper
This commit is contained in:
parent
d95eab6963
commit
591560949c
2 changed files with 1 additions and 5 deletions
|
|
@ -521,8 +521,7 @@ class PathFinder:
|
|||
pruned_cost=0,
|
||||
)
|
||||
|
||||
guidance_seed = result.as_seed().segments if result.path else None
|
||||
guidance_bonus = max(10.0, self.context.options.objective.bend_penalty * 0.25) if guidance_seed else 0.0
|
||||
guidance_seed, guidance_bonus = incumbent_guidance(result, self.context.options.objective.bend_penalty)
|
||||
collector = FrontierTraceCollector(hotspot_bounds=hotspot_bounds)
|
||||
run_config = SearchRunConfig.from_options(
|
||||
self.context.options,
|
||||
|
|
|
|||
|
|
@ -56,9 +56,6 @@ class VisibilityManager:
|
|||
if self._corner_graph_version != static_version:
|
||||
self._build_corner_graph()
|
||||
|
||||
def _ensure_current(self) -> None:
|
||||
self.ensure_corner_graph_current()
|
||||
|
||||
def _build_corner_index(self) -> None:
|
||||
if self.collision_engine.metrics is not None:
|
||||
self.collision_engine.metrics.total_visibility_corner_index_builds += 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue