@tscircuit/capacity-autorouter 0.0.770 → 0.0.772

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
@@ -15,8 +15,8 @@ export { DrcError, DrcEvaluator, DrcSnapshot, GlobalDrcBranchPortfolioSolver, Gl
15
15
  import { DatasetSample, HighDensityRepairSolver } from 'high-density-repair02';
16
16
  import { LayerMergeMode, ConvexRegionsComputeResult, SerializedPolyHyperGraph } from 'pcb-poly-hyper-graph';
17
17
  import { PolyHyperGraphLoadResult, PolyHyperGraphSolver } from 'tiny-hypergraph-poly/lib/index';
18
+ import { PostProcessingSolver } from '@tscircuit/length-matching-solver';
18
19
  import { PowerTraceExpanderOptions, PowerTraceExpanderSolver } from '@tscircuit/power-trace-expander';
19
- import { PostProcessingSolverParams, LengthMatchingSolver, PostProcessingSolver, PostProcessingSolverOutput } from '@tscircuit/length-matching-solver';
20
20
  import { HighDensitySolverB01 } from '@tscircuit/high-density-b01';
21
21
 
22
22
  interface CacheProvider {
@@ -5817,28 +5817,6 @@ declare class PowerTraceExpansionSolver extends BaseSolver {
5817
5817
  visualize(): GraphicsObject;
5818
5818
  }
5819
5819
 
5820
- type DifferentialPairPostProcessingSolverParams = PostProcessingSolverParams & {
5821
- obstacleMargin?: number;
5822
- };
5823
- /** Applies the post-processing algorithm implied by each pair's constraints. */
5824
- declare class DifferentialPairPostProcessingSolver extends BaseSolver {
5825
- readonly inputProblem: DifferentialPairPostProcessingSolverParams;
5826
- readonly lengthMatchingSolver?: LengthMatchingSolver;
5827
- postProcessingSolver?: PostProcessingSolver;
5828
- private readonly lengthOnlyPairs;
5829
- private readonly coupledPairs;
5830
- private phase;
5831
- private outputHdRoutes?;
5832
- constructor(inputProblem: DifferentialPairPostProcessingSolverParams);
5833
- getSolverName(): string;
5834
- _step(): void;
5835
- getConstructorParams(): [
5836
- DifferentialPairPostProcessingSolverParams
5837
- ];
5838
- getOutput(): PostProcessingSolverOutput;
5839
- visualize(): GraphicsObject;
5840
- }
5841
-
5842
5820
  interface CapacityMeshSolverOptions$3 {
5843
5821
  capacityDepth?: number;
5844
5822
  targetMinCapacity?: number;
@@ -5881,7 +5859,7 @@ declare class AutoroutingPipelineSolver7_MultiGraph extends BaseSolver {
5881
5859
  strawSolver?: StrawSolver;
5882
5860
  deadEndSolver?: DeadEndSolver;
5883
5861
  traceSimplificationSolver?: TraceSimplificationSolver;
5884
- lengthMatchingPostProcessingSolver?: DifferentialPairPostProcessingSolver;
5862
+ lengthMatchingPostProcessingSolver?: PostProcessingSolver;
5885
5863
  powerTraceExpansionSolver?: PowerTraceExpansionSolver;
5886
5864
  availableSegmentPointSolver?: AvailableSegmentPointSolver;
5887
5865
  portPointPathingSolver?: TinyHypergraphPortPointPathingSolver;
@@ -5912,7 +5890,7 @@ declare class AutoroutingPipelineSolver7_MultiGraph extends BaseSolver {
5912
5890
  sharedEdgeSegmentsWithNecessaryCrampedPortPoints?: SharedEdgeSegment[];
5913
5891
  highDensityNodePortPoints?: NodeWithPortPoints[];
5914
5892
  cacheProvider: CacheProvider | null;
5915
- 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 DifferentialPairPostProcessingSolver> | PipelineStep$3<typeof PowerTraceExpansionSolver>)[];
5893
+ 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> | PipelineStep$3<typeof PowerTraceExpansionSolver>)[];
5916
5894
  constructor(srj: SimpleRouteJson, opts?: CapacityMeshSolverOptions$3);
5917
5895
  private setSimpleRouteJson;
5918
5896
  getConstructorParams(): readonly [SimpleRouteJson, CapacityMeshSolverOptions$3];