@tscircuit/capacity-autorouter 0.0.699 → 0.0.700
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 +29 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5597,6 +5597,33 @@ declare class ComponentDetectionSolver extends BasePipelineSolver<ComponentDetec
|
|
|
5597
5597
|
initialVisualize(): GraphicsObject | null;
|
|
5598
5598
|
}
|
|
5599
5599
|
|
|
5600
|
+
type FragmentedObstacleConnectivitySolverInput = {
|
|
5601
|
+
meshNodes: readonly CapacityMeshNode[];
|
|
5602
|
+
obstacles: readonly Obstacle[];
|
|
5603
|
+
connections: readonly SimpleRouteConnection[];
|
|
5604
|
+
layerCount: number;
|
|
5605
|
+
};
|
|
5606
|
+
/** Preserves net identity on RectDiff regions made from fragmented copper. */
|
|
5607
|
+
declare class FragmentedObstacleConnectivitySolver extends BaseSolver$1 {
|
|
5608
|
+
readonly inputProblem: FragmentedObstacleConnectivitySolverInput;
|
|
5609
|
+
private fragmentGroups;
|
|
5610
|
+
private groupsWithoutRoutingExits;
|
|
5611
|
+
private outputNodes;
|
|
5612
|
+
private updatedNodeIds;
|
|
5613
|
+
private currentFragmentGroupIndex;
|
|
5614
|
+
private currentMeshNodeIndex;
|
|
5615
|
+
private phase;
|
|
5616
|
+
constructor(inputProblem: FragmentedObstacleConnectivitySolverInput);
|
|
5617
|
+
_setup(): void;
|
|
5618
|
+
_step(): void;
|
|
5619
|
+
getConstructorParams(): [FragmentedObstacleConnectivitySolverInput];
|
|
5620
|
+
getOutput(): CapacityMeshNode[];
|
|
5621
|
+
computeProgress(): number;
|
|
5622
|
+
visualize(): GraphicsObject;
|
|
5623
|
+
private addConnectionNames;
|
|
5624
|
+
private updateStats;
|
|
5625
|
+
}
|
|
5626
|
+
|
|
5600
5627
|
/** Shared output collected from each component-specific topology generator. */
|
|
5601
5628
|
interface TopologyGeneratorSolverOutput {
|
|
5602
5629
|
routingRegions: CapacityMeshNode[];
|
|
@@ -5760,6 +5787,7 @@ declare class AutoroutingPipelineSolver7_MultiGraph extends BaseSolver {
|
|
|
5760
5787
|
topologyMergingSolver?: TopologyMergingSolver;
|
|
5761
5788
|
globalTopologyGeneratorSolver?: RectDiffPipeline;
|
|
5762
5789
|
nodeDimensionSubdivisionSolver?: NodeDimensionSubdivisionSolver;
|
|
5790
|
+
fragmentedObstacleConnectivitySolver?: FragmentedObstacleConnectivitySolver;
|
|
5763
5791
|
nodeTargetMerger?: CapacityNodeTargetMerger;
|
|
5764
5792
|
edgeSolver?: CapacityMeshEdgeSolver;
|
|
5765
5793
|
colorMap: Record<string, string>;
|
|
@@ -5803,7 +5831,7 @@ declare class AutoroutingPipelineSolver7_MultiGraph extends BaseSolver {
|
|
|
5803
5831
|
sharedEdgeSegmentsWithNecessaryCrampedPortPoints?: SharedEdgeSegment[];
|
|
5804
5832
|
highDensityNodePortPoints?: NodeWithPortPoints[];
|
|
5805
5833
|
cacheProvider: CacheProvider | null;
|
|
5806
|
-
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> | PipelineStep$2<typeof GlobalDrcBranchPortfolioSolver>)[];
|
|
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 FragmentedObstacleConnectivitySolver> | 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> | PipelineStep$2<typeof GlobalDrcBranchPortfolioSolver>)[];
|
|
5807
5835
|
constructor(srj: SimpleRouteJson, opts?: CapacityMeshSolverOptions$2);
|
|
5808
5836
|
private setSimpleRouteJson;
|
|
5809
5837
|
getConstructorParams(): readonly [SimpleRouteJson, CapacityMeshSolverOptions$2];
|