@tscircuit/capacity-autorouter 0.0.845 → 0.0.847
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 +11 -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
|
@@ -1861,6 +1861,7 @@ type GrowShrinkHighDensityIntraNodeSolverParams = PortfolioSingleIntraNodeSolver
|
|
|
1861
1861
|
maxGrowthAttempts?: number;
|
|
1862
1862
|
maxInnerIterationsPerGrowthAttempt?: number;
|
|
1863
1863
|
fallbackToInvalidGeometryOnFailure?: boolean;
|
|
1864
|
+
growShrinkSolutionValidator?: (routes: HighDensityIntraNodeRoute$1[]) => boolean;
|
|
1864
1865
|
};
|
|
1865
1866
|
declare class GrowShrinkHighDensityIntraNodeSolver extends BaseSolver {
|
|
1866
1867
|
getSolverName(): string;
|
|
@@ -1900,6 +1901,7 @@ declare class HighDensitySolver extends BaseSolver {
|
|
|
1900
1901
|
preserveTerminalPcbPortIds: boolean;
|
|
1901
1902
|
growShrinkMaxInnerIterationsPerGrowthAttempt?: number;
|
|
1902
1903
|
growShrinkFallbackToInvalidGeometryOnFailure: boolean;
|
|
1904
|
+
growShrinkSolutionValidator?: (routes: HighDensityIntraNodeRoute$1[]) => boolean;
|
|
1903
1905
|
captureSearchDebug: boolean;
|
|
1904
1906
|
failedSolvers: HighDensityIntraNodeSolver[];
|
|
1905
1907
|
activeSubSolver: HighDensityIntraNodeSolver | null;
|
|
@@ -1914,7 +1916,7 @@ declare class HighDensitySolver extends BaseSolver {
|
|
|
1914
1916
|
nodePf: number | null;
|
|
1915
1917
|
error?: string;
|
|
1916
1918
|
}>;
|
|
1917
|
-
constructor({ nodePortPoints, colorMap, connMap, viaDiameter, traceWidth, obstacleMargin, effort, nodePfById, obstacles, layerCount, useGrowShrinkHighDensityIntraNodeSolver, preserveTerminalPcbPortIds, growShrinkMaxInnerIterationsPerGrowthAttempt, growShrinkFallbackToInvalidGeometryOnFailure, captureSearchDebug, }: {
|
|
1919
|
+
constructor({ nodePortPoints, colorMap, connMap, viaDiameter, traceWidth, obstacleMargin, effort, nodePfById, obstacles, layerCount, useGrowShrinkHighDensityIntraNodeSolver, preserveTerminalPcbPortIds, growShrinkMaxInnerIterationsPerGrowthAttempt, growShrinkFallbackToInvalidGeometryOnFailure, growShrinkSolutionValidator, captureSearchDebug, }: {
|
|
1918
1920
|
nodePortPoints: NodeWithPortPoints[];
|
|
1919
1921
|
colorMap?: Record<string, string>;
|
|
1920
1922
|
connMap?: ConnectivityMap;
|
|
@@ -1928,6 +1930,7 @@ declare class HighDensitySolver extends BaseSolver {
|
|
|
1928
1930
|
preserveTerminalPcbPortIds?: boolean;
|
|
1929
1931
|
growShrinkMaxInnerIterationsPerGrowthAttempt?: number;
|
|
1930
1932
|
growShrinkFallbackToInvalidGeometryOnFailure?: boolean;
|
|
1933
|
+
growShrinkSolutionValidator?: (routes: HighDensityIntraNodeRoute$1[]) => boolean;
|
|
1931
1934
|
captureSearchDebug?: boolean;
|
|
1932
1935
|
nodePfById?: Map<CapacityMeshNodeId, number | null> | Record<string, number | null>;
|
|
1933
1936
|
});
|
|
@@ -6162,6 +6165,9 @@ type Pipeline9RegionalFallbackSolverParams = {
|
|
|
6162
6165
|
effort: number;
|
|
6163
6166
|
nodePfById?: Map<CapacityMeshNodeId, number | null> | Record<string, number | null>;
|
|
6164
6167
|
obstacles: Obstacle[];
|
|
6168
|
+
boardObstacles?: Obstacle[];
|
|
6169
|
+
movablePreloadedConnectionNames?: ReadonlySet<string>;
|
|
6170
|
+
viaToPadClearance?: number;
|
|
6165
6171
|
layerCount: number;
|
|
6166
6172
|
};
|
|
6167
6173
|
/** Runs the regular high-density cleanup pipeline for a B01 fallback region. */
|
|
@@ -6173,6 +6179,7 @@ declare class Pipeline9RegionalFallbackSolver extends BaseSolver {
|
|
|
6173
6179
|
private phase;
|
|
6174
6180
|
constructor(params: Pipeline9RegionalFallbackSolverParams);
|
|
6175
6181
|
getSolverName(): string;
|
|
6182
|
+
private validateCandidateRoutes;
|
|
6176
6183
|
_step(): void;
|
|
6177
6184
|
getOutput(): HighDensityRoute$1[];
|
|
6178
6185
|
visualize(): GraphicsObject;
|
|
@@ -6188,6 +6195,7 @@ type Pipeline9HighDensitySolverParams = {
|
|
|
6188
6195
|
viaDiameter: number;
|
|
6189
6196
|
traceWidth: number;
|
|
6190
6197
|
obstacleMargin: number;
|
|
6198
|
+
viaToPadClearance?: number;
|
|
6191
6199
|
effort: number;
|
|
6192
6200
|
nodePfById?: Map<CapacityMeshNodeId, number | null> | Record<string, number | null>;
|
|
6193
6201
|
preserveTerminalPcbPortIds?: boolean;
|
|
@@ -6209,6 +6217,7 @@ declare class Pipeline9HighDensitySolver extends BaseSolver {
|
|
|
6209
6217
|
readonly viaDiameter: number;
|
|
6210
6218
|
readonly traceWidth: number;
|
|
6211
6219
|
readonly obstacleMargin: number;
|
|
6220
|
+
readonly viaToPadClearance?: number;
|
|
6212
6221
|
readonly effort: number;
|
|
6213
6222
|
readonly nodePfById: Map<CapacityMeshNodeId, number | null>;
|
|
6214
6223
|
readonly preserveTerminalPcbPortIds: boolean;
|
|
@@ -6236,6 +6245,7 @@ declare class Pipeline9HighDensitySolver extends BaseSolver {
|
|
|
6236
6245
|
private startRegularSolver;
|
|
6237
6246
|
private startRegionalFallback;
|
|
6238
6247
|
private finishRegionalFallback;
|
|
6248
|
+
private recordRegionalCandidateRejections;
|
|
6239
6249
|
_step(): void;
|
|
6240
6250
|
visualize(): GraphicsObject;
|
|
6241
6251
|
}
|