@tscircuit/capacity-autorouter 0.0.741 → 0.0.742
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 +23 -3
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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';
|
|
19
18
|
import { PowerTraceExpanderOptions, PowerTraceExpanderSolver } from '@tscircuit/power-trace-expander';
|
|
19
|
+
import { PostProcessingSolverParams, PostProcessingSolver, PostProcessingSolverOutput } from '@tscircuit/length-matching-solver';
|
|
20
20
|
|
|
21
21
|
interface CacheProvider {
|
|
22
22
|
isSyncCache: boolean;
|
|
@@ -5796,6 +5796,26 @@ declare class PowerTraceExpansionSolver extends BaseSolver {
|
|
|
5796
5796
|
visualize(): GraphicsObject;
|
|
5797
5797
|
}
|
|
5798
5798
|
|
|
5799
|
+
/**
|
|
5800
|
+
* Keeps post-processing optional at the autorouter integration boundary.
|
|
5801
|
+
*
|
|
5802
|
+
* The length-matching package deliberately reports an infeasible coupled pair
|
|
5803
|
+
* as an error. Pipeline7 already has valid independently-routed copper at this
|
|
5804
|
+
* point, so an infeasible pair must preserve that copper instead of failing the
|
|
5805
|
+
* entire autoroute.
|
|
5806
|
+
*/
|
|
5807
|
+
declare class SafePostProcessingSolver extends BaseSolver {
|
|
5808
|
+
readonly inputProblem: PostProcessingSolverParams;
|
|
5809
|
+
readonly postProcessingSolver: PostProcessingSolver;
|
|
5810
|
+
usedFallback: boolean;
|
|
5811
|
+
constructor(inputProblem: PostProcessingSolverParams);
|
|
5812
|
+
getSolverName(): string;
|
|
5813
|
+
_step(): void;
|
|
5814
|
+
getConstructorParams(): [PostProcessingSolverParams];
|
|
5815
|
+
getOutput(): PostProcessingSolverOutput;
|
|
5816
|
+
visualize(): GraphicsObject;
|
|
5817
|
+
}
|
|
5818
|
+
|
|
5799
5819
|
interface CapacityMeshSolverOptions$3 {
|
|
5800
5820
|
capacityDepth?: number;
|
|
5801
5821
|
targetMinCapacity?: number;
|
|
@@ -5838,7 +5858,7 @@ declare class AutoroutingPipelineSolver7_MultiGraph extends BaseSolver {
|
|
|
5838
5858
|
strawSolver?: StrawSolver;
|
|
5839
5859
|
deadEndSolver?: DeadEndSolver;
|
|
5840
5860
|
traceSimplificationSolver?: TraceSimplificationSolver;
|
|
5841
|
-
lengthMatchingPostProcessingSolver?:
|
|
5861
|
+
lengthMatchingPostProcessingSolver?: SafePostProcessingSolver;
|
|
5842
5862
|
powerTraceExpansionSolver?: PowerTraceExpansionSolver;
|
|
5843
5863
|
availableSegmentPointSolver?: AvailableSegmentPointSolver;
|
|
5844
5864
|
portPointPathingSolver?: TinyHypergraphPortPointPathingSolver;
|
|
@@ -5869,7 +5889,7 @@ declare class AutoroutingPipelineSolver7_MultiGraph extends BaseSolver {
|
|
|
5869
5889
|
sharedEdgeSegmentsWithNecessaryCrampedPortPoints?: SharedEdgeSegment[];
|
|
5870
5890
|
highDensityNodePortPoints?: NodeWithPortPoints[];
|
|
5871
5891
|
cacheProvider: CacheProvider | null;
|
|
5872
|
-
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
|
|
5892
|
+
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 SafePostProcessingSolver> | PipelineStep$3<typeof PowerTraceExpansionSolver>)[];
|
|
5873
5893
|
constructor(srj: SimpleRouteJson, opts?: CapacityMeshSolverOptions$3);
|
|
5874
5894
|
private setSimpleRouteJson;
|
|
5875
5895
|
getConstructorParams(): readonly [SimpleRouteJson, CapacityMeshSolverOptions$3];
|