@tscircuit/capacity-autorouter 0.0.726 → 0.0.727

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -2,7 +2,7 @@ import { RectDiffPipeline } from '@tscircuit/rectdiff';
2
2
  import { ConnectivityMap } from 'circuit-json-to-connectivity-map';
3
3
  import * as graphics_debug from 'graphics-debug';
4
4
  import { GraphicsObject, Rect, Circle, Line, Point as Point$5 } from 'graphics-debug';
5
- import { BaseSolver as BaseSolver$1, BasePipelineSolver, PipelineStep as PipelineStep$a } from '@tscircuit/solver-utils';
5
+ import { BaseSolver as BaseSolver$1, BasePipelineSolver, PipelineStep as PipelineStep$b } from '@tscircuit/solver-utils';
6
6
  import { HighDensitySolverA03, NodeWithPortPoints as NodeWithPortPoints$1 } from '@tscircuit/high-density-a01';
7
7
  import Flatbush from 'flatbush';
8
8
  import { Point3, Polygon } from '@tscircuit/math-utils';
@@ -895,6 +895,12 @@ declare class UniformPortDistributionSolver extends BaseSolver$1 {
895
895
  visualize(): GraphicsObject;
896
896
  }
897
897
 
898
+ interface PreloadedTracePortAssignment {
899
+ traceId: string;
900
+ fixedNetId: string;
901
+ routePosition: number;
902
+ z: number;
903
+ }
898
904
  interface SegmentPortPoint {
899
905
  segmentPortPointId: string;
900
906
  x: number;
@@ -914,6 +920,10 @@ interface SegmentPortPoint {
914
920
  cramped: boolean;
915
921
  /** Extra tiny-hypergraph traversal cost for fallback ports. */
916
922
  tinyHypergraphPortPenalty?: number;
923
+ /** Canonical fixed-net ids loaded onto this existing graph port. */
924
+ _preloadedFixedNetIds?: string[];
925
+ /** Ordered crossings used to create serialized graph assignments. */
926
+ _preloadedTracePortAssignments?: PreloadedTracePortAssignment[];
917
927
  }
918
928
  interface SharedEdgeSegment {
919
929
  edgeId: string;
@@ -2668,13 +2678,13 @@ declare class TraceWidthSolver extends BaseSolver {
2668
2678
  getHdRoutesWithWidths(): HighDensityRoute$1[];
2669
2679
  }
2670
2680
 
2671
- interface CapacityMeshSolverOptions$9 {
2681
+ interface CapacityMeshSolverOptions$a {
2672
2682
  capacityDepth?: number;
2673
2683
  targetMinCapacity?: number;
2674
2684
  cacheProvider?: CacheProvider | null;
2675
2685
  effort?: number;
2676
2686
  }
2677
- type PipelineStep$9<T extends new (...args: any[]) => BaseSolver> = {
2687
+ type PipelineStep$a<T extends new (...args: any[]) => BaseSolver> = {
2678
2688
  solverName: string;
2679
2689
  solverClass: T;
2680
2690
  getConstructorParams: (instance: AutoroutingPipelineSolver2_PortPointPathing) => ConstructorParameters<T>;
@@ -2682,7 +2692,7 @@ type PipelineStep$9<T extends new (...args: any[]) => BaseSolver> = {
2682
2692
  };
2683
2693
  declare class AutoroutingPipelineSolver2_PortPointPathing extends BaseSolver {
2684
2694
  readonly srj: SimpleRouteJson;
2685
- readonly opts: CapacityMeshSolverOptions$9;
2695
+ readonly opts: CapacityMeshSolverOptions$a;
2686
2696
  getSolverName(): string;
2687
2697
  netToPointPairsSolver?: NetToPointPairsSolver;
2688
2698
  nodeSolver?: RectDiffPipeline;
@@ -2713,9 +2723,9 @@ declare class AutoroutingPipelineSolver2_PortPointPathing extends BaseSolver {
2713
2723
  capacityEdges: CapacityMeshEdge[] | null;
2714
2724
  inputNodeWithPortPoints: InputNodeWithPortPoints[];
2715
2725
  cacheProvider: CacheProvider | null;
2716
- pipelineDef: (PipelineStep$9<typeof NetToPointPairsSolver2_OffBoardConnection> | PipelineStep$9<typeof RectDiffPipeline> | PipelineStep$9<typeof CapacityMeshEdgeSolver2_NodeTreeOptimization> | PipelineStep$9<typeof AvailableSegmentPointSolver> | PipelineStep$9<typeof HyperPortPointPathingSolver> | PipelineStep$9<typeof MultiSectionPortPointOptimizer> | PipelineStep$9<typeof UniformPortDistributionSolver> | PipelineStep$9<typeof HighDensitySolver> | PipelineStep$9<typeof MultipleHighDensityRouteStitchSolver> | PipelineStep$9<typeof TraceSimplificationSolver> | PipelineStep$9<typeof TraceWidthSolver>)[];
2717
- constructor(srj: SimpleRouteJson, opts?: CapacityMeshSolverOptions$9);
2718
- getConstructorParams(): readonly [SimpleRouteJson, CapacityMeshSolverOptions$9];
2726
+ pipelineDef: (PipelineStep$a<typeof NetToPointPairsSolver2_OffBoardConnection> | PipelineStep$a<typeof RectDiffPipeline> | PipelineStep$a<typeof CapacityMeshEdgeSolver2_NodeTreeOptimization> | PipelineStep$a<typeof AvailableSegmentPointSolver> | PipelineStep$a<typeof HyperPortPointPathingSolver> | PipelineStep$a<typeof MultiSectionPortPointOptimizer> | PipelineStep$a<typeof UniformPortDistributionSolver> | PipelineStep$a<typeof HighDensitySolver> | PipelineStep$a<typeof MultipleHighDensityRouteStitchSolver> | PipelineStep$a<typeof TraceSimplificationSolver> | PipelineStep$a<typeof TraceWidthSolver>)[];
2727
+ constructor(srj: SimpleRouteJson, opts?: CapacityMeshSolverOptions$a);
2728
+ getConstructorParams(): readonly [SimpleRouteJson, CapacityMeshSolverOptions$a];
2719
2729
  currentPipelineStepIndex: number;
2720
2730
  _step(): void;
2721
2731
  solveUntilPhase(phase: string): void;
@@ -3704,12 +3714,12 @@ declare class UnravelMultiSectionSolver extends BaseSolver {
3704
3714
  getNodesWithPortPoints(): NodeWithPortPoints[];
3705
3715
  }
3706
3716
 
3707
- interface CapacityMeshSolverOptions$8 {
3717
+ interface CapacityMeshSolverOptions$9 {
3708
3718
  capacityDepth?: number;
3709
3719
  targetMinCapacity?: number;
3710
3720
  cacheProvider?: CacheProvider | null;
3711
3721
  }
3712
- type PipelineStep$8<T extends new (...args: any[]) => BaseSolver> = {
3722
+ type PipelineStep$9<T extends new (...args: any[]) => BaseSolver> = {
3713
3723
  solverName: string;
3714
3724
  solverClass: T;
3715
3725
  getConstructorParams: (instance: AutoroutingPipeline1_OriginalUnravel) => ConstructorParameters<T>;
@@ -3717,7 +3727,7 @@ type PipelineStep$8<T extends new (...args: any[]) => BaseSolver> = {
3717
3727
  };
3718
3728
  declare class AutoroutingPipeline1_OriginalUnravel extends BaseSolver {
3719
3729
  readonly srj: SimpleRouteJson;
3720
- readonly opts: CapacityMeshSolverOptions$8;
3730
+ readonly opts: CapacityMeshSolverOptions$9;
3721
3731
  getSolverName(): string;
3722
3732
  netToPointPairsSolver?: NetToPointPairsSolver;
3723
3733
  nodeSolver?: CapacityMeshNodeSolver;
@@ -3747,9 +3757,9 @@ declare class AutoroutingPipeline1_OriginalUnravel extends BaseSolver {
3747
3757
  capacityNodes: CapacityMeshNode[] | null;
3748
3758
  capacityEdges: CapacityMeshEdge[] | null;
3749
3759
  cacheProvider: CacheProvider | null;
3750
- pipelineDef: (PipelineStep$8<typeof NetToPointPairsSolver2_OffBoardConnection> | PipelineStep$8<typeof CapacityMeshNodeSolver2_NodeUnderObstacle> | PipelineStep$8<typeof SingleLayerNodeMergerSolver> | PipelineStep$8<typeof StrawSolver> | PipelineStep$8<typeof CapacityMeshEdgeSolver2_NodeTreeOptimization> | PipelineStep$8<typeof DeadEndSolver> | PipelineStep$8<typeof CapacityPathingGreedySolver> | PipelineStep$8<typeof CapacityPathingMultiSectionSolver> | PipelineStep$8<typeof CapacityEdgeToPortSegmentSolver> | PipelineStep$8<typeof CapacitySegmentToPointSolver> | PipelineStep$8<typeof UnravelMultiSectionSolver> | PipelineStep$8<typeof HighDensitySolver> | PipelineStep$8<typeof NoOffBoardMultipleHighDensityRouteStitchSolver> | PipelineStep$8<typeof TraceSimplificationSolver>)[];
3751
- constructor(srj: SimpleRouteJson, opts?: CapacityMeshSolverOptions$8);
3752
- getConstructorParams(): readonly [SimpleRouteJson, CapacityMeshSolverOptions$8];
3760
+ pipelineDef: (PipelineStep$9<typeof NetToPointPairsSolver2_OffBoardConnection> | PipelineStep$9<typeof CapacityMeshNodeSolver2_NodeUnderObstacle> | PipelineStep$9<typeof SingleLayerNodeMergerSolver> | PipelineStep$9<typeof StrawSolver> | PipelineStep$9<typeof CapacityMeshEdgeSolver2_NodeTreeOptimization> | PipelineStep$9<typeof DeadEndSolver> | PipelineStep$9<typeof CapacityPathingGreedySolver> | PipelineStep$9<typeof CapacityPathingMultiSectionSolver> | PipelineStep$9<typeof CapacityEdgeToPortSegmentSolver> | PipelineStep$9<typeof CapacitySegmentToPointSolver> | PipelineStep$9<typeof UnravelMultiSectionSolver> | PipelineStep$9<typeof HighDensitySolver> | PipelineStep$9<typeof NoOffBoardMultipleHighDensityRouteStitchSolver> | PipelineStep$9<typeof TraceSimplificationSolver>)[];
3761
+ constructor(srj: SimpleRouteJson, opts?: CapacityMeshSolverOptions$9);
3762
+ getConstructorParams(): readonly [SimpleRouteJson, CapacityMeshSolverOptions$9];
3753
3763
  currentPipelineStepIndex: number;
3754
3764
  _step(): void;
3755
3765
  solveUntilPhase(phase: string): void;
@@ -4454,13 +4464,13 @@ declare class SimpleHighDensitySolver extends BaseSolver {
4454
4464
  visualize(): GraphicsObject;
4455
4465
  }
4456
4466
 
4457
- interface CapacityMeshSolverOptions$7 {
4467
+ interface CapacityMeshSolverOptions$8 {
4458
4468
  capacityDepth?: number;
4459
4469
  targetMinCapacity?: number;
4460
4470
  cacheProvider?: CacheProvider | null;
4461
4471
  effort?: number;
4462
4472
  }
4463
- type PipelineStep$7<T extends new (...args: any[]) => BaseSolver> = {
4473
+ type PipelineStep$8<T extends new (...args: any[]) => BaseSolver> = {
4464
4474
  solverName: string;
4465
4475
  solverClass: T;
4466
4476
  getConstructorParams: (instance: AssignableAutoroutingPipeline2) => ConstructorParameters<T>;
@@ -4468,7 +4478,7 @@ type PipelineStep$7<T extends new (...args: any[]) => BaseSolver> = {
4468
4478
  };
4469
4479
  declare class AssignableAutoroutingPipeline2 extends BaseSolver {
4470
4480
  readonly srj: SimpleRouteJson;
4471
- readonly opts: CapacityMeshSolverOptions$7;
4481
+ readonly opts: CapacityMeshSolverOptions$8;
4472
4482
  getSolverName(): string;
4473
4483
  netToPointPairsSolver?: NetToPointPairsSolver;
4474
4484
  nodeSolver?: RectDiffPipeline;
@@ -4503,9 +4513,9 @@ declare class AssignableAutoroutingPipeline2 extends BaseSolver {
4503
4513
  capacityNodes: CapacityMeshNode[] | null;
4504
4514
  capacityEdges: CapacityMeshEdge[] | null;
4505
4515
  cacheProvider: CacheProvider | null;
4506
- pipelineDef: (PipelineStep$7<typeof NetToPointPairsSolver> | PipelineStep$7<typeof RectDiffPipeline> | PipelineStep$7<typeof RelateNodesToOffBoardConnectionsSolver> | PipelineStep$7<typeof CapacityMeshEdgeSolver2_NodeTreeOptimization> | PipelineStep$7<typeof AvailableSegmentPointSolver> | PipelineStep$7<typeof HyperPortPointPathingSolver> | PipelineStep$7<typeof MultiSectionPortPointOptimizer> | PipelineStep$7<typeof SimpleHighDensitySolver> | PipelineStep$7<typeof MultipleHighDensityRouteStitchSolver> | PipelineStep$7<typeof TraceSimplificationSolver> | PipelineStep$7<typeof TraceKeepoutSolver> | PipelineStep$7<typeof TraceWidthSolver>)[];
4507
- constructor(srj: SimpleRouteJson, opts?: CapacityMeshSolverOptions$7);
4508
- getConstructorParams(): readonly [SimpleRouteJson, CapacityMeshSolverOptions$7];
4516
+ pipelineDef: (PipelineStep$8<typeof NetToPointPairsSolver> | PipelineStep$8<typeof RectDiffPipeline> | PipelineStep$8<typeof RelateNodesToOffBoardConnectionsSolver> | PipelineStep$8<typeof CapacityMeshEdgeSolver2_NodeTreeOptimization> | PipelineStep$8<typeof AvailableSegmentPointSolver> | PipelineStep$8<typeof HyperPortPointPathingSolver> | PipelineStep$8<typeof MultiSectionPortPointOptimizer> | PipelineStep$8<typeof SimpleHighDensitySolver> | PipelineStep$8<typeof MultipleHighDensityRouteStitchSolver> | PipelineStep$8<typeof TraceSimplificationSolver> | PipelineStep$8<typeof TraceKeepoutSolver> | PipelineStep$8<typeof TraceWidthSolver>)[];
4517
+ constructor(srj: SimpleRouteJson, opts?: CapacityMeshSolverOptions$8);
4518
+ getConstructorParams(): readonly [SimpleRouteJson, CapacityMeshSolverOptions$8];
4509
4519
  currentPipelineStepIndex: number;
4510
4520
  _step(): void;
4511
4521
  solveUntilPhase(phase: string): void;
@@ -4598,13 +4608,13 @@ declare class MultipleHighDensityRouteStitchSolver2 extends BaseSolver {
4598
4608
  visualize(): GraphicsObject;
4599
4609
  }
4600
4610
 
4601
- interface CapacityMeshSolverOptions$6 {
4611
+ interface CapacityMeshSolverOptions$7 {
4602
4612
  capacityDepth?: number;
4603
4613
  targetMinCapacity?: number;
4604
4614
  cacheProvider?: CacheProvider | null;
4605
4615
  effort?: number;
4606
4616
  }
4607
- type PipelineStep$6<T extends new (...args: any[]) => BaseSolver> = {
4617
+ type PipelineStep$7<T extends new (...args: any[]) => BaseSolver> = {
4608
4618
  solverName: string;
4609
4619
  solverClass: T;
4610
4620
  getConstructorParams: (instance: AssignableAutoroutingPipeline3) => ConstructorParameters<T>;
@@ -4612,7 +4622,7 @@ type PipelineStep$6<T extends new (...args: any[]) => BaseSolver> = {
4612
4622
  };
4613
4623
  declare class AssignableAutoroutingPipeline3 extends BaseSolver {
4614
4624
  readonly srj: SimpleRouteJson;
4615
- readonly opts: CapacityMeshSolverOptions$6;
4625
+ readonly opts: CapacityMeshSolverOptions$7;
4616
4626
  getSolverName(): string;
4617
4627
  netToPointPairsSolver?: NetToPointPairsSolver;
4618
4628
  traceKeepoutSolver?: TraceKeepoutSolver;
@@ -4647,9 +4657,9 @@ declare class AssignableAutoroutingPipeline3 extends BaseSolver {
4647
4657
  capacityNodes: CapacityMeshNode[] | null;
4648
4658
  capacityEdges: CapacityMeshEdge[] | null;
4649
4659
  cacheProvider: CacheProvider | null;
4650
- pipelineDef: (PipelineStep$6<typeof NetToPointPairsSolver> | PipelineStep$6<typeof RectDiffPipeline> | PipelineStep$6<typeof RelateNodesToOffBoardConnectionsSolver> | PipelineStep$6<typeof CapacityMeshEdgeSolver2_NodeTreeOptimization> | PipelineStep$6<typeof AvailableSegmentPointSolver> | PipelineStep$6<typeof HyperPortPointPathingSolver> | PipelineStep$6<typeof JumperHighDensitySolver> | PipelineStep$6<typeof MultipleHighDensityRouteStitchSolver2> | PipelineStep$6<typeof TraceKeepoutSolver>)[];
4651
- constructor(srj: SimpleRouteJson, opts?: CapacityMeshSolverOptions$6);
4652
- getConstructorParams(): readonly [SimpleRouteJson, CapacityMeshSolverOptions$6];
4660
+ pipelineDef: (PipelineStep$7<typeof NetToPointPairsSolver> | PipelineStep$7<typeof RectDiffPipeline> | PipelineStep$7<typeof RelateNodesToOffBoardConnectionsSolver> | PipelineStep$7<typeof CapacityMeshEdgeSolver2_NodeTreeOptimization> | PipelineStep$7<typeof AvailableSegmentPointSolver> | PipelineStep$7<typeof HyperPortPointPathingSolver> | PipelineStep$7<typeof JumperHighDensitySolver> | PipelineStep$7<typeof MultipleHighDensityRouteStitchSolver2> | PipelineStep$7<typeof TraceKeepoutSolver>)[];
4661
+ constructor(srj: SimpleRouteJson, opts?: CapacityMeshSolverOptions$7);
4662
+ getConstructorParams(): readonly [SimpleRouteJson, CapacityMeshSolverOptions$7];
4653
4663
  currentPipelineStepIndex: number;
4654
4664
  _step(): void;
4655
4665
  solveUntilPhase(phase: string): void;
@@ -4759,6 +4769,8 @@ type RawPort = {
4759
4769
  cramped?: boolean;
4760
4770
  regions: RegionHg[];
4761
4771
  tinyHypergraphPortPenalty?: number;
4772
+ _preloadedFixedNetIds?: string[];
4773
+ _preloadedTracePortAssignments?: PreloadedTracePortAssignment[];
4762
4774
  };
4763
4775
  type RegionPortHg = Omit<RegionPort, "d" | "port"> & {
4764
4776
  d: RawPort;
@@ -4899,13 +4911,13 @@ declare class HgPortPointPathingSolver extends HyperGraphSolver<RegionHg, Region
4899
4911
  private visualizePfOverlay;
4900
4912
  }
4901
4913
 
4902
- interface CapacityMeshSolverOptions$5 {
4914
+ interface CapacityMeshSolverOptions$6 {
4903
4915
  capacityDepth?: number;
4904
4916
  targetMinCapacity?: number;
4905
4917
  cacheProvider?: CacheProvider | null;
4906
4918
  effort?: number;
4907
4919
  }
4908
- type PipelineStep$5<T extends new (...args: any[]) => BaseSolver> = {
4920
+ type PipelineStep$6<T extends new (...args: any[]) => BaseSolver> = {
4909
4921
  solverName: string;
4910
4922
  solverClass: T;
4911
4923
  getConstructorParams: (instance: AutoroutingPipelineSolver3_HgPortPointPathing) => ConstructorParameters<T>;
@@ -4913,7 +4925,7 @@ type PipelineStep$5<T extends new (...args: any[]) => BaseSolver> = {
4913
4925
  };
4914
4926
  declare class AutoroutingPipelineSolver3_HgPortPointPathing extends BaseSolver {
4915
4927
  readonly srj: SimpleRouteJson;
4916
- readonly opts: CapacityMeshSolverOptions$5;
4928
+ readonly opts: CapacityMeshSolverOptions$6;
4917
4929
  netToPointPairsSolver?: NetToPointPairsSolver;
4918
4930
  nodeSolver?: RectDiffPipeline;
4919
4931
  nodeTargetMerger?: CapacityNodeTargetMerger;
@@ -4944,9 +4956,9 @@ declare class AutoroutingPipelineSolver3_HgPortPointPathing extends BaseSolver {
4944
4956
  capacityNodes: CapacityMeshNode[] | null;
4945
4957
  capacityEdges: CapacityMeshEdge[] | null;
4946
4958
  cacheProvider: CacheProvider | null;
4947
- pipelineDef: (PipelineStep$5<typeof NetToPointPairsSolver2_OffBoardConnection> | PipelineStep$5<typeof RectDiffPipeline> | PipelineStep$5<typeof CapacityMeshEdgeSolver2_NodeTreeOptimization> | PipelineStep$5<typeof AvailableSegmentPointSolver> | PipelineStep$5<typeof MultiTargetNecessaryCrampedPortPointSolver> | PipelineStep$5<typeof HgPortPointPathingSolver> | PipelineStep$5<typeof HyperGraphSectionOptimizer> | PipelineStep$5<typeof UniformPortDistributionSolver> | PipelineStep$5<typeof HighDensitySolver> | PipelineStep$5<typeof MultipleHighDensityRouteStitchSolver> | PipelineStep$5<typeof TraceSimplificationSolver> | PipelineStep$5<typeof TraceWidthSolver>)[];
4948
- constructor(srj: SimpleRouteJson, opts?: CapacityMeshSolverOptions$5);
4949
- getConstructorParams(): readonly [SimpleRouteJson, CapacityMeshSolverOptions$5];
4959
+ pipelineDef: (PipelineStep$6<typeof NetToPointPairsSolver2_OffBoardConnection> | PipelineStep$6<typeof RectDiffPipeline> | PipelineStep$6<typeof CapacityMeshEdgeSolver2_NodeTreeOptimization> | PipelineStep$6<typeof AvailableSegmentPointSolver> | PipelineStep$6<typeof MultiTargetNecessaryCrampedPortPointSolver> | PipelineStep$6<typeof HgPortPointPathingSolver> | PipelineStep$6<typeof HyperGraphSectionOptimizer> | PipelineStep$6<typeof UniformPortDistributionSolver> | PipelineStep$6<typeof HighDensitySolver> | PipelineStep$6<typeof MultipleHighDensityRouteStitchSolver> | PipelineStep$6<typeof TraceSimplificationSolver> | PipelineStep$6<typeof TraceWidthSolver>)[];
4960
+ constructor(srj: SimpleRouteJson, opts?: CapacityMeshSolverOptions$6);
4961
+ getConstructorParams(): readonly [SimpleRouteJson, CapacityMeshSolverOptions$6];
4950
4962
  currentPipelineStepIndex: number;
4951
4963
  _step(): void;
4952
4964
  solveUntilPhase(phase: string): void;
@@ -5183,7 +5195,7 @@ declare class PreprocessSimpleRouteJsonSolver$1 extends BaseSolver {
5183
5195
  visualize(): GraphicsObject;
5184
5196
  }
5185
5197
 
5186
- interface CapacityMeshSolverOptions$4 {
5198
+ interface CapacityMeshSolverOptions$5 {
5187
5199
  capacityDepth?: number;
5188
5200
  targetMinCapacity?: number;
5189
5201
  cacheProvider?: CacheProvider | null;
@@ -5192,8 +5204,8 @@ interface CapacityMeshSolverOptions$4 {
5192
5204
  maxNodeRatio?: number;
5193
5205
  minNodeArea?: number;
5194
5206
  }
5195
- type AutoroutingPipelineSolverOptions$1 = CapacityMeshSolverOptions$4;
5196
- type PipelineStep$4<T extends new (...args: any[]) => BaseSolver> = {
5207
+ type AutoroutingPipelineSolverOptions$1 = CapacityMeshSolverOptions$5;
5208
+ type PipelineStep$5<T extends new (...args: any[]) => BaseSolver> = {
5197
5209
  solverName: string;
5198
5210
  solverClass: T;
5199
5211
  getConstructorParams: (instance: AutoroutingPipelineSolver4_TinyHypergraph) => ConstructorParameters<T>;
@@ -5201,7 +5213,7 @@ type PipelineStep$4<T extends new (...args: any[]) => BaseSolver> = {
5201
5213
  };
5202
5214
  declare class AutoroutingPipelineSolver4_TinyHypergraph extends BaseSolver {
5203
5215
  srj: SimpleRouteJson;
5204
- readonly opts: CapacityMeshSolverOptions$4;
5216
+ readonly opts: CapacityMeshSolverOptions$5;
5205
5217
  preprocessSimpleRouteJsonSolver?: PreprocessSimpleRouteJsonSolver$1;
5206
5218
  escapeViaLocationSolver?: EscapeViaLocationSolver;
5207
5219
  netToPointPairsSolver?: NetToPointPairsSolver;
@@ -5244,10 +5256,10 @@ declare class AutoroutingPipelineSolver4_TinyHypergraph extends BaseSolver {
5244
5256
  capacityEdges: CapacityMeshEdge[] | null;
5245
5257
  highDensityNodePortPoints?: NodeWithPortPoints[];
5246
5258
  cacheProvider: CacheProvider | null;
5247
- pipelineDef: (PipelineStep$4<typeof PreprocessSimpleRouteJsonSolver$1> | PipelineStep$4<typeof EscapeViaLocationSolver> | PipelineStep$4<typeof NetToPointPairsSolver2_OffBoardConnection> | PipelineStep$4<typeof RectDiffPipeline> | PipelineStep$4<typeof NodeDimensionSubdivisionSolver> | PipelineStep$4<typeof CapacityMeshEdgeSolver2_NodeTreeOptimization> | PipelineStep$4<typeof AvailableSegmentPointSolver> | PipelineStep$4<typeof MultiTargetNecessaryCrampedPortPointSolver> | PipelineStep$4<typeof TinyHypergraphPortPointPathingSolver> | PipelineStep$4<typeof UniformPortDistributionSolver> | PipelineStep$4<typeof HighDensitySolver> | PipelineStep$4<typeof HighDensityForceImproveSolver> | PipelineStep$4<typeof Pipeline4HighDensityRepairSolver> | PipelineStep$4<typeof MultipleHighDensityRouteStitchSolver3> | PipelineStep$4<typeof TraceSimplificationSolver> | PipelineStep$4<typeof TraceWidthSolver> | PipelineStep$4<typeof GlobalDrcForceImproveSolver>)[];
5248
- constructor(srj: SimpleRouteJson, opts?: CapacityMeshSolverOptions$4);
5259
+ pipelineDef: (PipelineStep$5<typeof PreprocessSimpleRouteJsonSolver$1> | PipelineStep$5<typeof EscapeViaLocationSolver> | PipelineStep$5<typeof NetToPointPairsSolver2_OffBoardConnection> | PipelineStep$5<typeof RectDiffPipeline> | PipelineStep$5<typeof NodeDimensionSubdivisionSolver> | PipelineStep$5<typeof CapacityMeshEdgeSolver2_NodeTreeOptimization> | PipelineStep$5<typeof AvailableSegmentPointSolver> | PipelineStep$5<typeof MultiTargetNecessaryCrampedPortPointSolver> | PipelineStep$5<typeof TinyHypergraphPortPointPathingSolver> | PipelineStep$5<typeof UniformPortDistributionSolver> | PipelineStep$5<typeof HighDensitySolver> | PipelineStep$5<typeof HighDensityForceImproveSolver> | PipelineStep$5<typeof Pipeline4HighDensityRepairSolver> | PipelineStep$5<typeof MultipleHighDensityRouteStitchSolver3> | PipelineStep$5<typeof TraceSimplificationSolver> | PipelineStep$5<typeof TraceWidthSolver> | PipelineStep$5<typeof GlobalDrcForceImproveSolver>)[];
5260
+ constructor(srj: SimpleRouteJson, opts?: CapacityMeshSolverOptions$5);
5249
5261
  private setSimpleRouteJson;
5250
- getConstructorParams(): readonly [SimpleRouteJson, CapacityMeshSolverOptions$4];
5262
+ getConstructorParams(): readonly [SimpleRouteJson, CapacityMeshSolverOptions$5];
5251
5263
  currentPipelineStepIndex: number;
5252
5264
  _step(): void;
5253
5265
  solveUntilPhase(phase: string): void;
@@ -5498,7 +5510,7 @@ declare class ProjectHighDensityToPolygonSolver extends BaseSolver {
5498
5510
  visualize(): GraphicsObject;
5499
5511
  }
5500
5512
 
5501
- interface CapacityMeshSolverOptions$3 {
5513
+ interface CapacityMeshSolverOptions$4 {
5502
5514
  capacityDepth?: number;
5503
5515
  targetMinCapacity?: number;
5504
5516
  cacheProvider?: CacheProvider | null;
@@ -5512,7 +5524,7 @@ interface CapacityMeshSolverOptions$3 {
5512
5524
  polyPortSpacing?: number;
5513
5525
  polyPortMarginFromSegmentEndpoint?: number;
5514
5526
  }
5515
- type PipelineStep$3<T extends new (...args: any[]) => BaseSolver> = {
5527
+ type PipelineStep$4<T extends new (...args: any[]) => BaseSolver> = {
5516
5528
  solverName: string;
5517
5529
  solverClass: T;
5518
5530
  getConstructorParams: (instance: AutoroutingPipelineSolver6_PolyHypergraph) => ConstructorParameters<T>;
@@ -5520,7 +5532,7 @@ type PipelineStep$3<T extends new (...args: any[]) => BaseSolver> = {
5520
5532
  };
5521
5533
  declare class AutoroutingPipelineSolver6_PolyHypergraph extends BaseSolver {
5522
5534
  srj: SimpleRouteJson;
5523
- readonly opts: CapacityMeshSolverOptions$3;
5535
+ readonly opts: CapacityMeshSolverOptions$4;
5524
5536
  preprocessSimpleRouteJsonSolver?: PreprocessSimpleRouteJsonSolver;
5525
5537
  escapeViaLocationSolver?: EscapeViaLocationSolver;
5526
5538
  netToPointPairsSolver?: NetToPointPairsSolver;
@@ -5553,10 +5565,10 @@ declare class AutoroutingPipelineSolver6_PolyHypergraph extends BaseSolver {
5553
5565
  highDensityNodePortPoints?: PolyNodeWithPortPoints[];
5554
5566
  projectedHighDensityNodePortPoints?: PolyNodeWithPortPoints[];
5555
5567
  cacheProvider: CacheProvider | null;
5556
- pipelineDef: (PipelineStep$3<typeof PreprocessSimpleRouteJsonSolver> | PipelineStep$3<typeof EscapeViaLocationSolver> | PipelineStep$3<typeof NetToPointPairsSolver2_OffBoardConnection> | PipelineStep$3<typeof PolyHypergraphPortPointPathingSolver> | PipelineStep$3<typeof AttachProjectedRectsSolver> | PipelineStep$3<typeof PolyHighDensitySolver> | PipelineStep$3<typeof ProjectHighDensityToPolygonSolver> | PipelineStep$3<typeof MultipleHighDensityRouteStitchSolver3> | PipelineStep$3<typeof TraceSimplificationSolver> | PipelineStep$3<typeof TraceWidthSolver> | PipelineStep$3<typeof GlobalDrcForceImproveSolver>)[];
5557
- constructor(srj: SimpleRouteJson, opts?: CapacityMeshSolverOptions$3);
5568
+ pipelineDef: (PipelineStep$4<typeof PreprocessSimpleRouteJsonSolver> | PipelineStep$4<typeof EscapeViaLocationSolver> | PipelineStep$4<typeof NetToPointPairsSolver2_OffBoardConnection> | PipelineStep$4<typeof PolyHypergraphPortPointPathingSolver> | PipelineStep$4<typeof AttachProjectedRectsSolver> | PipelineStep$4<typeof PolyHighDensitySolver> | PipelineStep$4<typeof ProjectHighDensityToPolygonSolver> | PipelineStep$4<typeof MultipleHighDensityRouteStitchSolver3> | PipelineStep$4<typeof TraceSimplificationSolver> | PipelineStep$4<typeof TraceWidthSolver> | PipelineStep$4<typeof GlobalDrcForceImproveSolver>)[];
5569
+ constructor(srj: SimpleRouteJson, opts?: CapacityMeshSolverOptions$4);
5558
5570
  private setSimpleRouteJson;
5559
- getConstructorParams(): readonly [SimpleRouteJson, CapacityMeshSolverOptions$3];
5571
+ getConstructorParams(): readonly [SimpleRouteJson, CapacityMeshSolverOptions$4];
5560
5572
  currentPipelineStepIndex: number;
5561
5573
  _step(): void;
5562
5574
  solveUntilPhase(phase: string): void;
@@ -5619,7 +5631,7 @@ type ComponentDetectionSolverOutput = DetectedComponent[];
5619
5631
  */
5620
5632
  declare class ComponentDetectionSolver extends BasePipelineSolver<ComponentDetectionSolverParams> {
5621
5633
  rectBoundsComponentDetection?: RectBoundsComponentDetectionStage;
5622
- pipelineDef: PipelineStep$a<BaseSolver$1>[];
5634
+ pipelineDef: PipelineStep$b<BaseSolver$1>[];
5623
5635
  getConstructorParams(): readonly [ComponentDetectionSolverParams];
5624
5636
  getOutput(): ComponentDetectionSolverOutput;
5625
5637
  initialVisualize(): GraphicsObject | null;
@@ -5692,7 +5704,7 @@ declare class MultiGraphTopologyPlannerSolver extends BasePipelineSolver<MultiGr
5692
5704
  globalTopologySolver?: RectDiffPipeline;
5693
5705
  componentTopologyBatchSolver?: ComponentTopologyBatchSolver;
5694
5706
  private normalizedInput;
5695
- pipelineDef: PipelineStep$a<BaseSolver$1>[];
5707
+ pipelineDef: PipelineStep$b<BaseSolver$1>[];
5696
5708
  constructor(params: MultiGraphTopologyPlannerSolverParams);
5697
5709
  getConstructorParams(): readonly [MultiGraphTopologyPlannerSolverParams];
5698
5710
  /**
@@ -5760,7 +5772,7 @@ declare class MergedComponentTopologyView extends BaseSolver {
5760
5772
  preview(): GraphicsObject;
5761
5773
  }
5762
5774
 
5763
- interface CapacityMeshSolverOptions$2 {
5775
+ interface CapacityMeshSolverOptions$3 {
5764
5776
  capacityDepth?: number;
5765
5777
  targetMinCapacity?: number;
5766
5778
  cacheProvider?: CacheProvider | null;
@@ -5770,7 +5782,7 @@ interface CapacityMeshSolverOptions$2 {
5770
5782
  minNodeArea?: number;
5771
5783
  visualizationTraceColorMode?: TraceColorMode;
5772
5784
  }
5773
- type PipelineStep$2<T extends new (...args: any[]) => BaseSolver> = {
5785
+ type PipelineStep$3<T extends new (...args: any[]) => BaseSolver> = {
5774
5786
  solverName: string;
5775
5787
  solverClass: T;
5776
5788
  getConstructorParams: (instance: AutoroutingPipelineSolver7_MultiGraph) => ConstructorParameters<T>;
@@ -5778,7 +5790,7 @@ type PipelineStep$2<T extends new (...args: any[]) => BaseSolver> = {
5778
5790
  };
5779
5791
  declare class AutoroutingPipelineSolver7_MultiGraph extends BaseSolver {
5780
5792
  srj: SimpleRouteJson;
5781
- readonly opts: CapacityMeshSolverOptions$2;
5793
+ readonly opts: CapacityMeshSolverOptions$3;
5782
5794
  getSolverName(): string;
5783
5795
  preprocessSimpleRouteJsonSolver?: PreprocessSimpleRouteJsonSolver$1;
5784
5796
  escapeViaLocationSolver?: EscapeViaLocationSolver;
@@ -5831,10 +5843,10 @@ declare class AutoroutingPipelineSolver7_MultiGraph extends BaseSolver {
5831
5843
  sharedEdgeSegmentsWithNecessaryCrampedPortPoints?: SharedEdgeSegment[];
5832
5844
  highDensityNodePortPoints?: NodeWithPortPoints[];
5833
5845
  cacheProvider: CacheProvider | null;
5834
- pipelineDef: (PipelineStep$2<typeof PreprocessSimpleRouteJsonSolver$1> | PipelineStep$2<typeof ComponentDetectionSolver> | PipelineStep$2<typeof EscapeViaLocationSolver> | PipelineStep$2<typeof NetToPointPairsSolver2_OffBoardConnection> | PipelineStep$2<typeof MultiGraphTopologyPlannerSolver> | PipelineStep$2<typeof TopologyMergingSolver> | PipelineStep$2<typeof NodeDimensionSubdivisionSolver> | PipelineStep$2<typeof CapacityMeshEdgeSolver2_NodeTreeOptimization> | PipelineStep$2<typeof AvailableSegmentPointSolver> | PipelineStep$2<typeof MultiTargetNecessaryCrampedPortPointSolver> | PipelineStep$2<typeof TinyHypergraphPortPointPathingSolver> | PipelineStep$2<typeof UniformPortDistributionSolver> | PipelineStep$2<typeof HighDensitySolver> | PipelineStep$2<typeof HighDensityForceImproveSolver> | PipelineStep$2<typeof Pipeline4HighDensityRepairSolver> | PipelineStep$2<typeof MultipleHighDensityRouteStitchSolver3> | PipelineStep$2<typeof TraceSimplificationSolver> | PipelineStep$2<typeof TraceWidthSolver> | PipelineStep$2<typeof GlobalDrcForceImproveSolver> | PipelineStep$2<typeof GlobalDrcBranchPortfolioSolver> | PipelineStep$2<typeof PostProcessingSolver>)[];
5835
- constructor(srj: SimpleRouteJson, opts?: CapacityMeshSolverOptions$2);
5846
+ pipelineDef: (PipelineStep$3<typeof PreprocessSimpleRouteJsonSolver$1> | PipelineStep$3<typeof ComponentDetectionSolver> | PipelineStep$3<typeof EscapeViaLocationSolver> | PipelineStep$3<typeof NetToPointPairsSolver2_OffBoardConnection> | PipelineStep$3<typeof MultiGraphTopologyPlannerSolver> | PipelineStep$3<typeof TopologyMergingSolver> | PipelineStep$3<typeof NodeDimensionSubdivisionSolver> | PipelineStep$3<typeof CapacityMeshEdgeSolver2_NodeTreeOptimization> | PipelineStep$3<typeof AvailableSegmentPointSolver> | PipelineStep$3<typeof MultiTargetNecessaryCrampedPortPointSolver> | PipelineStep$3<typeof TinyHypergraphPortPointPathingSolver> | PipelineStep$3<typeof UniformPortDistributionSolver> | PipelineStep$3<typeof HighDensitySolver> | PipelineStep$3<typeof HighDensityForceImproveSolver> | PipelineStep$3<typeof Pipeline4HighDensityRepairSolver> | PipelineStep$3<typeof MultipleHighDensityRouteStitchSolver3> | PipelineStep$3<typeof TraceSimplificationSolver> | PipelineStep$3<typeof TraceWidthSolver> | PipelineStep$3<typeof GlobalDrcForceImproveSolver> | PipelineStep$3<typeof GlobalDrcBranchPortfolioSolver> | PipelineStep$3<typeof PostProcessingSolver>)[];
5847
+ constructor(srj: SimpleRouteJson, opts?: CapacityMeshSolverOptions$3);
5836
5848
  private setSimpleRouteJson;
5837
- getConstructorParams(): readonly [SimpleRouteJson, CapacityMeshSolverOptions$2];
5849
+ getConstructorParams(): readonly [SimpleRouteJson, CapacityMeshSolverOptions$3];
5838
5850
  currentPipelineStepIndex: number;
5839
5851
  _step(): void;
5840
5852
  solveUntilPhase(phase: string): void;
@@ -5873,7 +5885,7 @@ declare class SplitNodesIntoSingleLayerNodeSolver extends BaseSolver {
5873
5885
  visualize(): GraphicsObject;
5874
5886
  }
5875
5887
 
5876
- interface CapacityMeshSolverOptions$1 {
5888
+ interface CapacityMeshSolverOptions$2 {
5877
5889
  capacityDepth?: number;
5878
5890
  targetMinCapacity?: number;
5879
5891
  cacheProvider?: CacheProvider | null;
@@ -5882,7 +5894,7 @@ interface CapacityMeshSolverOptions$1 {
5882
5894
  maxNodeRatio?: number;
5883
5895
  minNodeArea?: number;
5884
5896
  }
5885
- type PipelineStep$1<T extends new (...args: any[]) => BaseSolver> = {
5897
+ type PipelineStep$2<T extends new (...args: any[]) => BaseSolver> = {
5886
5898
  solverName: string;
5887
5899
  solverClass: T;
5888
5900
  getConstructorParams: (instance: AutoroutingPipelineSolver8) => ConstructorParameters<T>;
@@ -5890,7 +5902,7 @@ type PipelineStep$1<T extends new (...args: any[]) => BaseSolver> = {
5890
5902
  };
5891
5903
  declare class AutoroutingPipelineSolver8 extends BaseSolver {
5892
5904
  srj: SimpleRouteJson;
5893
- readonly opts: CapacityMeshSolverOptions$1;
5905
+ readonly opts: CapacityMeshSolverOptions$2;
5894
5906
  preprocessSimpleRouteJsonSolver?: PreprocessSimpleRouteJsonSolver$1;
5895
5907
  escapeViaLocationSolver?: EscapeViaLocationSolver;
5896
5908
  netToPointPairsSolver?: NetToPointPairsSolver;
@@ -5936,10 +5948,10 @@ declare class AutoroutingPipelineSolver8 extends BaseSolver {
5936
5948
  capacityEdges: CapacityMeshEdge[] | null;
5937
5949
  highDensityNodePortPoints?: NodeWithPortPoints[];
5938
5950
  cacheProvider: CacheProvider | null;
5939
- pipelineDef: (PipelineStep$1<typeof PreprocessSimpleRouteJsonSolver$1> | PipelineStep$1<typeof EscapeViaLocationSolver> | PipelineStep$1<typeof NetToPointPairsSolver2_OffBoardConnection> | PipelineStep$1<typeof RectDiffPipeline> | PipelineStep$1<typeof NodeDimensionSubdivisionSolver> | PipelineStep$1<typeof CapacityMeshEdgeSolver2_NodeTreeOptimization> | PipelineStep$1<typeof AvailableSegmentPointSolver> | PipelineStep$1<typeof MultiTargetNecessaryCrampedPortPointSolver> | PipelineStep$1<typeof SplitNodesIntoSingleLayerNodeSolver> | PipelineStep$1<typeof TinyHypergraphPortPointPathingSolver> | PipelineStep$1<typeof UniformPortDistributionSolver> | PipelineStep$1<typeof HighDensitySolver> | PipelineStep$1<typeof HighDensityForceImproveSolver> | PipelineStep$1<typeof Pipeline4HighDensityRepairSolver> | PipelineStep$1<typeof MultipleHighDensityRouteStitchSolver3> | PipelineStep$1<typeof TraceSimplificationSolver> | PipelineStep$1<typeof TraceWidthSolver> | PipelineStep$1<typeof GlobalDrcForceImproveSolver>)[];
5940
- constructor(srj: SimpleRouteJson, opts?: CapacityMeshSolverOptions$1);
5951
+ pipelineDef: (PipelineStep$2<typeof PreprocessSimpleRouteJsonSolver$1> | PipelineStep$2<typeof EscapeViaLocationSolver> | PipelineStep$2<typeof NetToPointPairsSolver2_OffBoardConnection> | PipelineStep$2<typeof RectDiffPipeline> | PipelineStep$2<typeof NodeDimensionSubdivisionSolver> | PipelineStep$2<typeof CapacityMeshEdgeSolver2_NodeTreeOptimization> | PipelineStep$2<typeof AvailableSegmentPointSolver> | PipelineStep$2<typeof MultiTargetNecessaryCrampedPortPointSolver> | PipelineStep$2<typeof SplitNodesIntoSingleLayerNodeSolver> | PipelineStep$2<typeof TinyHypergraphPortPointPathingSolver> | PipelineStep$2<typeof UniformPortDistributionSolver> | PipelineStep$2<typeof HighDensitySolver> | PipelineStep$2<typeof HighDensityForceImproveSolver> | PipelineStep$2<typeof Pipeline4HighDensityRepairSolver> | PipelineStep$2<typeof MultipleHighDensityRouteStitchSolver3> | PipelineStep$2<typeof TraceSimplificationSolver> | PipelineStep$2<typeof TraceWidthSolver> | PipelineStep$2<typeof GlobalDrcForceImproveSolver>)[];
5952
+ constructor(srj: SimpleRouteJson, opts?: CapacityMeshSolverOptions$2);
5941
5953
  private setSimpleRouteJson;
5942
- getConstructorParams(): readonly [SimpleRouteJson, CapacityMeshSolverOptions$1];
5954
+ getConstructorParams(): readonly [SimpleRouteJson, CapacityMeshSolverOptions$2];
5943
5955
  currentPipelineStepIndex: number;
5944
5956
  _step(): void;
5945
5957
  solveUntilPhase(phase: string): void;
@@ -5958,6 +5970,119 @@ declare class AutoroutingPipelineSolver8 extends BaseSolver {
5958
5970
  getOutputSimpleRouteJson(): SimpleRouteJson;
5959
5971
  }
5960
5972
 
5973
+ /**
5974
+ * Loads fixed copper onto existing capacity-graph boundary ports. Capacity
5975
+ * regions, edges, and ports are never added or removed.
5976
+ */
5977
+ declare class PreloadedTraceGraphSolver extends BaseSolver {
5978
+ private readonly sharedEdgeSegments;
5979
+ private readonly srj;
5980
+ private readonly primitives;
5981
+ constructor(sharedEdgeSegments: SharedEdgeSegment[], srj: SimpleRouteJson);
5982
+ getSolverName(): string;
5983
+ _step(): void;
5984
+ getOutput(): SharedEdgeSegment[];
5985
+ }
5986
+
5987
+ /**
5988
+ * Runs Pipeline7 preprocessing without turning existing traces into obstacle
5989
+ * rectangles. The traces remain available for Pipeline9's hypergraph preload.
5990
+ */
5991
+ declare class PreprocessSimpleRouteJsonWithoutTraceObstaclesSolver extends PreprocessSimpleRouteJsonSolver$1 {
5992
+ _step(): void;
5993
+ }
5994
+
5995
+ interface CapacityMeshSolverOptions$1 {
5996
+ capacityDepth?: number;
5997
+ targetMinCapacity?: number;
5998
+ cacheProvider?: CacheProvider | null;
5999
+ effort?: number;
6000
+ maxNodeDimension?: number;
6001
+ maxNodeRatio?: number;
6002
+ minNodeArea?: number;
6003
+ visualizationTraceColorMode?: TraceColorMode;
6004
+ }
6005
+ type PipelineStep$1<T extends new (...args: any[]) => BaseSolver> = {
6006
+ solverName: string;
6007
+ solverClass: T;
6008
+ getConstructorParams: (instance: AutoroutingPipelineSolver9_PreloadedTraceGraph) => ConstructorParameters<T>;
6009
+ onSolved?: (instance: AutoroutingPipelineSolver9_PreloadedTraceGraph) => void;
6010
+ };
6011
+ declare class AutoroutingPipelineSolver9_PreloadedTraceGraph extends BaseSolver {
6012
+ srj: SimpleRouteJson;
6013
+ readonly opts: CapacityMeshSolverOptions$1;
6014
+ getSolverName(): string;
6015
+ preprocessSimpleRouteJsonSolver?: PreprocessSimpleRouteJsonWithoutTraceObstaclesSolver;
6016
+ escapeViaLocationSolver?: EscapeViaLocationSolver;
6017
+ netToPointPairsSolver?: NetToPointPairsSolver;
6018
+ componentTopologyGeneratorSolver?: MergedComponentTopologyView;
6019
+ topologyPlanningSolver?: MultiGraphTopologyPlannerSolver;
6020
+ topologyMergingSolver?: TopologyMergingSolver;
6021
+ globalTopologyGeneratorSolver?: RectDiffPipeline;
6022
+ nodeDimensionSubdivisionSolver?: NodeDimensionSubdivisionSolver;
6023
+ nodeTargetMerger?: CapacityNodeTargetMerger;
6024
+ edgeSolver?: CapacityMeshEdgeSolver;
6025
+ colorMap: Record<string, string>;
6026
+ highDensityRouteSolver?: HighDensitySolver;
6027
+ highDensityForceImproveSolver?: HighDensityForceImproveSolver;
6028
+ highDensityRepairSolver?: Pipeline4HighDensityRepairSolver;
6029
+ highDensityStitchSolver?: MultipleHighDensityRouteStitchSolver3;
6030
+ globalDrcForceImproveSolver?: GlobalDrcForceImproveSolver;
6031
+ exactGeometryDrcForceImproveSolver?: GlobalDrcBranchPortfolioSolver;
6032
+ singleLayerNodeMerger?: SingleLayerNodeMergerSolver;
6033
+ strawSolver?: StrawSolver;
6034
+ deadEndSolver?: DeadEndSolver;
6035
+ traceSimplificationSolver?: TraceSimplificationSolver;
6036
+ postProcessingSolver?: PostProcessingSolver;
6037
+ availableSegmentPointSolver?: AvailableSegmentPointSolver;
6038
+ portPointPathingSolver?: TinyHypergraphPortPointPathingSolver;
6039
+ multiSectionPortPointOptimizer?: MultiSectionPortPointOptimizer;
6040
+ uniformPortDistributionSolver?: UniformPortDistributionSolver;
6041
+ traceWidthSolver?: TraceWidthSolver;
6042
+ necessaryCrampedPortPointSolver?: MultiTargetNecessaryCrampedPortPointSolver;
6043
+ preloadedTraceGraphSolver?: PreloadedTraceGraphSolver;
6044
+ componentDetectionSolver?: ComponentDetectionSolver;
6045
+ viaDiameter: number;
6046
+ viaHoleDiameter: number;
6047
+ minTraceWidth: number;
6048
+ effort: number;
6049
+ maxNodeDimension: number;
6050
+ maxNodeRatio: number;
6051
+ minNodeArea: number;
6052
+ visualizationTraceColorMode: TraceColorMode;
6053
+ startTimeOfPhase: Record<string, number>;
6054
+ endTimeOfPhase: Record<string, number>;
6055
+ timeSpentOnPhase: Record<string, number>;
6056
+ activeSubSolver?: BaseSolver | null;
6057
+ connMap: ConnectivityMap;
6058
+ srjWithEscapeViaLocations?: SimpleRouteJson;
6059
+ srjWithPointPairs?: SimpleRouteJson;
6060
+ originalSrj: SimpleRouteJson;
6061
+ capacityNodes: CapacityMeshNode[] | null;
6062
+ capacityEdges: CapacityMeshEdge[] | null;
6063
+ /** Available segment points after non-component cramped points are filtered. */
6064
+ sharedEdgeSegmentsWithNecessaryCrampedPortPoints?: SharedEdgeSegment[];
6065
+ highDensityNodePortPoints?: NodeWithPortPoints[];
6066
+ cacheProvider: CacheProvider | null;
6067
+ pipelineDef: (PipelineStep$1<typeof PreprocessSimpleRouteJsonWithoutTraceObstaclesSolver> | PipelineStep$1<typeof ComponentDetectionSolver> | PipelineStep$1<typeof EscapeViaLocationSolver> | PipelineStep$1<typeof NetToPointPairsSolver2_OffBoardConnection> | PipelineStep$1<typeof MultiGraphTopologyPlannerSolver> | PipelineStep$1<typeof TopologyMergingSolver> | PipelineStep$1<typeof NodeDimensionSubdivisionSolver> | PipelineStep$1<typeof CapacityMeshEdgeSolver2_NodeTreeOptimization> | PipelineStep$1<typeof AvailableSegmentPointSolver> | PipelineStep$1<typeof MultiTargetNecessaryCrampedPortPointSolver> | PipelineStep$1<typeof PreloadedTraceGraphSolver> | PipelineStep$1<typeof TinyHypergraphPortPointPathingSolver> | PipelineStep$1<typeof UniformPortDistributionSolver> | PipelineStep$1<typeof HighDensitySolver> | PipelineStep$1<typeof HighDensityForceImproveSolver> | PipelineStep$1<typeof Pipeline4HighDensityRepairSolver> | PipelineStep$1<typeof MultipleHighDensityRouteStitchSolver3> | PipelineStep$1<typeof TraceSimplificationSolver> | PipelineStep$1<typeof TraceWidthSolver> | PipelineStep$1<typeof GlobalDrcForceImproveSolver> | PipelineStep$1<typeof GlobalDrcBranchPortfolioSolver> | PipelineStep$1<typeof PostProcessingSolver>)[];
6068
+ constructor(srj: SimpleRouteJson, opts?: CapacityMeshSolverOptions$1);
6069
+ private setSimpleRouteJson;
6070
+ getConstructorParams(): readonly [SimpleRouteJson, CapacityMeshSolverOptions$1];
6071
+ currentPipelineStepIndex: number;
6072
+ _step(): void;
6073
+ solveUntilPhase(phase: string): void;
6074
+ getCurrentPhase(): string;
6075
+ visualize(): GraphicsObject;
6076
+ visualizeStage(stageSolver: {
6077
+ visualize: () => GraphicsObject;
6078
+ }): GraphicsObject;
6079
+ visualizeFinalOutput(): GraphicsObject;
6080
+ preview(): GraphicsObject;
6081
+ _getOutputHdRoutes(): HighDensityRoute$1[];
6082
+ getOutputSimplifiedPcbTraces(): SimplifiedPcbTraces;
6083
+ getOutputSimpleRouteJson(): SimpleRouteJson;
6084
+ }
6085
+
5961
6086
  /**
5962
6087
  * Calculate the capacity of a node based on its width
5963
6088
  *
@@ -7051,4 +7176,4 @@ declare const HyperSingleIntraNodeSolver: typeof PortfolioSingleIntraNodeSolver;
7051
7176
  */
7052
7177
  type HyperSingleIntraNodeSolver = InstanceType<typeof PortfolioSingleIntraNodeSolver>;
7053
7178
 
7054
- export { AssignableAutoroutingPipeline1Solver, AssignableAutoroutingPipeline2, AssignableAutoroutingPipeline3, AttachProjectedRectsSolver, AutoroutingPipeline1_OriginalUnravel, AutoroutingPipelineSolver7_MultiGraph as AutoroutingPipelineSolver, AutoroutingPipelineSolver2_PortPointPathing, AutoroutingPipelineSolver3_HgPortPointPathing, AutoroutingPipelineSolver4_TinyHypergraph as AutoroutingPipelineSolver4, AutoroutingPipelineSolver4_TinyHypergraph, AutoroutingPipelineSolver5_HdCache as AutoroutingPipelineSolver5, AutoroutingPipelineSolver5_HdCache, AutoroutingPipelineSolver6_PolyHypergraph as AutoroutingPipelineSolver6, AutoroutingPipelineSolver6_PolyHypergraph, AutoroutingPipelineSolver7_MultiGraph, AutoroutingPipelineSolver8, type AutoroutingPipelineSolverOptions, type BusId, type CachableSolver, type CacheProvider, CapacityMeshSolver, type ConnectionPoint$1 as ConnectionPoint, type ConvertSrjToGraphicsObjectOptions, CurvyIntraNodeSolver, type DifferentialPair, GrowShrinkHighDensityIntraNodeSolver, type HighDensityIntraNodeRouteWithJumpers, JumperHighDensitySolver as HighDensitySolver, HyperSingleIntraNodeSolver, InMemoryCache, IntraNodeSolverWithJumpers, type Jumper, LocalStorageCache, type MultiLayerConnectionPoint, type Obstacle, PolyHighDensitySolver, PolySingleIntraNodeSolver as PolyIntraNodeSolver, PolySingleIntraNodeSolver, PortfolioSingleIntraNodeSolver, ProjectHighDensityToPolygonSolver, type RerouteRectRegion, type SimpleRouteBus, type SimpleRouteConnection, type SimpleRouteJson, type SimplifiedPcbTrace, type SimplifiedPcbTraces, SingleHighDensityRouteWithJumpersSolver, type SingleLayerConnectionPoint, type TerminalViaHint, type TraceColorMode, calculateOptimalCapacityDepth, convertSrjToGraphicsObject, getGlobalInMemoryCache, getGlobalLocalStorageCache, getRerouteSimpleRouteJson, getTunedTotalCapacity1, reconnectReroutedSimpleRouteJsonRegion, setupGlobalCaches };
7179
+ export { AssignableAutoroutingPipeline1Solver, AssignableAutoroutingPipeline2, AssignableAutoroutingPipeline3, AttachProjectedRectsSolver, AutoroutingPipeline1_OriginalUnravel, AutoroutingPipelineSolver7_MultiGraph as AutoroutingPipelineSolver, AutoroutingPipelineSolver2_PortPointPathing, AutoroutingPipelineSolver3_HgPortPointPathing, AutoroutingPipelineSolver4_TinyHypergraph as AutoroutingPipelineSolver4, AutoroutingPipelineSolver4_TinyHypergraph, AutoroutingPipelineSolver5_HdCache as AutoroutingPipelineSolver5, AutoroutingPipelineSolver5_HdCache, AutoroutingPipelineSolver6_PolyHypergraph as AutoroutingPipelineSolver6, AutoroutingPipelineSolver6_PolyHypergraph, AutoroutingPipelineSolver7_MultiGraph, AutoroutingPipelineSolver8, AutoroutingPipelineSolver9_PreloadedTraceGraph, type AutoroutingPipelineSolverOptions, type BusId, type CachableSolver, type CacheProvider, CapacityMeshSolver, type ConnectionPoint$1 as ConnectionPoint, type ConvertSrjToGraphicsObjectOptions, CurvyIntraNodeSolver, type DifferentialPair, GrowShrinkHighDensityIntraNodeSolver, type HighDensityIntraNodeRouteWithJumpers, JumperHighDensitySolver as HighDensitySolver, HyperSingleIntraNodeSolver, InMemoryCache, IntraNodeSolverWithJumpers, type Jumper, LocalStorageCache, type MultiLayerConnectionPoint, type Obstacle, PolyHighDensitySolver, PolySingleIntraNodeSolver as PolyIntraNodeSolver, PolySingleIntraNodeSolver, PortfolioSingleIntraNodeSolver, ProjectHighDensityToPolygonSolver, type RerouteRectRegion, type SimpleRouteBus, type SimpleRouteConnection, type SimpleRouteJson, type SimplifiedPcbTrace, type SimplifiedPcbTraces, SingleHighDensityRouteWithJumpersSolver, type SingleLayerConnectionPoint, type TerminalViaHint, type TraceColorMode, calculateOptimalCapacityDepth, convertSrjToGraphicsObject, getGlobalInMemoryCache, getGlobalLocalStorageCache, getRerouteSimpleRouteJson, getTunedTotalCapacity1, reconnectReroutedSimpleRouteJsonRegion, setupGlobalCaches };