@tscircuit/capacity-autorouter 0.0.206 → 0.0.207
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 +4 -3
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1450,7 +1450,8 @@ declare class PortPointPathingSolver extends BaseSolver {
|
|
|
1450
1450
|
* - memoryPfMap to bias away from historically high Pf regions
|
|
1451
1451
|
*/
|
|
1452
1452
|
computeH(point: InputPortPoint, currentNodeId: CapacityMeshNodeId, endGoalNodeId: CapacityMeshNodeId, currentZ: number, distanceTraveled: number, hasTouchedOffBoardNode?: boolean): number;
|
|
1453
|
-
|
|
1453
|
+
getVisitedPortPointKey(portPointId: string, hasTouchedOffBoardNode?: boolean): string;
|
|
1454
|
+
getAvailableExitPortPoints(nodeId: CapacityMeshNodeId, hasTouchedOffBoardNode?: boolean): InputPortPoint[];
|
|
1454
1455
|
/**
|
|
1455
1456
|
* Get available port points to exit from a node, but *do not* return all.
|
|
1456
1457
|
*
|
|
@@ -1459,8 +1460,8 @@ declare class PortPointPathingSolver extends BaseSolver {
|
|
|
1459
1460
|
* - If that centermost port point is already assigned, also return some next-closest
|
|
1460
1461
|
* unassigned offsets as backups.
|
|
1461
1462
|
*/
|
|
1462
|
-
getAvailableExitPortPointsWithOmissions(nodeId: CapacityMeshNodeId, _endGoalNodeId: CapacityMeshNodeId): InputPortPoint[];
|
|
1463
|
-
getAvailableExitPortPointsForOffboardConnection(nodeId: CapacityMeshNodeId): (InputPortPoint & {
|
|
1463
|
+
getAvailableExitPortPointsWithOmissions(nodeId: CapacityMeshNodeId, _endGoalNodeId: CapacityMeshNodeId, hasTouchedOffBoardNode?: boolean): InputPortPoint[];
|
|
1464
|
+
getAvailableExitPortPointsForOffboardConnection(nodeId: CapacityMeshNodeId, hasTouchedOffBoardNode?: boolean): (InputPortPoint & {
|
|
1464
1465
|
throughNodeId: CapacityMeshNodeId;
|
|
1465
1466
|
})[];
|
|
1466
1467
|
canTravelThroughObstacle(node: InputNodeWithPortPoints, connectionName: string, rootConnectionName: string): boolean;
|