@tscircuit/capacity-autorouter 0.0.549 → 0.0.550
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 +5 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -863,6 +863,8 @@ interface SegmentPortPoint {
|
|
|
863
863
|
* ideally this port points should be discarded but we need them in some cases
|
|
864
864
|
*/
|
|
865
865
|
cramped: boolean;
|
|
866
|
+
/** Extra tiny-hypergraph traversal cost for fallback ports. */
|
|
867
|
+
tinyHypergraphPortPenalty?: number;
|
|
866
868
|
}
|
|
867
869
|
interface SharedEdgeSegment {
|
|
868
870
|
edgeId: string;
|
|
@@ -4627,6 +4629,7 @@ declare class MultiTargetNecessaryCrampedPortPointSolver extends BaseSolver$1 {
|
|
|
4627
4629
|
private crampedPortPointsToKeep;
|
|
4628
4630
|
private candidatesAtDepth;
|
|
4629
4631
|
private isRunningCrampedPass;
|
|
4632
|
+
private filteredOutput?;
|
|
4630
4633
|
activeSubSolver: SingleTargetNecessaryCrampedPortPointSolver | null;
|
|
4631
4634
|
/**
|
|
4632
4635
|
* NOTE: I do not like maps, add a capacityMeshNode ref inside SegmentPortPoints
|
|
@@ -4639,6 +4642,7 @@ declare class MultiTargetNecessaryCrampedPortPointSolver extends BaseSolver$1 {
|
|
|
4639
4642
|
_setup(): void;
|
|
4640
4643
|
_step(): void;
|
|
4641
4644
|
getOutput(): SharedEdgeSegment[];
|
|
4645
|
+
private isMultilayerEscapePort;
|
|
4642
4646
|
visualize(): GraphicsObject;
|
|
4643
4647
|
}
|
|
4644
4648
|
|
|
@@ -4649,6 +4653,7 @@ type RawPort = {
|
|
|
4649
4653
|
z: number;
|
|
4650
4654
|
distToCentermostPortOnZ: number;
|
|
4651
4655
|
regions: RegionHg[];
|
|
4656
|
+
tinyHypergraphPortPenalty?: number;
|
|
4652
4657
|
};
|
|
4653
4658
|
type RegionPortHg = Omit<RegionPort, "d" | "port"> & {
|
|
4654
4659
|
d: RawPort;
|