@tscircuit/capacity-autorouter 0.0.336 → 0.0.338
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 +9 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1627,14 +1627,20 @@ declare class HighDensitySolver extends BaseSolver {
|
|
|
1627
1627
|
failedSolvers: (IntraNodeRouteSolver | HyperSingleIntraNodeSolver)[];
|
|
1628
1628
|
activeSubSolver: IntraNodeRouteSolver | HyperSingleIntraNodeSolver | null;
|
|
1629
1629
|
connMap?: ConnectivityMap;
|
|
1630
|
-
|
|
1630
|
+
nodePfById: Map<string, number | null>;
|
|
1631
|
+
constructor({ nodePortPoints, colorMap, connMap, viaDiameter, traceWidth, effort, nodePfById, }: {
|
|
1631
1632
|
nodePortPoints: NodeWithPortPoints[];
|
|
1632
1633
|
colorMap?: Record<string, string>;
|
|
1633
1634
|
connMap?: ConnectivityMap;
|
|
1634
1635
|
viaDiameter?: number;
|
|
1635
1636
|
traceWidth?: number;
|
|
1636
1637
|
effort?: number;
|
|
1638
|
+
nodePfById?: Map<string, number | null> | Record<string, number | null>;
|
|
1637
1639
|
});
|
|
1640
|
+
private getSolvedNodeSolverType;
|
|
1641
|
+
private getConcreteSolverTypeName;
|
|
1642
|
+
private getIntraNodeStrategyName;
|
|
1643
|
+
private recordSolvedNodeStats;
|
|
1638
1644
|
/**
|
|
1639
1645
|
* Each iteration, pop an unsolved node and attempt to find the routes inside
|
|
1640
1646
|
* of it.
|
|
@@ -2050,6 +2056,7 @@ declare class HyperPortPointPathingSolver extends HyperParameterSupervisorSolver
|
|
|
2050
2056
|
* Get node assigned port points from the winning solver
|
|
2051
2057
|
*/
|
|
2052
2058
|
get nodeAssignedPortPoints(): Map<any, any>;
|
|
2059
|
+
computeNodePf(node: InputNodeWithPortPoints): number | null;
|
|
2053
2060
|
/**
|
|
2054
2061
|
* Compute board score from the winning solver
|
|
2055
2062
|
*/
|
|
@@ -4620,6 +4627,7 @@ declare class HgPortPointPathingSolver extends HyperGraphSolver<RegionHg, Region
|
|
|
4620
4627
|
private computeRegionPfWithAdditionalSegment;
|
|
4621
4628
|
private getRegionRippingPfThreshold;
|
|
4622
4629
|
private computeRegionPf;
|
|
4630
|
+
computeNodePf(node: InputNodeWithPortPoints): number | null;
|
|
4623
4631
|
getOutput(): {
|
|
4624
4632
|
nodesWithPortPoints: NodeWithPortPoints$1[];
|
|
4625
4633
|
inputNodeWithPortPoints: InputNodeWithPortPoints[];
|