@tscircuit/capacity-autorouter 0.0.328 → 0.0.330
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 +8 -7
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -4,11 +4,11 @@ import * as graphics_debug from 'graphics-debug';
|
|
|
4
4
|
import { GraphicsObject, Rect, Circle, Line, Point as Point$5 } from 'graphics-debug';
|
|
5
5
|
import { BaseSolver as BaseSolver$1 } from '@tscircuit/solver-utils';
|
|
6
6
|
import Flatbush from 'flatbush';
|
|
7
|
-
import {
|
|
7
|
+
import { HighDensitySolverA02, NodeWithPortPoints as NodeWithPortPoints$1 } from '@tscircuit/high-density-a01';
|
|
8
|
+
import { ViaGraphSolver, ViaByNet, JumperGraphSolver, JRegion, JPort, Region, RegionPortAssignment, RegionPort, Connection, SolvedRoute, Candidate as Candidate$3, HyperGraph, HyperGraphSolver } from '@tscircuit/hypergraph';
|
|
8
9
|
import { Point3, Polygon } from '@tscircuit/math-utils';
|
|
9
10
|
import { CurvyTraceSolver } from '@tscircuit/curvy-trace-solver';
|
|
10
11
|
import { ConnectivityMap as ConnectivityMap$1 } from 'connectivity-map';
|
|
11
|
-
import { NodeWithPortPoints as NodeWithPortPoints$1 } from '@tscircuit/high-density-a01';
|
|
12
12
|
|
|
13
13
|
interface CacheProvider {
|
|
14
14
|
isSyncCache: boolean;
|
|
@@ -1486,7 +1486,6 @@ interface FixedTopologyHighDensityIntraNodeSolverParams {
|
|
|
1486
1486
|
nodeWithPortPoints: NodeWithPortPoints;
|
|
1487
1487
|
colorMap?: Record<string, string>;
|
|
1488
1488
|
traceWidth?: number;
|
|
1489
|
-
viaDiameter?: number;
|
|
1490
1489
|
connMap?: ConnectivityMap;
|
|
1491
1490
|
effort?: number;
|
|
1492
1491
|
}
|
|
@@ -1500,8 +1499,6 @@ declare class FixedTopologyHighDensityIntraNodeSolver extends BaseSolver {
|
|
|
1500
1499
|
nodeWithPortPoints: NodeWithPortPoints;
|
|
1501
1500
|
colorMap: Record<string, string>;
|
|
1502
1501
|
traceWidth: number;
|
|
1503
|
-
viaDiameter: number;
|
|
1504
|
-
viaTile: ViaTile;
|
|
1505
1502
|
connMap?: ConnectivityMap;
|
|
1506
1503
|
rootConnectionNameByConnectionId: Map<string, string | undefined>;
|
|
1507
1504
|
lastActiveSubSolver: ViaGraphSolver | null;
|
|
@@ -1511,7 +1508,6 @@ declare class FixedTopologyHighDensityIntraNodeSolver extends BaseSolver {
|
|
|
1511
1508
|
constructor(params: FixedTopologyHighDensityIntraNodeSolverParams);
|
|
1512
1509
|
getConstructorParams(): FixedTopologyHighDensityIntraNodeSolverParams;
|
|
1513
1510
|
private _getViaTileDiameter;
|
|
1514
|
-
private _resolveViaDiameter;
|
|
1515
1511
|
private _initializeGraph;
|
|
1516
1512
|
_step(): void;
|
|
1517
1513
|
private _upsertGlobalVia;
|
|
@@ -1529,7 +1525,7 @@ declare class FixedTopologyHighDensityIntraNodeSolver extends BaseSolver {
|
|
|
1529
1525
|
visualize(): graphics_debug.GraphicsObject;
|
|
1530
1526
|
}
|
|
1531
1527
|
|
|
1532
|
-
declare class HyperSingleIntraNodeSolver extends HyperParameterSupervisorSolver<IntraNodeRouteSolver | TwoCrossingRoutesHighDensitySolver | SingleTransitionCrossingRouteSolver | SingleTransitionIntraNodeSolver | FixedTopologyHighDensityIntraNodeSolver> {
|
|
1528
|
+
declare class HyperSingleIntraNodeSolver extends HyperParameterSupervisorSolver<IntraNodeRouteSolver | TwoCrossingRoutesHighDensitySolver | SingleTransitionCrossingRouteSolver | SingleTransitionIntraNodeSolver | FixedTopologyHighDensityIntraNodeSolver | HighDensitySolverA02> {
|
|
1533
1529
|
getSolverName(): string;
|
|
1534
1530
|
constructorParams: ConstructorParameters<typeof CachedIntraNodeRouteSolver>[0];
|
|
1535
1531
|
solvedRoutes: HighDensityIntraNodeRoute$1[];
|
|
@@ -1606,6 +1602,11 @@ declare class HyperSingleIntraNodeSolver extends HyperParameterSupervisorSolver<
|
|
|
1606
1602
|
possibleValues: {
|
|
1607
1603
|
FIXED_TOPOLOGY_HIGH_DENSITY_INTRA_NODE_SOLVER: boolean;
|
|
1608
1604
|
}[];
|
|
1605
|
+
} | {
|
|
1606
|
+
name: string;
|
|
1607
|
+
possibleValues: {
|
|
1608
|
+
HIGH_DENSITY_A02: boolean;
|
|
1609
|
+
}[];
|
|
1609
1610
|
})[];
|
|
1610
1611
|
computeG(solver: IntraNodeRouteSolver): number;
|
|
1611
1612
|
computeH(solver: IntraNodeRouteSolver): number;
|