Require triangulation and simplify automatic routing
Remove the dependency fallback and joint portal lane retry, make tiered search opt-in, and consolidate tests while adding low-length-cost routing boards.
This commit is contained in:
parent
1f098fd4ca
commit
7476209ef3
1 changed files with 222 additions and 446 deletions
|
|
@ -179,7 +179,7 @@ def _corridor(directory: Path) -> None:
|
|||
mesh = _Mesh(box(*problem.bounds), problem.static_obstacles, net.width / 2, problem.clearance)
|
||||
endpoints, leads = _endpoint_access(mesh, problem.nets, radius)
|
||||
selected = _plan_lane_assignments(
|
||||
mesh, problem.nets, endpoints, leads, bend_radius=radius, limit=options.topology.max_corridors, joint_net_ids=frozenset()
|
||||
mesh, problem.nets, endpoints, leads, bend_radius=radius, limit=options.topology.max_corridors,
|
||||
)[net.net_id][0]
|
||||
result = route(problem, options=options).results_by_net[net.net_id]
|
||||
assert result.is_valid
|
||||
|
|
|
|||
Loading…
Reference in a new issue