Preserve verify-only diagnostics and honor refinement objectives
This commit is contained in:
parent
f9ba5669dd
commit
2611085808
1 changed files with 188 additions and 29 deletions
|
|
@ -42,7 +42,7 @@ The fields below appear in constructor order. Use one layout unit for coordinate
|
|||
| `RoutingResult.is_valid` and `outcome` | `is_valid` is true when the outcome is `completed`. Read `outcome` to distinguish success, a failed geometry check (`colliding`), a path that stopped short (`partial`), or an empty path (`unroutable`). |
|
||||
| `RoutingResult.path` | Ordered path components from the source to the last reached state. An unroutable result has an empty path. |
|
||||
| `RoutingResult.reached_target` | Whether the path reached the target position and heading. With heading inference, the check uses the chosen heading. Read `is_valid` for the result of geometry verification. |
|
||||
| `RoutingResult.report` | `total_length` in layout units plus static, dynamic, and self-collision counts. `out_of_bounds` flags geometry outside the board. `discontinuous` flags missing or point-only joins, including at terminal faces. `invalid_geometry` flags invalid or empty physical polygons. |
|
||||
| `RoutingResult.report` | `total_length` in layout units plus static, dynamic, and self-collision counts. `out_of_bounds` flags geometry outside the board. `discontinuous` flags missing or point-only joins, including at terminal faces. `invalid_geometry` flags invalid or empty physical polygons. `seed_error` identifies a supplied bend that cannot carry the net's width. |
|
||||
| `RoutingResult.locked_geometry` and `as_seed()` | Physical polygons and the sequence of moves, respectively. Check validity before exporting polygons or using them as keepouts. |
|
||||
| `RoutingRunResult.automatic` | In automatic mode, the selected planner, verified IDs, stage history, and any capacity or port-conflict bound. `None` for explicit modes. |
|
||||
| `RoutingRunResult.topology` and `metrics` | Corridor counts and seed work when reported by the selected worker, plus work counters across the run. |
|
||||
|
|
@ -66,7 +66,7 @@ To read a route's polygons and write them to a test file, follow the [geometry e
|
|||
|
||||
| Field | Default | Effect |
|
||||
| --- | --- | --- |
|
||||
| `node_limit` | `1_000_000` | Nonnegative integer per-search expansion ceiling. Automatic uses smaller budgets for its initial stages. Zero skips search and corridor preparation and allows verification of supplied seeds. |
|
||||
| `node_limit` | `1_000_000` | Nonnegative integer per-search expansion ceiling. Automatic uses smaller budgets for its initial stages. Zero skips search and corridor preparation and verifies supplied seeds in one pass if congestion iterations are enabled. Disable refinement to inspect the unchanged seed geometry. |
|
||||
| `min_straight_length` | `5.0` | Finite, nonnegative minimum length for regular forward moves in lattice search. |
|
||||
| `max_straight_length` | `2000.0` | Finite, positive maximum distance for the forward scan in lattice search. |
|
||||
| `greedy_h_weight` | `1.5` | Finite, nonnegative weight on the estimated cost still needed to reach the target. Lower values give more influence to the cost of the path so far. |
|
||||
|
|
@ -117,7 +117,7 @@ Increase the iteration limit when later reroutes might resolve conflicts. Adjust
|
|||
| Field | Default | Effect |
|
||||
| --- | --- | --- |
|
||||
| `enabled` | `True` | Try geometric improvements after routing. |
|
||||
| `objective` | `None` | Use another `ObjectiveWeights` value for refinement, or reuse the search objective. |
|
||||
| `objective` | `None` | Use another `ObjectiveWeights` value for refinement, or reuse the search objective. When set, automatic mode uses this objective to compare a verified refinement with its incumbent on the same net set. `automatic_length_weights` still applies to planner selection. |
|
||||
| `max_windows_per_net` | `4` | Maximum number of path sections to try replacing per net across improvement rounds. Use `1` for a shorter pass or `None` to remove this limit. |
|
||||
|
||||
### TopologyOptions
|
||||
|
|
|
|||
Loading…
Reference in a new issue