@tscircuit/capacity-autorouter 0.0.668 → 0.0.670
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 +6 -4
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
package/dist/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export { DrcError, DrcEvaluator, DrcSnapshot, GlobalDrcForceImproveSolver, Globa
|
|
|
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 { LengthMatchingSolver } from '@tscircuit/length-matching-solver';
|
|
18
19
|
|
|
19
20
|
interface CacheProvider {
|
|
20
21
|
isSyncCache: boolean;
|
|
@@ -134,7 +135,7 @@ interface Obstacle {
|
|
|
134
135
|
componentId?: string;
|
|
135
136
|
type: "rect";
|
|
136
137
|
layers: string[];
|
|
137
|
-
|
|
138
|
+
__zLayers?: number[];
|
|
138
139
|
center: {
|
|
139
140
|
x: number;
|
|
140
141
|
y: number;
|
|
@@ -152,7 +153,7 @@ interface SimpleRouteConnection {
|
|
|
152
153
|
name: string;
|
|
153
154
|
__rootConnectionNames?: string[];
|
|
154
155
|
isOffBoard?: boolean;
|
|
155
|
-
|
|
156
|
+
__netConnectionName?: string;
|
|
156
157
|
nominalTraceWidth?: number;
|
|
157
158
|
pointsToConnect: Array<ConnectionPoint$1>;
|
|
158
159
|
/** @deprecated DO NOT USE **/
|
|
@@ -1409,7 +1410,7 @@ type Route$2 = {
|
|
|
1409
1410
|
rootConnectionName?: string;
|
|
1410
1411
|
};
|
|
1411
1412
|
type LayeredObstacle = Obstacle & {
|
|
1412
|
-
|
|
1413
|
+
__zLayers: number[];
|
|
1413
1414
|
};
|
|
1414
1415
|
declare class SingleTransitionThroughObstacleIntraNodeSolver extends BaseSolver {
|
|
1415
1416
|
getSolverName(): string;
|
|
@@ -5733,6 +5734,7 @@ declare class AutoroutingPipelineSolver7_MultiGraph extends BaseSolver {
|
|
|
5733
5734
|
strawSolver?: StrawSolver;
|
|
5734
5735
|
deadEndSolver?: DeadEndSolver;
|
|
5735
5736
|
traceSimplificationSolver?: TraceSimplificationSolver;
|
|
5737
|
+
lengthMatchingSolver?: LengthMatchingSolver;
|
|
5736
5738
|
availableSegmentPointSolver?: AvailableSegmentPointSolver;
|
|
5737
5739
|
portPointPathingSolver?: TinyHypergraphPortPointPathingSolver;
|
|
5738
5740
|
multiSectionPortPointOptimizer?: MultiSectionPortPointOptimizer;
|
|
@@ -5762,7 +5764,7 @@ declare class AutoroutingPipelineSolver7_MultiGraph extends BaseSolver {
|
|
|
5762
5764
|
sharedEdgeSegmentsWithNecessaryCrampedPortPoints?: SharedEdgeSegment[];
|
|
5763
5765
|
highDensityNodePortPoints?: NodeWithPortPoints[];
|
|
5764
5766
|
cacheProvider: CacheProvider | null;
|
|
5765
|
-
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>)[];
|
|
5767
|
+
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 LengthMatchingSolver> | PipelineStep$2<typeof TraceWidthSolver> | PipelineStep$2<typeof GlobalDrcForceImproveSolver>)[];
|
|
5766
5768
|
constructor(srj: SimpleRouteJson, opts?: CapacityMeshSolverOptions$2);
|
|
5767
5769
|
private setSimpleRouteJson;
|
|
5768
5770
|
getConstructorParams(): readonly [SimpleRouteJson, CapacityMeshSolverOptions$2];
|