@tscircuit/capacity-autorouter 0.0.42 → 0.0.43
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 -0
- package/dist/index.js +363 -114
- package/dist/index.js.map +1 -1
- package/package.json +5 -3
package/dist/index.d.ts
CHANGED
|
@@ -103,6 +103,7 @@ declare class BaseSolver {
|
|
|
103
103
|
/** DO NOT OVERRIDE! Override _step() instead */
|
|
104
104
|
step(): void;
|
|
105
105
|
_step(): void;
|
|
106
|
+
getConstructorParams(): void;
|
|
106
107
|
solve(): void;
|
|
107
108
|
visualize(): GraphicsObject;
|
|
108
109
|
/**
|
|
@@ -1391,6 +1392,13 @@ declare class SingleSimplifiedPathSolver extends BaseSolver {
|
|
|
1391
1392
|
connMap: ConnectivityMap;
|
|
1392
1393
|
colorMap: Record<string, string>;
|
|
1393
1394
|
});
|
|
1395
|
+
getConstructorParams(): {
|
|
1396
|
+
inputRoute: HighDensityIntraNodeRoute;
|
|
1397
|
+
otherHdRoutes: HighDensityIntraNodeRoute[];
|
|
1398
|
+
obstacles: Obstacle[];
|
|
1399
|
+
connMap: Record<string, string[]>;
|
|
1400
|
+
colorMap: Record<string, string>;
|
|
1401
|
+
};
|
|
1394
1402
|
get simplifiedRoute(): HighDensityIntraNodeRoute;
|
|
1395
1403
|
isValidPath(pointsInRoute: Point[]): boolean;
|
|
1396
1404
|
_step(): void;
|