@tscircuit/hypergraph 0.0.63 → 0.0.65
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 +0 -3
- package/dist/index.js +1 -6
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -210,7 +210,6 @@ declare class HyperGraphSolver<RegionType extends Region = Region, RegionPortTyp
|
|
|
210
210
|
ripCost: number;
|
|
211
211
|
inputSolvedRoutes: SolvedRoute[];
|
|
212
212
|
};
|
|
213
|
-
getOutput(): SolvedRoute[];
|
|
214
213
|
computeH(candidate: CandidateType): number;
|
|
215
214
|
/**
|
|
216
215
|
* OVERRIDE THIS
|
|
@@ -338,7 +337,6 @@ declare class HyperGraphSectionOptimizer extends BaseSolver {
|
|
|
338
337
|
inputSolvedRoutes: SolvedRoute[];
|
|
339
338
|
expansionHopsFromCentralRegion: number;
|
|
340
339
|
createHyperGraphSolver: CreateHyperGraphSolver;
|
|
341
|
-
computeRegionCost: (region: Region) => number;
|
|
342
340
|
regionCost: (region: Region) => number;
|
|
343
341
|
effort: number;
|
|
344
342
|
ACCEPTABLE_REGION_COST: number;
|
|
@@ -367,7 +365,6 @@ declare class HyperGraphSectionOptimizer extends BaseSolver {
|
|
|
367
365
|
inputSolvedRoutes: SolvedRoute[];
|
|
368
366
|
expansionHopsFromCentralRegion: number;
|
|
369
367
|
createHyperGraphSolver: CreateHyperGraphSolver;
|
|
370
|
-
computeRegionCost: (region: Region) => number;
|
|
371
368
|
regionCost: (region: Region) => number;
|
|
372
369
|
effort: number;
|
|
373
370
|
ACCEPTABLE_REGION_COST: number;
|
package/dist/index.js
CHANGED
|
@@ -1851,9 +1851,6 @@ var HyperGraphSolver = class extends BaseSolver {
|
|
|
1851
1851
|
inputSolvedRoutes: this.solvedRoutes
|
|
1852
1852
|
};
|
|
1853
1853
|
}
|
|
1854
|
-
getOutput() {
|
|
1855
|
-
return this.solvedRoutes;
|
|
1856
|
-
}
|
|
1857
1854
|
computeH(candidate) {
|
|
1858
1855
|
return this.estimateCostToEnd(candidate.port);
|
|
1859
1856
|
}
|
|
@@ -2658,9 +2655,7 @@ var getOrCreateBoundaryRegion = ({
|
|
|
2658
2655
|
d: {
|
|
2659
2656
|
isBoundaryRegion: true,
|
|
2660
2657
|
boundaryPortId: port.portId,
|
|
2661
|
-
|
|
2662
|
-
isThroughJumper: false,
|
|
2663
|
-
isConnectionRegion: true,
|
|
2658
|
+
...port.d,
|
|
2664
2659
|
center: { x, y },
|
|
2665
2660
|
bounds: {
|
|
2666
2661
|
minX: x - 0.05,
|