@tscircuit/capacity-autorouter 0.0.238 → 0.0.239
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 +3 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1335,6 +1335,8 @@ interface PortPointPathingHyperParameters {
|
|
|
1335
1335
|
RANDOM_RIP_FRACTION?: number;
|
|
1336
1336
|
/** When enabled, use jumper-based pf calculation for same-layer crossings on single layer nodes */
|
|
1337
1337
|
JUMPER_PF_FN_ENABLED?: boolean;
|
|
1338
|
+
/** Factor for penalizing deviation from straight line path */
|
|
1339
|
+
STRAIGHT_LINE_DEVIATION_PENALTY_FACTOR?: number;
|
|
1338
1340
|
}
|
|
1339
1341
|
/**
|
|
1340
1342
|
* An input port point without connectionName assigned yet.
|
|
@@ -1478,6 +1480,7 @@ declare class PortPointPathingSolver extends BaseSolver {
|
|
|
1478
1480
|
get NODE_MAX_PF(): number;
|
|
1479
1481
|
/** Penalty factor for port points that are far from the center of the segment */
|
|
1480
1482
|
get CENTER_OFFSET_DIST_PENALTY_FACTOR(): number;
|
|
1483
|
+
get STRAIGHT_LINE_DEVIATION_PENALTY_FACTOR(): number;
|
|
1481
1484
|
colorMap: Record<string, string>;
|
|
1482
1485
|
get GREEDY_MULTIPLIER(): number;
|
|
1483
1486
|
MAX_CANDIDATES_IN_MEMORY: number;
|