egraph 6.0.0-beta.5 → 6.0.0-rc.2

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.
@@ -507,25 +507,25 @@ export class ClassicalMds {
507
507
  }
508
508
 
509
509
  /**
510
- * Detailed Grid-based Cluster Area Faithfulness (`G-CAF`) report returned by
511
- * `clusterAreaFaithfulnessDetail`.
510
+ * Grid-based Cluster Area Faithfulness (`G-CAF`) summary and optional per-cluster
511
+ * diagnostics returned by `clusterAreaFaithfulnessDetail` and `MetricReport.clusterAreaReport`.
512
512
  */
513
513
  export class ClusterAreaReport {
514
514
  private constructor();
515
515
  free(): void;
516
516
  [Symbol.dispose](): void;
517
- cafPerCluster(): Float64Array;
518
- clusterIds(): Uint32Array;
519
- coherence(): Float64Array;
520
- counts(): Uint32Array;
521
- p(): Float64Array;
522
- purity(): Float64Array;
523
- q(): Float64Array;
524
- resDeconvPerCluster(): Float64Array;
525
- resDensityPerCluster(): Float64Array;
526
- resolution(): Float64Array;
527
- /**
528
- * Converts summary and per-cluster diagnostics into a plain JavaScript object without `serde`.
517
+ cafPerCluster(): Float64Array | undefined;
518
+ clusterIds(): Uint32Array | undefined;
519
+ coherence(): Float64Array | undefined;
520
+ counts(): Uint32Array | undefined;
521
+ p(): Float64Array | undefined;
522
+ purity(): Float64Array | undefined;
523
+ q(): Float64Array | undefined;
524
+ resDeconvPerCluster(): Float64Array | undefined;
525
+ resDensityPerCluster(): Float64Array | undefined;
526
+ resolution(): Float64Array | undefined;
527
+ /**
528
+ * Converts summary and optional per-cluster diagnostics into a plain JavaScript object without `serde`.
529
529
  */
530
530
  toRecord(): object;
531
531
  readonly caf: number;
@@ -744,6 +744,63 @@ export class CoarsenedHierarchyResult {
744
744
  readonly numLevels: number;
745
745
  }
746
746
 
747
+ /**
748
+ * r" Intra-graph sibling repulsion acceleration backend for `CoseSolver` and `FcoseSolver`.
749
+ */
750
+ export enum CoseRepulsionBackend {
751
+ Grid = 0,
752
+ Exact = 1,
753
+ }
754
+
755
+ /**
756
+ * Cooperative Doğrusöz et al. (2009) Compound Spring Embedder (`CoSE`) solver (`f32`).
757
+ */
758
+ export class CoseSolver {
759
+ free(): void;
760
+ [Symbol.dispose](): void;
761
+ /**
762
+ * Returns the current per-node bounding rectangles (`centerX`, `centerY`, `width`, `height`,
763
+ * `minX`, `maxX`, `minY`, `maxY`).
764
+ */
765
+ compoundBounds(): Array<any>;
766
+ /**
767
+ * Constructs a `CoseSolver` from `graph` and optional `CoseOptions`.
768
+ */
769
+ constructor(graph: Graph, options: any);
770
+ /**
771
+ * Executes up to `steps` `CoSE` iterations on `layout` in place.
772
+ */
773
+ runSteps(layout: Layout2d, steps: number): SolverStatus;
774
+ /**
775
+ * Runs `CoSE` optimization to completion on `layout` in place.
776
+ */
777
+ run(layout: Layout2d): SolverStatus;
778
+ /**
779
+ * Executes one `CoSE` iteration on `layout` in place.
780
+ */
781
+ step(layout: Layout2d): SolverStatus;
782
+ /**
783
+ * Returns `true` when the solver has converged, completed, or failed.
784
+ */
785
+ readonly isFinished: boolean;
786
+ /**
787
+ * Returns the number of iterations executed so far.
788
+ */
789
+ readonly iteration: number;
790
+ /**
791
+ * Returns the expected vertex count.
792
+ */
793
+ readonly numNodes: number;
794
+ /**
795
+ * Returns the solver lifecycle status (`SolverStatus`).
796
+ */
797
+ readonly status: SolverStatus;
798
+ /**
799
+ * Returns the scheduled maximum iteration budget (`maxIterations`).
800
+ */
801
+ readonly totalIterations: number | undefined;
802
+ }
803
+
747
804
  /**
748
805
  * Non-adjacent crossing edge pair details returned by `crossingEdges`, `crossingEdgesSpherical`,
749
806
  * and `crossingEdgesHyperbolic`.
@@ -1277,6 +1334,88 @@ export class EigenResult {
1277
1334
  readonly usedDenseFallback: boolean;
1278
1335
  }
1279
1336
 
1337
+ /**
1338
+ * One-shot Balcı & Doğrusöz (2022) `fCoSE` Phase I spectral draft + Phase II constraint
1339
+ * alignment generator (`f32`).
1340
+ */
1341
+ export class FcoseDraftGenerator {
1342
+ free(): void;
1343
+ [Symbol.dispose](): void;
1344
+ /**
1345
+ * Returns the most recently computed per-node bounding rectangles.
1346
+ */
1347
+ compoundBounds(): Array<any>;
1348
+ /**
1349
+ * Generates the Phase I + Phase II constrained draft `Layout2d`.
1350
+ */
1351
+ generate(): Layout2d;
1352
+ /**
1353
+ * Constructs a validated `FcoseDraftGenerator` from `graph` and optional `FcoseOptions`.
1354
+ */
1355
+ constructor(graph: Graph, options: any);
1356
+ /**
1357
+ * Returns the expected vertex count.
1358
+ */
1359
+ readonly numNodes: number;
1360
+ }
1361
+
1362
+ /**
1363
+ * r" Quality preset for `FcoseDraftGenerator` and `FcoseSolver`.
1364
+ */
1365
+ export enum FcoseQuality {
1366
+ Default = 0,
1367
+ Proof = 1,
1368
+ }
1369
+
1370
+ /**
1371
+ * Cooperative Balcı & Doğrusöz (2022) Fast Compound Spring Embedder (`fCoSE`) solver (`f32`).
1372
+ */
1373
+ export class FcoseSolver {
1374
+ free(): void;
1375
+ [Symbol.dispose](): void;
1376
+ /**
1377
+ * Returns the current per-node bounding rectangles (`centerX`, `centerY`, `width`, `height`,
1378
+ * `minX`, `maxX`, `minY`, `maxY`).
1379
+ */
1380
+ compoundBounds(): Array<any>;
1381
+ /**
1382
+ * Constructs an `FcoseSolver` from `graph` and optional `FcoseOptions`.
1383
+ */
1384
+ constructor(graph: Graph, options: any);
1385
+ /**
1386
+ * Executes up to `steps` Phase III constrained `fCoSE` iterations on `layout` in place.
1387
+ */
1388
+ runSteps(layout: Layout2d, steps: number): SolverStatus;
1389
+ /**
1390
+ * Runs Phase III constrained `fCoSE` optimization to completion on `layout` in place.
1391
+ */
1392
+ run(layout: Layout2d): SolverStatus;
1393
+ /**
1394
+ * Executes one Phase III constrained `fCoSE` iteration on `layout` in place.
1395
+ */
1396
+ step(layout: Layout2d): SolverStatus;
1397
+ /**
1398
+ * Returns `true` when the solver has converged, completed, or failed.
1399
+ */
1400
+ readonly isFinished: boolean;
1401
+ /**
1402
+ * Returns the number of Phase III iterations executed so far.
1403
+ */
1404
+ readonly iteration: number;
1405
+ /**
1406
+ * Returns the expected vertex count.
1407
+ */
1408
+ readonly numNodes: number;
1409
+ /**
1410
+ * Returns the solver lifecycle status (`SolverStatus`).
1411
+ */
1412
+ readonly status: SolverStatus;
1413
+ /**
1414
+ * Returns the scheduled maximum Phase III iteration budget (`maxIterations`).
1415
+ */
1416
+ readonly totalIterations: number | undefined;
1417
+ }
1418
+
1280
1419
  /**
1281
1420
  * Cooperative Force-Directed Edge Bundling (`FDEB`) solver (`f32`) mutating `EdgePolylines`
1282
1421
  * in place across `"layout2d"`, `"layout3d"`, and `"layoutNd"`.
@@ -1342,6 +1481,40 @@ export class FdebSolver {
1342
1481
  readonly totalIterations: number | undefined;
1343
1482
  }
1344
1483
 
1484
+ /**
1485
+ * Per-step `IbFft` field telemetry counters returned by `TFdpSolver.lastFftStats()` and
1486
+ * `IbUmapSolver.lastFftStats()`.
1487
+ */
1488
+ export class FieldFftStats {
1489
+ private constructor();
1490
+ free(): void;
1491
+ [Symbol.dispose](): void;
1492
+ /**
1493
+ * Number of inverse 2D FFTs executed.
1494
+ */
1495
+ readonly inverseFfts: number;
1496
+ /**
1497
+ * Number of forward 2D FFTs executed on kernel grids.
1498
+ */
1499
+ readonly kernelForwardFfts: number;
1500
+ /**
1501
+ * Active FFT grid width.
1502
+ */
1503
+ readonly nx: number;
1504
+ /**
1505
+ * Active FFT grid height.
1506
+ */
1507
+ readonly ny: number;
1508
+ /**
1509
+ * Number of forward 2D FFTs executed on particle charge grids.
1510
+ */
1511
+ readonly particleForwardFfts: number;
1512
+ /**
1513
+ * Total `fft_2d` calls for this step.
1514
+ */
1515
+ readonly totalFft2dCalls: number;
1516
+ }
1517
+
1345
1518
  /**
1346
1519
  * r" Repulsion backend selector for `TFdpSolver`, `IbUmapSolver`, and `SelLayoutSolver`.
1347
1520
  */
@@ -2016,6 +2189,7 @@ export class IbUmapSolver {
2016
2189
  * Returns the effective per-vertex hub damping factors $\eta_i$ (`Float64Array`).
2017
2190
  */
2018
2191
  hubEta(): Float64Array;
2192
+ lastFftStats(): FieldFftStats | undefined;
2019
2193
  /**
2020
2194
  * Constructs an `IbUmapSolver` from a `Graph` using $O(|E|)$ 1+2-hop pairs and
2021
2195
  * regularized DoG Varadhan landmark ALT distances.
@@ -2968,6 +3142,7 @@ export class MetricReport {
2968
3142
  readonly calinskiHarabaszScore: number | undefined;
2969
3143
  readonly classDensityMeasure: number | undefined;
2970
3144
  readonly clusterAreaFaithfulness: number | undefined;
3145
+ readonly clusterAreaReport: ClusterAreaReport | undefined;
2971
3146
  readonly cqHacAmi: number | undefined;
2972
3147
  readonly cqHacHom: number | undefined;
2973
3148
  readonly cqKmeansAmi: number | undefined;
@@ -2978,6 +3153,10 @@ export class MetricReport {
2978
3153
  readonly crossingNumber: number | undefined;
2979
3154
  readonly crosslessness: number | undefined;
2980
3155
  readonly daviesBouldinScore: number | undefined;
3156
+ readonly degreeConstrainedGabrielGraphPreservation: number | undefined;
3157
+ readonly degreeConstrainedRelativeNeighborhoodPreservation: number | undefined;
3158
+ readonly degreeGabrielGraphPreservation: number | undefined;
3159
+ readonly degreeRelativeNeighborhoodPreservation: number | undefined;
2981
3160
  readonly distanceConsistency: number | undefined;
2982
3161
  readonly distributionConsistency: number | undefined;
2983
3162
  readonly gabrielGraphPreservation: number | undefined;
@@ -2986,6 +3165,7 @@ export class MetricReport {
2986
3165
  readonly histogramDensityMeasure: number | undefined;
2987
3166
  readonly idealEdgeLengths: number | undefined;
2988
3167
  readonly landmarkStratifiedRta: number | undefined;
3168
+ readonly layoutDegeneracyDetail: LayoutDegeneracy | undefined;
2989
3169
  readonly layoutDegeneracy: number | undefined;
2990
3170
  readonly minimumAngleA1: number | undefined;
2991
3171
  readonly minimumAngle: number | undefined;
@@ -3069,6 +3249,10 @@ export enum MetricTarget {
3069
3249
  PairwiseDistanceOverlapError = 45,
3070
3250
  SprawlterNn = 46,
3071
3251
  NorMetrics = 47,
3252
+ DegreeRelativeNeighborhoodPreservation = 48,
3253
+ DegreeGabrielGraphPreservation = 49,
3254
+ DegreeConstrainedRelativeNeighborhoodPreservation = 50,
3255
+ DegreeConstrainedGabrielGraphPreservation = 51,
3072
3256
  }
3073
3257
 
3074
3258
  /**
@@ -3359,7 +3543,13 @@ export class PrismOverlapRemoval {
3359
3543
  export class RdMds {
3360
3544
  free(): void;
3361
3545
  [Symbol.dispose](): void;
3362
- generate(graph: Graph): any;
3546
+ _generateEigenpairs(): any;
3547
+ _generateGraph(graph: Graph): any;
3548
+ /**
3549
+ * Constructs an `RdMds` generator from precomputed smallest nontrivial symmetric-Laplacian
3550
+ * eigenpairs `(lambdas, vectors, invSqrtDeg?, options?)`.
3551
+ */
3552
+ static fromEigenpairs(lambdas: any, vectors: any, inv_sqrt_deg_or_options: any, options: any): RdMds;
3363
3553
  constructor(options: any);
3364
3554
  }
3365
3555
 
@@ -4686,6 +4876,7 @@ export class TFdpSolver {
4686
4876
  * (`fromKnn(indptr, indices, weights?, options?)`).
4687
4877
  */
4688
4878
  static fromKnn(knn_or_indptr: any, indices_or_options: any, weights_or_options: any, options: any): TFdpSolver;
4879
+ lastFftStats(): FieldFftStats | undefined;
4689
4880
  /**
4690
4881
  * Constructs a `TFdpSolver` directly from a `Graph`.
4691
4882
  */
@@ -4784,10 +4975,27 @@ export class TsNetSolver {
4784
4975
  */
4785
4976
  static fromProbabilitiesWithStages(probs: SparseProbabilities, stages: any, options: any): TsNetSolver;
4786
4977
  static fromProbabilities(probs: SparseProbabilities, options: any): TsNetSolver;
4978
+ /**
4979
+ * Constructs a `graph t-SNE` ($w_2 = 0$) solver using exact 1-hop row-normalized
4980
+ * affinities with Stage-1 learning-rate warmup (`25` steps) and step-norm clipping (`2.0`).
4981
+ */
4982
+ static graphTsne(graph: Graph, options: any): TsNetSolver;
4983
+ /**
4984
+ * Constructs a classic two-stage `L-tsNET` solver using Partial BFS $k$-NN
4985
+ * ($k = \min(120, n - 1)$), fixed base learning rate `200.0`, and stage-2 repulsion
4986
+ * ($\lambda_r = 0.6$).
4987
+ */
4988
+ static lTsnet(graph: Graph, options: any): TsNetSolver;
4787
4989
  lastFftStats(): FitFieldStats | undefined;
4788
4990
  constructor(graph: Graph, options: any);
4789
4991
  static pure2Hop(graph: Graph, options: any): TsNetSolver;
4992
+ /**
4993
+ * Constructs a canonical `RN-tsNET` solver using row-normalized 1+2-hop probabilities,
4994
+ * Stage-1 learning-rate warmup (`25` steps), and step-norm clipping (`2.0`).
4995
+ */
4996
+ static rnTsnet(graph: Graph, options: any): TsNetSolver;
4790
4997
  readonly backend: TsNetBackend;
4998
+ readonly currentEffectiveLr: number;
4791
4999
  readonly currentStageLr: number;
4792
5000
  readonly isFinished: boolean;
4793
5001
  readonly iteration: number;
@@ -5025,15 +5233,92 @@ export function _daviesBouldinScoreManifold(layout: ManifoldLayout2d, labels: an
5025
5233
  export function _daviesBouldinScoreNd(layout: LayoutNd, labels: any): number;
5026
5234
 
5027
5235
  /**
5028
- * Computes Eades et al. (2017) unweighted shape-based Gabriel Graph preservation (`S_GG`).
5236
+ * Extracts Fang et al. (2025) degree-constrained Gabriel Graph (`dcGG`) edges on `Layout2d`.
5237
+ */
5238
+ export function _degreeConstrainedGabrielGraphEdges2d(graph: Graph, layout: Layout2d, proximity_num_sectors: any): Uint32Array;
5239
+
5240
+ export function _degreeConstrainedGabrielGraphEdges3d(graph: Graph, layout: Layout3d, proximity_num_sectors: any): Uint32Array;
5241
+
5242
+ export function _degreeConstrainedGabrielGraphEdgesManifold(g: Graph, l: ManifoldLayout2d, s: any): Uint32Array;
5243
+
5244
+ export function _degreeConstrainedGabrielGraphEdgesNd(g: Graph, l: LayoutNd, s: any): Uint32Array;
5245
+
5246
+ /**
5247
+ * Computes Fang et al. (2025) degree-constrained Gabriel Graph preservation (`Q_{dcGG}`) on `Layout2d`.
5248
+ */
5249
+ export function _degreeConstrainedGabrielGraphPreservation2d(graph: Graph, layout: Layout2d, proximity_num_sectors: any): number;
5250
+
5251
+ export function _degreeConstrainedGabrielGraphPreservation3d(graph: Graph, layout: Layout3d, proximity_num_sectors: any): number;
5252
+
5253
+ export function _degreeConstrainedGabrielGraphPreservationManifold(g: Graph, l: ManifoldLayout2d, s: any): number;
5254
+
5255
+ export function _degreeConstrainedGabrielGraphPreservationNd(g: Graph, l: LayoutNd, s: any): number;
5256
+
5257
+ /**
5258
+ * Extracts Fang et al. (2025) degree-constrained Relative Neighborhood Graph (`dcRNG`) edges on `Layout2d`.
5259
+ */
5260
+ export function _degreeConstrainedRelativeNeighborhoodEdges2d(graph: Graph, layout: Layout2d, proximity_num_sectors: any): Uint32Array;
5261
+
5262
+ export function _degreeConstrainedRelativeNeighborhoodEdges3d(graph: Graph, layout: Layout3d, proximity_num_sectors: any): Uint32Array;
5263
+
5264
+ export function _degreeConstrainedRelativeNeighborhoodEdgesManifold(g: Graph, l: ManifoldLayout2d, s: any): Uint32Array;
5265
+
5266
+ export function _degreeConstrainedRelativeNeighborhoodEdgesNd(g: Graph, l: LayoutNd, s: any): Uint32Array;
5267
+
5268
+ /**
5269
+ * Computes Fang et al. (2025) degree-constrained Relative Neighborhood Graph preservation (`Q_{dcRNG}`) on `Layout2d`.
5270
+ */
5271
+ export function _degreeConstrainedRelativeNeighborhoodPreservation2d(graph: Graph, layout: Layout2d, proximity_num_sectors: any): number;
5272
+
5273
+ export function _degreeConstrainedRelativeNeighborhoodPreservation3d(graph: Graph, layout: Layout3d, proximity_num_sectors: any): number;
5274
+
5275
+ export function _degreeConstrainedRelativeNeighborhoodPreservationManifold(g: Graph, l: ManifoldLayout2d, s: any): number;
5276
+
5277
+ export function _degreeConstrainedRelativeNeighborhoodPreservationNd(g: Graph, l: LayoutNd, s: any): number;
5278
+
5279
+ /**
5280
+ * Extracts Hong et al. (2022) degree-aware Gabriel Graph (`dGG`) edges on `Layout2d`.
5281
+ */
5282
+ export function _degreeGabrielGraphEdges2d(graph: Graph, layout: Layout2d, proximity_num_sectors: any): Uint32Array;
5283
+
5284
+ export function _degreeGabrielGraphEdges3d(graph: Graph, layout: Layout3d, proximity_num_sectors: any): Uint32Array;
5285
+
5286
+ export function _degreeGabrielGraphEdgesManifold(g: Graph, l: ManifoldLayout2d, s: any): Uint32Array;
5287
+
5288
+ export function _degreeGabrielGraphEdgesNd(g: Graph, l: LayoutNd, s: any): Uint32Array;
5289
+
5290
+ /**
5291
+ * Computes Hong et al. (2022) degree-aware Gabriel Graph preservation (`Q_{dGG}`) on `Layout2d`.
5029
5292
  */
5030
- export function _dggPreservation2d(graph: Graph, layout: Layout2d): number;
5293
+ export function _degreeGabrielGraphPreservation2d(graph: Graph, layout: Layout2d, proximity_num_sectors: any): number;
5294
+
5295
+ export function _degreeGabrielGraphPreservation3d(graph: Graph, layout: Layout3d, proximity_num_sectors: any): number;
5296
+
5297
+ export function _degreeGabrielGraphPreservationManifold(g: Graph, l: ManifoldLayout2d, s: any): number;
5031
5298
 
5032
- export function _dggPreservation3d(graph: Graph, layout: Layout3d): number;
5299
+ export function _degreeGabrielGraphPreservationNd(g: Graph, l: LayoutNd, s: any): number;
5300
+
5301
+ /**
5302
+ * Extracts Hong et al. (2022) degree-aware Relative Neighborhood Graph (`dRNG`) edges on `Layout2d`.
5303
+ */
5304
+ export function _degreeRelativeNeighborhoodEdges2d(graph: Graph, layout: Layout2d, proximity_num_sectors: any): Uint32Array;
5305
+
5306
+ export function _degreeRelativeNeighborhoodEdges3d(graph: Graph, layout: Layout3d, proximity_num_sectors: any): Uint32Array;
5307
+
5308
+ export function _degreeRelativeNeighborhoodEdgesManifold(g: Graph, l: ManifoldLayout2d, s: any): Uint32Array;
5309
+
5310
+ export function _degreeRelativeNeighborhoodEdgesNd(g: Graph, l: LayoutNd, s: any): Uint32Array;
5311
+
5312
+ /**
5313
+ * Computes Hong et al. (2022) degree-aware Relative Neighborhood Graph preservation (`Q_{dRNG}`) on `Layout2d`.
5314
+ */
5315
+ export function _degreeRelativeNeighborhoodPreservation2d(graph: Graph, layout: Layout2d, proximity_num_sectors: any): number;
5033
5316
 
5034
- export function _dggPreservationManifold(graph: Graph, layout: ManifoldLayout2d): number;
5317
+ export function _degreeRelativeNeighborhoodPreservation3d(graph: Graph, layout: Layout3d, proximity_num_sectors: any): number;
5035
5318
 
5036
- export function _dggPreservationNd(graph: Graph, layout: LayoutNd): number;
5319
+ export function _degreeRelativeNeighborhoodPreservationManifold(g: Graph, l: ManifoldLayout2d, s: any): number;
5320
+
5321
+ export function _degreeRelativeNeighborhoodPreservationNd(g: Graph, l: LayoutNd, s: any): number;
5037
5322
 
5038
5323
  export function _distanceConsistency2d(layout: Layout2d, labels: any): number;
5039
5324
 
@@ -5051,17 +5336,6 @@ export function _distributionConsistencyManifold(layout: ManifoldLayout2d, label
5051
5336
 
5052
5337
  export function _distributionConsistencyNd(layout: LayoutNd, labels: any, options: any): number;
5053
5338
 
5054
- /**
5055
- * Computes Eades et al. (2017) unweighted shape-based Relative Neighborhood Graph preservation (`S_RNG`).
5056
- */
5057
- export function _drngPreservation2d(graph: Graph, layout: Layout2d): number;
5058
-
5059
- export function _drngPreservation3d(graph: Graph, layout: Layout3d): number;
5060
-
5061
- export function _drngPreservationManifold(graph: Graph, layout: ManifoldLayout2d): number;
5062
-
5063
- export function _drngPreservationNd(graph: Graph, layout: LayoutNd): number;
5064
-
5065
5339
  /**
5066
5340
  * Selectively evaluates quality metrics on `Layout2d` without an `originalLayout`.
5067
5341
  */
@@ -5098,6 +5372,17 @@ export function _gabrielGraphEdgesManifold(layout: ManifoldLayout2d): Uint32Arra
5098
5372
 
5099
5373
  export function _gabrielGraphEdgesNd(layout: LayoutNd): Uint32Array;
5100
5374
 
5375
+ /**
5376
+ * Computes Eades et al. (2017) unweighted shape-based Gabriel Graph preservation (`S_GG`).
5377
+ */
5378
+ export function _gabrielGraphPreservation2d(graph: Graph, layout: Layout2d, proximity_num_sectors: any): number;
5379
+
5380
+ export function _gabrielGraphPreservation3d(graph: Graph, layout: Layout3d, proximity_num_sectors: any): number;
5381
+
5382
+ export function _gabrielGraphPreservationManifold(graph: Graph, layout: ManifoldLayout2d, proximity_num_sectors: any): number;
5383
+
5384
+ export function _gabrielGraphPreservationNd(graph: Graph, layout: LayoutNd, proximity_num_sectors: any): number;
5385
+
5101
5386
  /**
5102
5387
  * Computes Gabriel graph condition violations across `graph` edges under `layout`.
5103
5388
  */
@@ -5226,6 +5511,17 @@ export function _relativeNeighborhoodEdgesManifold(layout: ManifoldLayout2d): Ui
5226
5511
 
5227
5512
  export function _relativeNeighborhoodEdgesNd(layout: LayoutNd): Uint32Array;
5228
5513
 
5514
+ /**
5515
+ * Computes Eades et al. (2017) unweighted shape-based Relative Neighborhood Graph preservation (`S_RNG`).
5516
+ */
5517
+ export function _relativeNeighborhoodPreservation2d(graph: Graph, layout: Layout2d, proximity_num_sectors: any): number;
5518
+
5519
+ export function _relativeNeighborhoodPreservation3d(graph: Graph, layout: Layout3d, proximity_num_sectors: any): number;
5520
+
5521
+ export function _relativeNeighborhoodPreservationManifold(graph: Graph, layout: ManifoldLayout2d, proximity_num_sectors: any): number;
5522
+
5523
+ export function _relativeNeighborhoodPreservationNd(graph: Graph, layout: LayoutNd, proximity_num_sectors: any): number;
5524
+
5229
5525
  /**
5230
5526
  * Estimates 1-hop neighborhood preservation (`NP1`) via vertex sampling (`options?: { numSamples?, seed? }`).
5231
5527
  */
@@ -5426,13 +5722,20 @@ export function aspectRatio(layout: Layout2d): number;
5426
5722
  */
5427
5723
  export function assignLayers(graph: Graph, method: any): Uint32Array;
5428
5724
 
5725
+ /**
5726
+ * Appends one root-level compound parent node per distinct cluster ID in `clusterIds`
5727
+ * (in canonical first-appearance order) and returns `{ graph, parents }`.
5728
+ */
5729
+ export function augmentGraphWithClusterParents(graph: Graph, cluster_ids: any): any;
5730
+
5429
5731
  /**
5430
5732
  * Runs single-source unweighted BFS from `source`, scaling each hop by `unitEdgeLength` (default `1.0`).
5431
5733
  */
5432
5734
  export function bfsSingleSource(graph: Graph, source: number, unit_edge_length?: number | null): Float64Array;
5433
5735
 
5434
5736
  /**
5435
- * Builds a hub-safe capped 1+2-hop CSR `KnnGraph` with `{1.0, 2.0}` distances and degree statistics.
5737
+ * Builds a capped 1+2-hop CSR `KnnGraph` with `{1.0, 2.0}` distances and degree statistics
5738
+ * using `TwoHopSamplingMode::TwoStepRandomWalk` (`maxBridgeDegree = None`).
5436
5739
  */
5437
5740
  export function buildCapped12hopKnn(graph: Graph, max_2hop_per_node: number | null | undefined, seed: any): TwoHopKnnResult;
5438
5741
 
@@ -5691,12 +5994,14 @@ export function extract1hopTetherWeights(graph: Graph, probs: SparseProbabilitie
5691
5994
  export function extractQuadrilateralBackbone(graph: Graph, options: any): BackboneResult;
5692
5995
 
5693
5996
  /**
5694
- * Extracts canonical undirected 1-hop and hub-safe capped 2-hop vertex pair arrays `Sparse12HopPairs`.
5997
+ * Extracts canonical undirected 1-hop and capped 2-hop vertex pair arrays `Sparse12HopPairs`
5998
+ * using `TwoHopSamplingMode::TwoStepRandomWalk` (`maxBridgeDegree = None`).
5695
5999
  */
5696
6000
  export function extractSparse1hop2hopPairs(graph: Graph, max_2hop_per_node: number | null | undefined, seed: any): Sparse12HopPairs;
5697
6001
 
5698
6002
  /**
5699
- * Extracts canonical 1-hop and 2-hop pairs using an explicit `TwoHopSamplingMode` and optional `maxBridgeDegree`.
6003
+ * Extracts canonical 1-hop and 2-hop pairs using an explicit `TwoHopSamplingMode`
6004
+ * (default `TwoStepRandomWalk`) and optional `maxBridgeDegree`.
5700
6005
  */
5701
6006
  export function extractSparse1hop2hopPairsWithMode(graph: Graph, options: any): Sparse12HopPairs;
5702
6007
 
@@ -6172,6 +6477,7 @@ export interface InitOutput {
6172
6477
  readonly __wbg_coarsebackboneresult_free: (a: number, b: number) => void;
6173
6478
  readonly __wbg_coarsenedgraphresult_free: (a: number, b: number) => void;
6174
6479
  readonly __wbg_coarsenedhierarchyresult_free: (a: number, b: number) => void;
6480
+ readonly __wbg_cosesolver_free: (a: number, b: number) => void;
6175
6481
  readonly __wbg_crossingpair_free: (a: number, b: number) => void;
6176
6482
  readonly __wbg_crossingsummary_free: (a: number, b: number) => void;
6177
6483
  readonly __wbg_csrmatrix_free: (a: number, b: number) => void;
@@ -6185,7 +6491,10 @@ export interface InitOutput {
6185
6491
  readonly __wbg_edgepolylines_free: (a: number, b: number) => void;
6186
6492
  readonly __wbg_effectiveresistanceresult_free: (a: number, b: number) => void;
6187
6493
  readonly __wbg_eigenresult_free: (a: number, b: number) => void;
6494
+ readonly __wbg_fcosedraftgenerator_free: (a: number, b: number) => void;
6495
+ readonly __wbg_fcosesolver_free: (a: number, b: number) => void;
6188
6496
  readonly __wbg_fdebsolver_free: (a: number, b: number) => void;
6497
+ readonly __wbg_fieldfftstats_free: (a: number, b: number) => void;
6189
6498
  readonly __wbg_fieldrepulsionkernel_free: (a: number, b: number) => void;
6190
6499
  readonly __wbg_fitfieldstats_free: (a: number, b: number) => void;
6191
6500
  readonly __wbg_forbidoverlapremoval_free: (a: number, b: number) => void;
@@ -6284,10 +6593,38 @@ export interface InitOutput {
6284
6593
  readonly _daviesBouldinScore3d: (a: number, b: number, c: any) => void;
6285
6594
  readonly _daviesBouldinScoreManifold: (a: number, b: number, c: any) => void;
6286
6595
  readonly _daviesBouldinScoreNd: (a: number, b: number, c: any) => void;
6287
- readonly _dggPreservation2d: (a: number, b: number, c: number) => void;
6288
- readonly _dggPreservation3d: (a: number, b: number, c: number) => void;
6289
- readonly _dggPreservationManifold: (a: number, b: number, c: number) => void;
6290
- readonly _dggPreservationNd: (a: number, b: number, c: number) => void;
6596
+ readonly _degreeConstrainedGabrielGraphEdges2d: (a: number, b: number, c: number, d: any) => void;
6597
+ readonly _degreeConstrainedGabrielGraphEdges3d: (a: number, b: number, c: number, d: any) => void;
6598
+ readonly _degreeConstrainedGabrielGraphEdgesManifold: (a: number, b: number, c: number, d: any) => void;
6599
+ readonly _degreeConstrainedGabrielGraphEdgesNd: (a: number, b: number, c: number, d: any) => void;
6600
+ readonly _degreeConstrainedGabrielGraphPreservation2d: (a: number, b: number, c: number, d: any) => void;
6601
+ readonly _degreeConstrainedGabrielGraphPreservation3d: (a: number, b: number, c: number, d: any) => void;
6602
+ readonly _degreeConstrainedGabrielGraphPreservationManifold: (a: number, b: number, c: number, d: any) => void;
6603
+ readonly _degreeConstrainedGabrielGraphPreservationNd: (a: number, b: number, c: number, d: any) => void;
6604
+ readonly _degreeConstrainedRelativeNeighborhoodEdges2d: (a: number, b: number, c: number, d: any) => void;
6605
+ readonly _degreeConstrainedRelativeNeighborhoodEdges3d: (a: number, b: number, c: number, d: any) => void;
6606
+ readonly _degreeConstrainedRelativeNeighborhoodEdgesManifold: (a: number, b: number, c: number, d: any) => void;
6607
+ readonly _degreeConstrainedRelativeNeighborhoodEdgesNd: (a: number, b: number, c: number, d: any) => void;
6608
+ readonly _degreeConstrainedRelativeNeighborhoodPreservation2d: (a: number, b: number, c: number, d: any) => void;
6609
+ readonly _degreeConstrainedRelativeNeighborhoodPreservation3d: (a: number, b: number, c: number, d: any) => void;
6610
+ readonly _degreeConstrainedRelativeNeighborhoodPreservationManifold: (a: number, b: number, c: number, d: any) => void;
6611
+ readonly _degreeConstrainedRelativeNeighborhoodPreservationNd: (a: number, b: number, c: number, d: any) => void;
6612
+ readonly _degreeGabrielGraphEdges2d: (a: number, b: number, c: number, d: any) => void;
6613
+ readonly _degreeGabrielGraphEdges3d: (a: number, b: number, c: number, d: any) => void;
6614
+ readonly _degreeGabrielGraphEdgesManifold: (a: number, b: number, c: number, d: any) => void;
6615
+ readonly _degreeGabrielGraphEdgesNd: (a: number, b: number, c: number, d: any) => void;
6616
+ readonly _degreeGabrielGraphPreservation2d: (a: number, b: number, c: number, d: any) => void;
6617
+ readonly _degreeGabrielGraphPreservation3d: (a: number, b: number, c: number, d: any) => void;
6618
+ readonly _degreeGabrielGraphPreservationManifold: (a: number, b: number, c: number, d: any) => void;
6619
+ readonly _degreeGabrielGraphPreservationNd: (a: number, b: number, c: number, d: any) => void;
6620
+ readonly _degreeRelativeNeighborhoodEdges2d: (a: number, b: number, c: number, d: any) => void;
6621
+ readonly _degreeRelativeNeighborhoodEdges3d: (a: number, b: number, c: number, d: any) => void;
6622
+ readonly _degreeRelativeNeighborhoodEdgesManifold: (a: number, b: number, c: number, d: any) => void;
6623
+ readonly _degreeRelativeNeighborhoodEdgesNd: (a: number, b: number, c: number, d: any) => void;
6624
+ readonly _degreeRelativeNeighborhoodPreservation2d: (a: number, b: number, c: number, d: any) => void;
6625
+ readonly _degreeRelativeNeighborhoodPreservation3d: (a: number, b: number, c: number, d: any) => void;
6626
+ readonly _degreeRelativeNeighborhoodPreservationManifold: (a: number, b: number, c: number, d: any) => void;
6627
+ readonly _degreeRelativeNeighborhoodPreservationNd: (a: number, b: number, c: number, d: any) => void;
6291
6628
  readonly _distanceConsistency2d: (a: number, b: number, c: any) => void;
6292
6629
  readonly _distanceConsistency3d: (a: number, b: number, c: any) => void;
6293
6630
  readonly _distanceConsistencyManifold: (a: number, b: number, c: any) => void;
@@ -6296,10 +6633,6 @@ export interface InitOutput {
6296
6633
  readonly _distributionConsistency3d: (a: number, b: number, c: any, d: any) => void;
6297
6634
  readonly _distributionConsistencyManifold: (a: number, b: number, c: any, d: any) => void;
6298
6635
  readonly _distributionConsistencyNd: (a: number, b: number, c: any, d: any) => void;
6299
- readonly _drngPreservation2d: (a: number, b: number, c: number) => void;
6300
- readonly _drngPreservation3d: (a: number, b: number, c: number) => void;
6301
- readonly _drngPreservationManifold: (a: number, b: number, c: number) => void;
6302
- readonly _drngPreservationNd: (a: number, b: number, c: number) => void;
6303
6636
  readonly _evaluateMetrics2d: (a: number, b: number, c: number, d: any, e: any) => void;
6304
6637
  readonly _evaluateMetrics2dWithOriginal: (a: number, b: number, c: number, d: any, e: any, f: number) => void;
6305
6638
  readonly _evaluateMetrics3d: (a: number, b: number, c: number, d: any, e: any) => void;
@@ -6309,6 +6642,10 @@ export interface InitOutput {
6309
6642
  readonly _gabrielGraphEdges3d: (a: number, b: number) => void;
6310
6643
  readonly _gabrielGraphEdgesManifold: (a: number, b: number) => void;
6311
6644
  readonly _gabrielGraphEdgesNd: (a: number, b: number) => void;
6645
+ readonly _gabrielGraphPreservation2d: (a: number, b: number, c: number, d: any) => void;
6646
+ readonly _gabrielGraphPreservation3d: (a: number, b: number, c: number, d: any) => void;
6647
+ readonly _gabrielGraphPreservationManifold: (a: number, b: number, c: number, d: any) => void;
6648
+ readonly _gabrielGraphPreservationNd: (a: number, b: number, c: number, d: any) => void;
6312
6649
  readonly _gabrielGraphProperty2d: (a: number, b: number, c: number) => void;
6313
6650
  readonly _gabrielGraphProperty3d: (a: number, b: number, c: number) => void;
6314
6651
  readonly _gabrielGraphPropertyManifold: (a: number, b: number, c: number) => void;
@@ -6361,6 +6698,10 @@ export interface InitOutput {
6361
6698
  readonly _relativeNeighborhoodEdges3d: (a: number, b: number) => void;
6362
6699
  readonly _relativeNeighborhoodEdgesManifold: (a: number, b: number) => void;
6363
6700
  readonly _relativeNeighborhoodEdgesNd: (a: number, b: number) => void;
6701
+ readonly _relativeNeighborhoodPreservation2d: (a: number, b: number, c: number, d: any) => void;
6702
+ readonly _relativeNeighborhoodPreservation3d: (a: number, b: number, c: number, d: any) => void;
6703
+ readonly _relativeNeighborhoodPreservationManifold: (a: number, b: number, c: number, d: any) => void;
6704
+ readonly _relativeNeighborhoodPreservationNd: (a: number, b: number, c: number, d: any) => void;
6364
6705
  readonly _sampledNp12d: (a: number, b: number, c: number, d: any) => void;
6365
6706
  readonly _sampledNp13d: (a: number, b: number, c: number, d: any) => void;
6366
6707
  readonly _sampledNp1Manifold: (a: number, b: number, c: number, d: any) => void;
@@ -6498,6 +6839,7 @@ export interface InitOutput {
6498
6839
  readonly arenaoctree3d_traversalStackCap: (a: number) => number;
6499
6840
  readonly aspectRatio: (a: number, b: number) => void;
6500
6841
  readonly assignLayers: (a: number, b: number, c: any) => void;
6842
+ readonly augmentGraphWithClusterParents: (a: number, b: number, c: any) => void;
6501
6843
  readonly backboneresult_backboneCsr: (a: number) => number;
6502
6844
  readonly backboneresult_backboneEdges: (a: number, b: number) => void;
6503
6845
  readonly backboneresult_edgeWeights: (a: number, b: number) => void;
@@ -6642,6 +6984,16 @@ export interface InitOutput {
6642
6984
  readonly computeRegularizedDogVaradhanLandmarks: (a: number, b: number, c: any) => void;
6643
6985
  readonly computeRegularizedDogVaradhanLandmarksFromMatrix: (a: number, b: number, c: number, d: any) => void;
6644
6986
  readonly computeResistanceEmbedding: (a: number, b: number, c: any) => void;
6987
+ readonly cosesolver_compoundBounds: (a: number, b: number) => void;
6988
+ readonly cosesolver_isFinished: (a: number) => number;
6989
+ readonly cosesolver_iteration: (a: number) => number;
6990
+ readonly cosesolver_new: (a: number, b: number, c: any) => void;
6991
+ readonly cosesolver_numNodes: (a: number) => number;
6992
+ readonly cosesolver_run: (a: number, b: number, c: number) => void;
6993
+ readonly cosesolver_runSteps: (a: number, b: number, c: number, d: number) => void;
6994
+ readonly cosesolver_status: (a: number) => number;
6995
+ readonly cosesolver_step: (a: number, b: number, c: number) => void;
6996
+ readonly cosesolver_totalIterations: (a: number) => number;
6645
6997
  readonly crossingEdges: (a: number, b: number, c: number) => void;
6646
6998
  readonly crossingEdgesHyperbolic: (a: number, b: number, c: number) => void;
6647
6999
  readonly crossingEdgesSpherical: (a: number, b: number, c: number) => void;
@@ -6805,6 +7157,20 @@ export interface InitOutput {
6805
7157
  readonly extractQuadrilateralBackbone: (a: number, b: number, c: any) => void;
6806
7158
  readonly extractSparse1hop2hopPairs: (a: number, b: number, c: number, d: number, e: any) => void;
6807
7159
  readonly extractSparse1hop2hopPairsWithMode: (a: number, b: number, c: any) => void;
7160
+ readonly fcosedraftgenerator_compoundBounds: (a: number, b: number) => void;
7161
+ readonly fcosedraftgenerator_generate: (a: number, b: number) => void;
7162
+ readonly fcosedraftgenerator_new: (a: number, b: number, c: any) => void;
7163
+ readonly fcosedraftgenerator_numNodes: (a: number) => number;
7164
+ readonly fcosesolver_compoundBounds: (a: number, b: number) => void;
7165
+ readonly fcosesolver_isFinished: (a: number) => number;
7166
+ readonly fcosesolver_iteration: (a: number) => number;
7167
+ readonly fcosesolver_new: (a: number, b: number, c: any) => void;
7168
+ readonly fcosesolver_numNodes: (a: number) => number;
7169
+ readonly fcosesolver_run: (a: number, b: number, c: number) => void;
7170
+ readonly fcosesolver_runSteps: (a: number, b: number, c: number, d: number) => void;
7171
+ readonly fcosesolver_status: (a: number) => number;
7172
+ readonly fcosesolver_step: (a: number, b: number, c: number) => void;
7173
+ readonly fcosesolver_totalIterations: (a: number) => number;
6808
7174
  readonly fdebsolver_currentCycle: (a: number) => number;
6809
7175
  readonly fdebsolver_dims: (a: number) => number;
6810
7176
  readonly fdebsolver_isFinished: (a: number) => number;
@@ -6819,6 +7185,12 @@ export interface InitOutput {
6819
7185
  readonly fdebsolver_step: (a: number, b: number, c: number) => void;
6820
7186
  readonly fdebsolver_target: (a: number) => number;
6821
7187
  readonly fdebsolver_totalIterations: (a: number) => number;
7188
+ readonly fieldfftstats_inverseFfts: (a: number) => number;
7189
+ readonly fieldfftstats_kernelForwardFfts: (a: number) => number;
7190
+ readonly fieldfftstats_nx: (a: number) => number;
7191
+ readonly fieldfftstats_ny: (a: number) => number;
7192
+ readonly fieldfftstats_particleForwardFfts: (a: number) => number;
7193
+ readonly fieldfftstats_totalFft2dCalls: (a: number) => number;
6822
7194
  readonly fieldrepulsionkernel_cauchy: () => number;
6823
7195
  readonly fieldrepulsionkernel_gamma: (a: number, b: number) => void;
6824
7196
  readonly fieldrepulsionkernel_generalizedCauchy: (a: number, b: number) => void;
@@ -7035,6 +7407,7 @@ export interface InitOutput {
7035
7407
  readonly ibumapsolver_hubEta: (a: number, b: number) => void;
7036
7408
  readonly ibumapsolver_isFinished: (a: number) => number;
7037
7409
  readonly ibumapsolver_iteration: (a: number) => number;
7410
+ readonly ibumapsolver_lastFftStats: (a: number) => number;
7038
7411
  readonly ibumapsolver_new: (a: number, b: number, c: any) => void;
7039
7412
  readonly ibumapsolver_numEdges: (a: number) => number;
7040
7413
  readonly ibumapsolver_numNodes: (a: number) => number;
@@ -7311,6 +7684,7 @@ export interface InitOutput {
7311
7684
  readonly metricreport_calinskiHarabaszScore: (a: number, b: number) => void;
7312
7685
  readonly metricreport_classDensityMeasure: (a: number, b: number) => void;
7313
7686
  readonly metricreport_clusterAreaFaithfulness: (a: number, b: number) => void;
7687
+ readonly metricreport_clusterAreaReport: (a: number) => number;
7314
7688
  readonly metricreport_cqHacAmi: (a: number, b: number) => void;
7315
7689
  readonly metricreport_cqHacHom: (a: number, b: number) => void;
7316
7690
  readonly metricreport_cqKmeansAmi: (a: number, b: number) => void;
@@ -7321,6 +7695,10 @@ export interface InitOutput {
7321
7695
  readonly metricreport_crossingNumber: (a: number) => number;
7322
7696
  readonly metricreport_crosslessness: (a: number, b: number) => void;
7323
7697
  readonly metricreport_daviesBouldinScore: (a: number, b: number) => void;
7698
+ readonly metricreport_degreeConstrainedGabrielGraphPreservation: (a: number, b: number) => void;
7699
+ readonly metricreport_degreeConstrainedRelativeNeighborhoodPreservation: (a: number, b: number) => void;
7700
+ readonly metricreport_degreeGabrielGraphPreservation: (a: number, b: number) => void;
7701
+ readonly metricreport_degreeRelativeNeighborhoodPreservation: (a: number, b: number) => void;
7324
7702
  readonly metricreport_distanceConsistency: (a: number, b: number) => void;
7325
7703
  readonly metricreport_distributionConsistency: (a: number, b: number) => void;
7326
7704
  readonly metricreport_gabrielGraphPreservation: (a: number, b: number) => void;
@@ -7330,6 +7708,7 @@ export interface InitOutput {
7330
7708
  readonly metricreport_idealEdgeLengths: (a: number, b: number) => void;
7331
7709
  readonly metricreport_landmarkStratifiedRta: (a: number, b: number) => void;
7332
7710
  readonly metricreport_layoutDegeneracy: (a: number, b: number) => void;
7711
+ readonly metricreport_layoutDegeneracyDetail: (a: number) => number;
7333
7712
  readonly metricreport_minimumAngle: (a: number, b: number) => void;
7334
7713
  readonly metricreport_minimumAngleA1: (a: number, b: number) => void;
7335
7714
  readonly metricreport_neighborhoodHit: (a: number, b: number) => void;
@@ -7459,7 +7838,9 @@ export interface InitOutput {
7459
7838
  readonly projectRectangleNoOverlap2d: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
7460
7839
  readonly randomWalkLaplacian: (a: number) => number;
7461
7840
  readonly rdMds: (a: number, b: number, c: any) => void;
7462
- readonly rdmds_generate: (a: number, b: number, c: number) => void;
7841
+ readonly rdmds__generateEigenpairs: (a: number, b: number) => void;
7842
+ readonly rdmds__generateGraph: (a: number, b: number, c: number) => void;
7843
+ readonly rdmds_fromEigenpairs: (a: number, b: any, c: any, d: any, e: any) => void;
7463
7844
  readonly rdmds_new: (a: number, b: any) => void;
7464
7845
  readonly rectangleOverlaps: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
7465
7846
  readonly refineClusterLayout: (a: number, b: number, c: any, d: any) => void;
@@ -7821,6 +8202,7 @@ export interface InitOutput {
7821
8202
  readonly tfdpsolver_fromKnn: (a: number, b: any, c: any, d: any, e: any) => void;
7822
8203
  readonly tfdpsolver_isFinished: (a: number) => number;
7823
8204
  readonly tfdpsolver_iteration: (a: number) => number;
8205
+ readonly tfdpsolver_lastFftStats: (a: number) => number;
7824
8206
  readonly tfdpsolver_new: (a: number, b: number, c: any) => void;
7825
8207
  readonly tfdpsolver_numEdges: (a: number) => number;
7826
8208
  readonly tfdpsolver_numNodes: (a: number) => number;
@@ -7858,6 +8240,7 @@ export interface InitOutput {
7858
8240
  readonly tsnetsolver__stepManifold: (a: number, b: number, c: number) => void;
7859
8241
  readonly tsnetsolver__stepNd: (a: number, b: number, c: number) => void;
7860
8242
  readonly tsnetsolver_backend: (a: number) => number;
8243
+ readonly tsnetsolver_currentEffectiveLr: (a: number) => number;
7861
8244
  readonly tsnetsolver_currentStageLr: (a: number) => number;
7862
8245
  readonly tsnetsolver_fromGraphPartialBfs: (a: number, b: number, c: any) => void;
7863
8246
  readonly tsnetsolver_fromGraphRowNormalized: (a: number, b: number, c: any) => void;
@@ -7865,13 +8248,16 @@ export interface InitOutput {
7865
8248
  readonly tsnetsolver_fromKnn: (a: number, b: number, c: any) => void;
7866
8249
  readonly tsnetsolver_fromProbabilities: (a: number, b: number, c: any) => void;
7867
8250
  readonly tsnetsolver_fromProbabilitiesWithStages: (a: number, b: number, c: any, d: any) => void;
8251
+ readonly tsnetsolver_graphTsne: (a: number, b: number, c: any) => void;
7868
8252
  readonly tsnetsolver_isFinished: (a: number) => number;
7869
8253
  readonly tsnetsolver_iteration: (a: number) => number;
8254
+ readonly tsnetsolver_lTsnet: (a: number, b: number, c: any) => void;
7870
8255
  readonly tsnetsolver_lastFftStats: (a: number) => number;
7871
8256
  readonly tsnetsolver_new: (a: number, b: number, c: any) => void;
7872
8257
  readonly tsnetsolver_numNodes: (a: number) => number;
7873
8258
  readonly tsnetsolver_pure2Hop: (a: number, b: number, c: any) => void;
7874
8259
  readonly tsnetsolver_resolvedBackend: (a: number) => number;
8260
+ readonly tsnetsolver_rnTsnet: (a: number, b: number, c: any) => void;
7875
8261
  readonly tsnetsolver_samplingMode: (a: number) => number;
7876
8262
  readonly tsnetsolver_stageIndex: (a: number) => number;
7877
8263
  readonly tsnetsolver_status: (a: number) => number;