@tscircuit/capacity-autorouter 0.0.495 → 0.0.496
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 +30 -4
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5011,6 +5011,16 @@ declare class MultipleHighDensityRouteStitchSolver3 extends BaseSolver {
|
|
|
5011
5011
|
visualize(): GraphicsObject;
|
|
5012
5012
|
}
|
|
5013
5013
|
|
|
5014
|
+
declare class PreprocessSimpleRouteJsonSolver$1 extends BaseSolver {
|
|
5015
|
+
readonly inputSrj: SimpleRouteJson;
|
|
5016
|
+
outputSrj?: SimpleRouteJson;
|
|
5017
|
+
constructor(inputSrj: SimpleRouteJson);
|
|
5018
|
+
_step(): void;
|
|
5019
|
+
getOutputSimpleRouteJson(): SimpleRouteJson;
|
|
5020
|
+
getConstructorParams(): readonly [SimpleRouteJson];
|
|
5021
|
+
visualize(): GraphicsObject;
|
|
5022
|
+
}
|
|
5023
|
+
|
|
5014
5024
|
interface CapacityMeshSolverOptions$2 {
|
|
5015
5025
|
capacityDepth?: number;
|
|
5016
5026
|
targetMinCapacity?: number;
|
|
@@ -5028,8 +5038,9 @@ type PipelineStep$2<T extends new (...args: any[]) => BaseSolver> = {
|
|
|
5028
5038
|
onSolved?: (instance: AutoroutingPipelineSolver4_TinyHypergraph) => void;
|
|
5029
5039
|
};
|
|
5030
5040
|
declare class AutoroutingPipelineSolver4_TinyHypergraph extends BaseSolver {
|
|
5031
|
-
|
|
5041
|
+
srj: SimpleRouteJson;
|
|
5032
5042
|
readonly opts: CapacityMeshSolverOptions$2;
|
|
5043
|
+
preprocessSimpleRouteJsonSolver?: PreprocessSimpleRouteJsonSolver$1;
|
|
5033
5044
|
escapeViaLocationSolver?: EscapeViaLocationSolver;
|
|
5034
5045
|
netToPointPairsSolver?: NetToPointPairsSolver;
|
|
5035
5046
|
nodeSolver?: RectDiffPipeline;
|
|
@@ -5066,12 +5077,14 @@ declare class AutoroutingPipelineSolver4_TinyHypergraph extends BaseSolver {
|
|
|
5066
5077
|
connMap: ConnectivityMap;
|
|
5067
5078
|
srjWithEscapeViaLocations?: SimpleRouteJson;
|
|
5068
5079
|
srjWithPointPairs?: SimpleRouteJson;
|
|
5080
|
+
originalSrj: SimpleRouteJson;
|
|
5069
5081
|
capacityNodes: CapacityMeshNode[] | null;
|
|
5070
5082
|
capacityEdges: CapacityMeshEdge[] | null;
|
|
5071
5083
|
highDensityNodePortPoints?: NodeWithPortPoints[];
|
|
5072
5084
|
cacheProvider: CacheProvider | null;
|
|
5073
|
-
pipelineDef: (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 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>)[];
|
|
5085
|
+
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 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>)[];
|
|
5074
5086
|
constructor(srj: SimpleRouteJson, opts?: CapacityMeshSolverOptions$2);
|
|
5087
|
+
private setSimpleRouteJson;
|
|
5075
5088
|
getConstructorParams(): readonly [SimpleRouteJson, CapacityMeshSolverOptions$2];
|
|
5076
5089
|
currentPipelineStepIndex: number;
|
|
5077
5090
|
_step(): void;
|
|
@@ -5291,6 +5304,16 @@ declare class PolyHypergraphPortPointPathingSolver extends BaseSolver {
|
|
|
5291
5304
|
visualize(): GraphicsObject;
|
|
5292
5305
|
}
|
|
5293
5306
|
|
|
5307
|
+
declare class PreprocessSimpleRouteJsonSolver extends BaseSolver {
|
|
5308
|
+
readonly inputSrj: SimpleRouteJson;
|
|
5309
|
+
outputSrj?: SimpleRouteJson;
|
|
5310
|
+
constructor(inputSrj: SimpleRouteJson);
|
|
5311
|
+
_step(): void;
|
|
5312
|
+
getOutputSimpleRouteJson(): SimpleRouteJson;
|
|
5313
|
+
getConstructorParams(): readonly [SimpleRouteJson];
|
|
5314
|
+
visualize(): GraphicsObject;
|
|
5315
|
+
}
|
|
5316
|
+
|
|
5294
5317
|
declare class ProjectHighDensityToPolygonSolver extends BaseSolver {
|
|
5295
5318
|
getSolverName(): string;
|
|
5296
5319
|
routes: HighDensityIntraNodeRoute$1[];
|
|
@@ -5334,8 +5357,9 @@ type PipelineStep$1<T extends new (...args: any[]) => BaseSolver> = {
|
|
|
5334
5357
|
onSolved?: (instance: AutoroutingPipelineSolver6_PolyHypergraph) => void;
|
|
5335
5358
|
};
|
|
5336
5359
|
declare class AutoroutingPipelineSolver6_PolyHypergraph extends BaseSolver {
|
|
5337
|
-
|
|
5360
|
+
srj: SimpleRouteJson;
|
|
5338
5361
|
readonly opts: CapacityMeshSolverOptions$1;
|
|
5362
|
+
preprocessSimpleRouteJsonSolver?: PreprocessSimpleRouteJsonSolver;
|
|
5339
5363
|
escapeViaLocationSolver?: EscapeViaLocationSolver;
|
|
5340
5364
|
netToPointPairsSolver?: NetToPointPairsSolver;
|
|
5341
5365
|
polyGraphSolver?: PolyHypergraphPortPointPathingSolver;
|
|
@@ -5363,11 +5387,13 @@ declare class AutoroutingPipelineSolver6_PolyHypergraph extends BaseSolver {
|
|
|
5363
5387
|
connMap: ConnectivityMap;
|
|
5364
5388
|
srjWithEscapeViaLocations?: SimpleRouteJson;
|
|
5365
5389
|
srjWithPointPairs?: SimpleRouteJson;
|
|
5390
|
+
originalSrj: SimpleRouteJson;
|
|
5366
5391
|
highDensityNodePortPoints?: PolyNodeWithPortPoints[];
|
|
5367
5392
|
projectedHighDensityNodePortPoints?: PolyNodeWithPortPoints[];
|
|
5368
5393
|
cacheProvider: CacheProvider | null;
|
|
5369
|
-
pipelineDef: (PipelineStep$1<typeof EscapeViaLocationSolver> | PipelineStep$1<typeof NetToPointPairsSolver2_OffBoardConnection> | PipelineStep$1<typeof PolyHypergraphPortPointPathingSolver> | PipelineStep$1<typeof AttachProjectedRectsSolver> | PipelineStep$1<typeof PolyHighDensitySolver> | PipelineStep$1<typeof ProjectHighDensityToPolygonSolver> | PipelineStep$1<typeof MultipleHighDensityRouteStitchSolver3> | PipelineStep$1<typeof TraceSimplificationSolver> | PipelineStep$1<typeof TraceWidthSolver> | PipelineStep$1<typeof GlobalDrcForceImproveSolver>)[];
|
|
5394
|
+
pipelineDef: (PipelineStep$1<typeof PreprocessSimpleRouteJsonSolver> | PipelineStep$1<typeof EscapeViaLocationSolver> | PipelineStep$1<typeof NetToPointPairsSolver2_OffBoardConnection> | PipelineStep$1<typeof PolyHypergraphPortPointPathingSolver> | PipelineStep$1<typeof AttachProjectedRectsSolver> | PipelineStep$1<typeof PolyHighDensitySolver> | PipelineStep$1<typeof ProjectHighDensityToPolygonSolver> | PipelineStep$1<typeof MultipleHighDensityRouteStitchSolver3> | PipelineStep$1<typeof TraceSimplificationSolver> | PipelineStep$1<typeof TraceWidthSolver> | PipelineStep$1<typeof GlobalDrcForceImproveSolver>)[];
|
|
5370
5395
|
constructor(srj: SimpleRouteJson, opts?: CapacityMeshSolverOptions$1);
|
|
5396
|
+
private setSimpleRouteJson;
|
|
5371
5397
|
getConstructorParams(): readonly [SimpleRouteJson, CapacityMeshSolverOptions$1];
|
|
5372
5398
|
currentPipelineStepIndex: number;
|
|
5373
5399
|
_step(): void;
|