@tscircuit/capacity-autorouter 0.0.263 → 0.0.264
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 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2182,10 +2182,10 @@ interface Point3D$1 extends Point2D$2 {
|
|
|
2182
2182
|
}
|
|
2183
2183
|
interface TraceWidthSolverInput {
|
|
2184
2184
|
hdRoutes: HighDensityRoute$1[];
|
|
2185
|
+
connection: SimpleRouteConnection[];
|
|
2185
2186
|
obstacles?: Obstacle[];
|
|
2186
2187
|
connMap?: ConnectivityMap;
|
|
2187
2188
|
colorMap?: Record<string, string>;
|
|
2188
|
-
nominalTraceWidth?: number;
|
|
2189
2189
|
minTraceWidth: number;
|
|
2190
2190
|
obstacleMargin?: number;
|
|
2191
2191
|
}
|
|
@@ -2198,7 +2198,9 @@ interface TraceWidthSolverInput {
|
|
|
2198
2198
|
* If clearance is insufficient for the current width, it tries the next
|
|
2199
2199
|
* narrower width in the schedule.
|
|
2200
2200
|
*
|
|
2201
|
-
*
|
|
2201
|
+
* It only runs width adjustments for routes whose connection provides a
|
|
2202
|
+
* nominalTraceWidth; routes without one are passed through unchanged.
|
|
2203
|
+
* The schedule is built per-route from that connection's nominalTraceWidth.
|
|
2202
2204
|
*/
|
|
2203
2205
|
declare class TraceWidthSolver extends BaseSolver {
|
|
2204
2206
|
hdRoutes: HighDensityRoute$1[];
|
|
@@ -2207,6 +2209,7 @@ declare class TraceWidthSolver extends BaseSolver {
|
|
|
2207
2209
|
minTraceWidth: number;
|
|
2208
2210
|
obstacleMargin: number;
|
|
2209
2211
|
TRACE_WIDTH_SCHEDULE: number[];
|
|
2212
|
+
connectionNominalTraceWidthMap: Map<string, number>;
|
|
2210
2213
|
unprocessedRoutes: HighDensityRoute$1[];
|
|
2211
2214
|
processedRoutes: HighDensityRoute$1[];
|
|
2212
2215
|
currentTrace: HighDensityRoute$1 | null;
|
|
@@ -2225,6 +2228,7 @@ declare class TraceWidthSolver extends BaseSolver {
|
|
|
2225
2228
|
connMap?: ConnectivityMap;
|
|
2226
2229
|
colorMap?: Record<string, string>;
|
|
2227
2230
|
constructor(input: TraceWidthSolverInput);
|
|
2231
|
+
private getNominalTraceWidthForRoute;
|
|
2228
2232
|
_step(): void;
|
|
2229
2233
|
/**
|
|
2230
2234
|
* Initializes/resets the cursor for processing a trace
|