egraph 6.0.0-alpha.7 → 6.0.0-alpha.8

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.
@@ -219,6 +219,191 @@ export class AnisotropicLaplacianResult {
219
219
  outerScale(): Float64Array;
220
220
  }
221
221
 
222
+ /**
223
+ * Quadrilateral Simmelian backbone extraction output (`Nocaj et al. 2015`).
224
+ */
225
+ export class BackboneResult {
226
+ private constructor();
227
+ free(): void;
228
+ [Symbol.dispose](): void;
229
+ /**
230
+ * Returns a cloned weighted undirected `CsrGraph` representing the reweighted backbone.
231
+ */
232
+ backboneCsr(): CsrGraph;
233
+ /**
234
+ * Returns flat `[u0, v0, u1, v1, ...]` backbone edge endpoints (`Uint32Array`).
235
+ */
236
+ backboneEdges(): Uint32Array;
237
+ /**
238
+ * Returns final reweighted edge weights corresponding to `backboneEdges` (`Float64Array`).
239
+ */
240
+ edgeWeights(): Float64Array;
241
+ /**
242
+ * Returns per-edge Simmelian prefix-Jaccard weights (`Float64Array`).
243
+ */
244
+ simmelianWeights(): Float64Array;
245
+ /**
246
+ * Converts edge and weight arrays into a plain JavaScript object without requiring `serde`.
247
+ */
248
+ toRecord(): object;
249
+ /**
250
+ * Returns flat `[u0, v0, u1, v1, ...]` Union of Maximum Spanning Trees edges (`Uint32Array`).
251
+ */
252
+ umstEdges(): Uint32Array;
253
+ }
254
+
255
+ /**
256
+ * Cooperative Quadrilateral Simmelian Backbone layout solver (`f32`).
257
+ */
258
+ export class BackboneSolver {
259
+ free(): void;
260
+ [Symbol.dispose](): void;
261
+ /**
262
+ * Returns the extracted `BackboneResult`.
263
+ */
264
+ backboneResult(): BackboneResult;
265
+ /**
266
+ * Constructs a `BackboneSolver` from `graph` and optional `BackboneOptions`.
267
+ */
268
+ constructor(graph: CsrGraph, options: any);
269
+ /**
270
+ * Executes up to `steps` backbone layout iterations on `layout` in place.
271
+ */
272
+ runSteps(layout: Layout2d, steps: number): string;
273
+ /**
274
+ * Runs backbone layout optimization to completion on `layout` in place.
275
+ */
276
+ run(layout: Layout2d): string;
277
+ /**
278
+ * Executes one backbone layout iteration on `layout` in place.
279
+ */
280
+ step(layout: Layout2d): string;
281
+ /**
282
+ * Returns `true` when the solver has converged or completed.
283
+ */
284
+ readonly isFinished: boolean;
285
+ /**
286
+ * Returns the number of iterations executed so far.
287
+ */
288
+ readonly iteration: number;
289
+ /**
290
+ * Returns the expected vertex count.
291
+ */
292
+ readonly numNodes: number;
293
+ /**
294
+ * Returns the solver lifecycle status string.
295
+ */
296
+ readonly status: string;
297
+ /**
298
+ * Returns the scheduled iteration count.
299
+ */
300
+ readonly totalIterations: number;
301
+ }
302
+
303
+ /**
304
+ * Class Density Measure (`cdm`) and 2D Histogram Density Measure (`hdm`) returned by `classDensityMeasure`.
305
+ */
306
+ export class ClassDensityResult {
307
+ private constructor();
308
+ free(): void;
309
+ [Symbol.dispose](): void;
310
+ toRecord(): object;
311
+ readonly cdm: number;
312
+ readonly hdm: number;
313
+ }
314
+
315
+ /**
316
+ * Detailed Grid-based Cluster Area Faithfulness (`G-CAF`) report returned by
317
+ * `clusterAreaFaithfulnessDetail`.
318
+ */
319
+ export class ClusterAreaReport {
320
+ private constructor();
321
+ free(): void;
322
+ [Symbol.dispose](): void;
323
+ cafPerCluster(): Float64Array;
324
+ clusterIds(): Uint32Array;
325
+ coherence(): Float64Array;
326
+ counts(): Uint32Array;
327
+ p(): Float64Array;
328
+ purity(): Float64Array;
329
+ q(): Float64Array;
330
+ resDeconvPerCluster(): Float64Array;
331
+ resDensityPerCluster(): Float64Array;
332
+ resolution(): Float64Array;
333
+ /**
334
+ * Converts summary and per-cluster diagnostics into a plain JavaScript object without `serde`.
335
+ */
336
+ toRecord(): object;
337
+ readonly caf: number;
338
+ readonly effectiveBoundaryR95: number;
339
+ readonly gEff: number;
340
+ readonly inFrac: number;
341
+ readonly numClusters: number;
342
+ readonly numNodes: number;
343
+ readonly propVis: number;
344
+ readonly purityAdj: number;
345
+ readonly resCombined: number;
346
+ readonly resDeconv: number;
347
+ readonly resDensity: number;
348
+ readonly spatialCoherence: number;
349
+ }
350
+
351
+ /**
352
+ * Cooperative cluster-faithful layout refiner (`Cluster-kmeans` / `Cluster-HAC`, `f32`).
353
+ */
354
+ export class ClusterRefineSolver {
355
+ free(): void;
356
+ [Symbol.dispose](): void;
357
+ /**
358
+ * Constructs a `ClusterRefineSolver` with graph topology for `hac` mean edge-length scaling.
359
+ */
360
+ static fromGraph(graph: CsrGraph, cluster_labels: any, options: any): ClusterRefineSolver;
361
+ /**
362
+ * Constructs a `ClusterRefineSolver` from `clusterLabels` without graph edge lengths.
363
+ */
364
+ constructor(cluster_labels: any, options: any);
365
+ /**
366
+ * Executes up to `steps` refinement rounds on `layout` in place.
367
+ */
368
+ runSteps(layout: Layout2d, steps: number): string;
369
+ /**
370
+ * Runs cluster refinement to completion on `layout` in place.
371
+ */
372
+ run(layout: Layout2d): string;
373
+ /**
374
+ * Executes one refinement round on `layout` in place.
375
+ */
376
+ step(layout: Layout2d): string;
377
+ /**
378
+ * Returns `true` when the solver has converged or completed.
379
+ */
380
+ readonly isFinished: boolean;
381
+ /**
382
+ * Returns the number of rounds executed so far.
383
+ */
384
+ readonly iteration: number;
385
+ /**
386
+ * Returns the number of misplaced vertices shifted in the most recent round.
387
+ */
388
+ readonly lastMovedCount: number;
389
+ /**
390
+ * Returns the number of distinct compacted clusters.
391
+ */
392
+ readonly numClusters: number;
393
+ /**
394
+ * Returns the expected vertex count.
395
+ */
396
+ readonly numNodes: number;
397
+ /**
398
+ * Returns the solver lifecycle status string.
399
+ */
400
+ readonly status: string;
401
+ /**
402
+ * Returns the maximum scheduled rounds (`maxRounds`).
403
+ */
404
+ readonly totalIterations: number;
405
+ }
406
+
222
407
  /**
223
408
  * Output of `coarseBackboneInit`.
224
409
  */
@@ -788,7 +973,63 @@ export class FitFieldStats {
788
973
  }
789
974
 
790
975
  /**
791
- * Cooperative ForceAtlas2 force-directed layout solver (`f32`).
976
+ * Cooperative FORBID / FORBID' / SparseFORBID overlap removal solver (`f32`).
977
+ */
978
+ export class ForbidOverlapRemoval {
979
+ free(): void;
980
+ [Symbol.dispose](): void;
981
+ /**
982
+ * Constructs a `ForbidOverlapRemoval` solver with uniform square `radii`.
983
+ */
984
+ static fromRadii(radii: Float32Array | number[], options: any): ForbidOverlapRemoval;
985
+ /**
986
+ * Constructs a `ForbidOverlapRemoval` solver from per-node `halfWidths` and `halfHeights`.
987
+ */
988
+ constructor(half_widths: Float32Array | number[], half_heights: Float32Array | number[], options: any);
989
+ /**
990
+ * Executes up to `steps` FORBID rounds on `layout` in place.
991
+ */
992
+ runSteps(layout: Layout2d, steps: number): string;
993
+ /**
994
+ * Runs FORBID overlap removal until `0` overlaps remain or `maxScaleIters` is reached.
995
+ */
996
+ run(layout: Layout2d): string;
997
+ /**
998
+ * Executes one FORBID scaling + SGD round on `layout` in place.
999
+ */
1000
+ step(layout: Layout2d): string;
1001
+ /**
1002
+ * Returns `true` when the solver has converged or completed.
1003
+ */
1004
+ readonly isFinished: boolean;
1005
+ /**
1006
+ * Returns the number of scaling rounds executed so far.
1007
+ */
1008
+ readonly iteration: number;
1009
+ /**
1010
+ * Returns the number of overlapping rectangle pairs remaining after the most recent step.
1011
+ */
1012
+ readonly lastOverlapCount: number;
1013
+ /**
1014
+ * Returns the expected vertex count.
1015
+ */
1016
+ readonly numNodes: number;
1017
+ /**
1018
+ * Returns the solver lifecycle status string.
1019
+ */
1020
+ readonly status: string;
1021
+ /**
1022
+ * Returns the maximum scheduled scaling rounds (`maxScaleIters`).
1023
+ */
1024
+ readonly totalIterations: number;
1025
+ }
1026
+
1027
+ /**
1028
+ * Cooperative ForceAtlas2 (Jacomy et al., 2014) force-directed layout solver (`f32`).
1029
+ *
1030
+ * Note: `linlogMode` enables ForceAtlas2 logarithmic attraction
1031
+ * ($w \frac{\ln(1 + d)}{d} (p_v - p_u)$, decaying linearly to `0` as $d \to 0$) and is
1032
+ * distinct from Noack (2007) true LinLog (`LinLogSolver`).
792
1033
  */
793
1034
  export class ForceAtlas2Solver {
794
1035
  free(): void;
@@ -797,6 +1038,10 @@ export class ForceAtlas2Solver {
797
1038
  * Constructs a `ForceAtlas2Solver` from `graph` and optional `ForceAtlas2Options`.
798
1039
  */
799
1040
  constructor(graph: CsrGraph, options: any);
1041
+ /**
1042
+ * Returns the per-node collision radii (`Float64Array`).
1043
+ */
1044
+ nodeRadii(): Float64Array;
800
1045
  /**
801
1046
  * Executes up to `steps` ForceAtlas2 iterations on `layout` in place.
802
1047
  */
@@ -817,10 +1062,66 @@ export class ForceAtlas2Solver {
817
1062
  * Returns the number of iterations executed so far.
818
1063
  */
819
1064
  readonly iteration: number;
1065
+ /**
1066
+ * Returns the effective per-step vertex displacement cap.
1067
+ */
1068
+ readonly maxDisplacement: number;
1069
+ /**
1070
+ * Returns the expected vertex count.
1071
+ */
1072
+ readonly numNodes: number;
1073
+ /**
1074
+ * Returns the solver lifecycle status string.
1075
+ */
1076
+ readonly status: string;
1077
+ /**
1078
+ * Returns the scheduled iteration count.
1079
+ */
1080
+ readonly totalIterations: number;
1081
+ }
1082
+
1083
+ /**
1084
+ * Cooperative Fruchterman-Reingold (1991) force-directed layout solver (`f32`).
1085
+ */
1086
+ export class FruchtermanReingoldSolver {
1087
+ free(): void;
1088
+ [Symbol.dispose](): void;
1089
+ /**
1090
+ * Constructs a `FruchtermanReingoldSolver` from `graph` and optional `FruchtermanReingoldOptions`.
1091
+ */
1092
+ constructor(graph: CsrGraph, options: any);
1093
+ /**
1094
+ * Executes up to `steps` Fruchterman-Reingold iterations on `layout` in place.
1095
+ */
1096
+ runSteps(layout: Layout2d, steps: number): string;
1097
+ /**
1098
+ * Runs Fruchterman-Reingold to completion on `layout` in place.
1099
+ */
1100
+ run(layout: Layout2d): string;
1101
+ /**
1102
+ * Executes one Fruchterman-Reingold iteration on `layout` in place.
1103
+ */
1104
+ step(layout: Layout2d): string;
1105
+ /**
1106
+ * Returns the current cooling temperature.
1107
+ */
1108
+ readonly currentTemperature: number;
1109
+ /**
1110
+ * Returns `true` when the solver has converged or completed.
1111
+ */
1112
+ readonly isFinished: boolean;
1113
+ /**
1114
+ * Returns the number of iterations executed so far.
1115
+ */
1116
+ readonly iteration: number;
820
1117
  /**
821
1118
  * Returns the expected vertex count.
822
1119
  */
823
1120
  readonly numNodes: number;
1121
+ /**
1122
+ * Returns the effective optimal pairwise distance $k$.
1123
+ */
1124
+ readonly optimalDistance: number;
824
1125
  /**
825
1126
  * Returns the solver lifecycle status string.
826
1127
  */
@@ -831,6 +1132,204 @@ export class ForceAtlas2Solver {
831
1132
  readonly totalIterations: number;
832
1133
  }
833
1134
 
1135
+ /**
1136
+ * Cooperative Nachmanson et al. (2016) GTree overlap removal solver (`f32`).
1137
+ *
1138
+ * Uses `Delaunay2d` when compiled with `delaunay` and falls back automatically to
1139
+ * `StaticKdTree` proximity under `--no-default-features`.
1140
+ */
1141
+ export class GTreeOverlapRemoval {
1142
+ free(): void;
1143
+ [Symbol.dispose](): void;
1144
+ /**
1145
+ * Constructs a `GTreeOverlapRemoval` solver with uniform square `radii`.
1146
+ */
1147
+ static fromRadii(radii: Float32Array | number[], options: any): GTreeOverlapRemoval;
1148
+ /**
1149
+ * Constructs a `GTreeOverlapRemoval` solver from per-node `halfWidths` and `halfHeights`.
1150
+ */
1151
+ constructor(half_widths: Float32Array | number[], half_heights: Float32Array | number[], options: any);
1152
+ /**
1153
+ * Executes up to `steps` GTree overlap removal passes on `layout` in place.
1154
+ */
1155
+ runSteps(layout: Layout2d, steps: number): string;
1156
+ /**
1157
+ * Runs GTree overlap removal until `0` overlaps remain or `maxIterations` is reached.
1158
+ */
1159
+ run(layout: Layout2d): string;
1160
+ /**
1161
+ * Executes one GTree overlap removal pass on `layout` in place.
1162
+ */
1163
+ step(layout: Layout2d): string;
1164
+ /**
1165
+ * Returns `true` when the solver has converged or completed.
1166
+ */
1167
+ readonly isFinished: boolean;
1168
+ /**
1169
+ * Returns the number of passes executed so far.
1170
+ */
1171
+ readonly iteration: number;
1172
+ /**
1173
+ * Returns the number of overlapping rectangle pairs remaining after the most recent step.
1174
+ */
1175
+ readonly lastOverlapCount: number;
1176
+ /**
1177
+ * Returns the expected vertex count.
1178
+ */
1179
+ readonly numNodes: number;
1180
+ /**
1181
+ * Returns the solver lifecycle status string.
1182
+ */
1183
+ readonly status: string;
1184
+ /**
1185
+ * Returns the maximum scheduled passes (`maxIterations`).
1186
+ */
1187
+ readonly totalIterations: number;
1188
+ }
1189
+
1190
+ /**
1191
+ * Cooperative Frick et al. (1995) GEM adaptive local-temperature layout solver (`f32`).
1192
+ */
1193
+ export class GemSolver {
1194
+ free(): void;
1195
+ [Symbol.dispose](): void;
1196
+ /**
1197
+ * Constructs a `GemSolver` from `graph` and optional `GemOptions`.
1198
+ */
1199
+ constructor(graph: CsrGraph, options: any);
1200
+ /**
1201
+ * Executes up to `steps` GEM rounds on `layout` in place.
1202
+ */
1203
+ runSteps(layout: Layout2d, steps: number): string;
1204
+ /**
1205
+ * Runs GEM layout optimization to completion on `layout` in place.
1206
+ */
1207
+ run(layout: Layout2d): string;
1208
+ /**
1209
+ * Executes one GEM round on `layout` in place.
1210
+ */
1211
+ step(layout: Layout2d): string;
1212
+ /**
1213
+ * Returns `true` when the solver has converged or completed.
1214
+ */
1215
+ readonly isFinished: boolean;
1216
+ /**
1217
+ * Returns the number of rounds executed so far.
1218
+ */
1219
+ readonly iteration: number;
1220
+ /**
1221
+ * Returns the expected vertex count.
1222
+ */
1223
+ readonly numNodes: number;
1224
+ /**
1225
+ * Returns the solver lifecycle status string.
1226
+ */
1227
+ readonly status: string;
1228
+ /**
1229
+ * Returns the maximum scheduled rounds (`maxRounds`).
1230
+ */
1231
+ readonly totalIterations: number;
1232
+ }
1233
+
1234
+ /**
1235
+ * Cooperative Gajer & Kobourov (2002) GRIP multilevel force-directed layout solver (`f32`).
1236
+ */
1237
+ export class GripSolver {
1238
+ free(): void;
1239
+ [Symbol.dispose](): void;
1240
+ /**
1241
+ * Constructs a `GripSolver` from `graph` and optional `GripOptions`.
1242
+ */
1243
+ constructor(graph: CsrGraph, options: any);
1244
+ /**
1245
+ * Executes up to `steps` GRIP refinement steps on `layout` in place.
1246
+ */
1247
+ runSteps(layout: Layout2d, steps: number): string;
1248
+ /**
1249
+ * Runs GRIP layout optimization to completion on `layout` in place.
1250
+ */
1251
+ run(layout: Layout2d): string;
1252
+ /**
1253
+ * Executes one GRIP refinement step on `layout` in place.
1254
+ */
1255
+ step(layout: Layout2d): string;
1256
+ /**
1257
+ * Returns `true` when the solver has converged or completed.
1258
+ */
1259
+ readonly isFinished: boolean;
1260
+ /**
1261
+ * Returns the number of steps executed so far.
1262
+ */
1263
+ readonly iteration: number;
1264
+ /**
1265
+ * Returns the maximum number of MIS filtration levels across connected components.
1266
+ */
1267
+ readonly numLevels: number;
1268
+ /**
1269
+ * Returns the expected vertex count.
1270
+ */
1271
+ readonly numNodes: number;
1272
+ /**
1273
+ * Returns the solver lifecycle status string.
1274
+ */
1275
+ readonly status: string;
1276
+ /**
1277
+ * Returns the total scheduled step count across filtration levels.
1278
+ */
1279
+ readonly totalIterations: number;
1280
+ }
1281
+
1282
+ /**
1283
+ * Cooperative Group-in-a-Box (`TR-GIB` / `FD-GIB`) clustered layout solver (`f32`).
1284
+ *
1285
+ * Note: Intentionally omits `Debug` and `Clone` because the inner solver wraps stateful
1286
+ * boxed intra-cluster solvers.
1287
+ */
1288
+ export class GroupInABoxSolver {
1289
+ free(): void;
1290
+ [Symbol.dispose](): void;
1291
+ /**
1292
+ * Returns the computed cluster boxes ordered canonically by first appearance.
1293
+ */
1294
+ boxes(): Array<any>;
1295
+ /**
1296
+ * Constructs a `GroupInABoxSolver` from `graph`, `clusterLabels`, and optional `GroupInABoxOptions`.
1297
+ */
1298
+ constructor(graph: CsrGraph, cluster_labels: any, options: any);
1299
+ /**
1300
+ * Executes up to `steps` intra-box layout iterations on `layout` in place.
1301
+ */
1302
+ runSteps(layout: Layout2d, steps: number): string;
1303
+ /**
1304
+ * Runs Group-in-a-Box intra-cluster optimization to completion on `layout` in place.
1305
+ */
1306
+ run(layout: Layout2d): string;
1307
+ /**
1308
+ * Executes one intra-box layout iteration across active clusters on `layout` in place.
1309
+ */
1310
+ step(layout: Layout2d): string;
1311
+ /**
1312
+ * Returns `true` when the solver has converged or completed.
1313
+ */
1314
+ readonly isFinished: boolean;
1315
+ /**
1316
+ * Returns the number of iterations executed so far.
1317
+ */
1318
+ readonly iteration: number;
1319
+ /**
1320
+ * Returns the expected vertex count.
1321
+ */
1322
+ readonly numNodes: number;
1323
+ /**
1324
+ * Returns the solver lifecycle status string.
1325
+ */
1326
+ readonly status: string;
1327
+ /**
1328
+ * Returns the scheduled intra-cluster iteration count.
1329
+ */
1330
+ readonly totalIterations: number;
1331
+ }
1332
+
834
1333
  /**
835
1334
  * Cooperative Graph UMAP (`GuMap`) layout solver (`f32`).
836
1335
  */
@@ -1304,6 +1803,95 @@ export class LayoutNd {
1304
1803
  readonly numNodes: number;
1305
1804
  }
1306
1805
 
1806
+ /**
1807
+ * Community detection output returned by `leidenCommunities`.
1808
+ */
1809
+ export class LeidenResult {
1810
+ private constructor();
1811
+ free(): void;
1812
+ [Symbol.dispose](): void;
1813
+ /**
1814
+ * Returns the community ID per vertex (`Uint32Array`).
1815
+ */
1816
+ labels(): Uint32Array;
1817
+ /**
1818
+ * Converts this result into a plain JavaScript object without requiring `serde`.
1819
+ */
1820
+ toRecord(): object;
1821
+ /**
1822
+ * Returns the resolution-weighted modularity $Q_\gamma$.
1823
+ */
1824
+ readonly modularity: number;
1825
+ /**
1826
+ * Returns the number of distinct communities detected.
1827
+ */
1828
+ readonly numCommunities: number;
1829
+ /**
1830
+ * Returns the number of multi-level aggregation passes committed.
1831
+ */
1832
+ readonly passes: number;
1833
+ /**
1834
+ * Returns the objective quality value achieved by Leiden.
1835
+ */
1836
+ readonly quality: number;
1837
+ }
1838
+
1839
+ /**
1840
+ * Cooperative Noack (2007/2009) LinLog / $(a, r)$-PolyLog force-directed layout solver (`f32`).
1841
+ */
1842
+ export class LinLogSolver {
1843
+ free(): void;
1844
+ [Symbol.dispose](): void;
1845
+ /**
1846
+ * Evaluates the exact LinLog energy of `layout`.
1847
+ */
1848
+ energy(layout: Layout2d): number;
1849
+ /**
1850
+ * Returns the per-node repulsive masses (`Float64Array`).
1851
+ */
1852
+ masses(): Float64Array;
1853
+ /**
1854
+ * Constructs a `LinLogSolver` from `graph` and optional `LinLogOptions`.
1855
+ */
1856
+ constructor(graph: CsrGraph, options: any);
1857
+ /**
1858
+ * Executes up to `steps` LinLog iterations on `layout` in place.
1859
+ */
1860
+ runSteps(layout: Layout2d, steps: number): string;
1861
+ /**
1862
+ * Runs LinLog to completion on `layout` in place.
1863
+ */
1864
+ run(layout: Layout2d): string;
1865
+ /**
1866
+ * Executes one LinLog iteration on `layout` in place.
1867
+ */
1868
+ step(layout: Layout2d): string;
1869
+ /**
1870
+ * Returns `true` when the solver has converged or completed.
1871
+ */
1872
+ readonly isFinished: boolean;
1873
+ /**
1874
+ * Returns the number of iterations executed so far.
1875
+ */
1876
+ readonly iteration: number;
1877
+ /**
1878
+ * Returns the effective per-step vertex displacement cap.
1879
+ */
1880
+ readonly maxDisplacement: number;
1881
+ /**
1882
+ * Returns the expected vertex count.
1883
+ */
1884
+ readonly numNodes: number;
1885
+ /**
1886
+ * Returns the solver lifecycle status string.
1887
+ */
1888
+ readonly status: string;
1889
+ /**
1890
+ * Returns the scheduled iteration count.
1891
+ */
1892
+ readonly totalIterations: number;
1893
+ }
1894
+
1307
1895
  /**
1308
1896
  * Output of `louvainCommunities`.
1309
1897
  */
@@ -1446,6 +2034,58 @@ export class ManifoldLayout2d {
1446
2034
  readonly numNodes: number;
1447
2035
  }
1448
2036
 
2037
+ /**
2038
+ * Cooperative Gansner et al. (2013) Maxent-Stress layout solver (`f32`).
2039
+ */
2040
+ export class MaxentStressSolver {
2041
+ free(): void;
2042
+ [Symbol.dispose](): void;
2043
+ /**
2044
+ * Constructs a `MaxentStressSolver` from `graph` and optional `MaxentStressOptions`.
2045
+ */
2046
+ constructor(graph: CsrGraph, options: any);
2047
+ /**
2048
+ * Executes up to `steps` Maxent-Stress iterations on `layout` in place.
2049
+ */
2050
+ runSteps(layout: Layout2d, steps: number): string;
2051
+ /**
2052
+ * Runs Maxent-Stress optimization to completion on `layout` in place.
2053
+ */
2054
+ run(layout: Layout2d): string;
2055
+ /**
2056
+ * Executes one Maxent-Stress iteration on `layout` in place.
2057
+ */
2058
+ step(layout: Layout2d): string;
2059
+ /**
2060
+ * Returns the current annealed entropy-repulsion weight $\alpha$.
2061
+ */
2062
+ readonly currentAlpha: number;
2063
+ /**
2064
+ * Returns the resolved repulsion exponent $q$.
2065
+ */
2066
+ readonly effectiveQ: number;
2067
+ /**
2068
+ * Returns `true` when the solver has converged or completed.
2069
+ */
2070
+ readonly isFinished: boolean;
2071
+ /**
2072
+ * Returns the number of iterations executed so far.
2073
+ */
2074
+ readonly iteration: number;
2075
+ /**
2076
+ * Returns the expected vertex count.
2077
+ */
2078
+ readonly numNodes: number;
2079
+ /**
2080
+ * Returns the solver lifecycle status string.
2081
+ */
2082
+ readonly status: string;
2083
+ /**
2084
+ * Returns the scheduled iteration count (`stages * stepsPerStage`).
2085
+ */
2086
+ readonly totalIterations: number;
2087
+ }
2088
+
1449
2089
  /**
1450
2090
  * Selective quality metric report returned by `evaluateMetrics`.
1451
2091
  *
@@ -1470,7 +2110,35 @@ export class MetricReport {
1470
2110
  /**
1471
2111
  * Returns PCA aspect ratio, or `undefined` if not requested.
1472
2112
  */
1473
- readonly aspectRatio: number | undefined;
2113
+ readonly aspectRatio: number | undefined;
2114
+ /**
2115
+ * Returns Calinski-Harabasz Index, or `undefined` if not requested.
2116
+ */
2117
+ readonly calinskiHarabasz: number | undefined;
2118
+ /**
2119
+ * Returns Class Density Measure (`CDM`), or `undefined` if not requested.
2120
+ */
2121
+ readonly cdm: number | undefined;
2122
+ /**
2123
+ * Returns Grid-based Cluster Area Faithfulness (`G-CAF`), or `undefined` if not requested.
2124
+ */
2125
+ readonly clusterAreaFaithfulness: number | undefined;
2126
+ /**
2127
+ * Returns Average-linkage HAC Cluster Quality (`CQ-HAC` AMI), or `undefined` if not requested.
2128
+ */
2129
+ readonly cqHacAmi: number | undefined;
2130
+ /**
2131
+ * Returns Average-linkage HAC Cluster Quality (`CQ-HAC` Homogeneity), or `undefined` if not requested.
2132
+ */
2133
+ readonly cqHacHom: number | undefined;
2134
+ /**
2135
+ * Returns $k$-means Cluster Quality (`CQ-kmeans` AMI), or `undefined` if not requested.
2136
+ */
2137
+ readonly cqKmeansAmi: number | undefined;
2138
+ /**
2139
+ * Returns $k$-means Cluster Quality (`CQ-kmeans` ARI), or `undefined` if not requested.
2140
+ */
2141
+ readonly cqKmeansAri: number | undefined;
1474
2142
  /**
1475
2143
  * Returns exact sweep-line edge crossing-angle penalty sum, or `undefined` if not requested.
1476
2144
  */
@@ -1484,13 +2152,30 @@ export class MetricReport {
1484
2152
  */
1485
2153
  readonly crosslessness: number | undefined;
1486
2154
  /**
1487
- * Returns shape-based Gabriel Graph preservation (`dGG`), or `undefined` if not requested.
2155
+ * Returns Davies-Bouldin Index, or `undefined` if not requested.
2156
+ */
2157
+ readonly daviesBouldin: number | undefined;
2158
+ /**
2159
+ * Returns Distribution Consistency (`DC`), or `undefined` if not requested.
2160
+ */
2161
+ readonly dc: number | undefined;
2162
+ /**
2163
+ * Returns Distance Consistency (`DSC`), or `undefined` if not requested.
2164
+ */
2165
+ readonly dsc: number | undefined;
2166
+ /**
2167
+ * Returns Eades et al. (2017) unweighted shape-based Gabriel Graph preservation
2168
+ * (`S_GG`, distinct from deferred Hong et al. 2022 `dGG` and Fang et al. 2025 `dcGG`), or `undefined` if not requested.
1488
2169
  */
1489
2170
  readonly gabrielGraphPreservation: number | undefined;
1490
2171
  /**
1491
2172
  * Returns Gabriel graph property violation sum, or `undefined` if not requested.
1492
2173
  */
1493
2174
  readonly gabrielGraphProperty: number | undefined;
2175
+ /**
2176
+ * Returns 2D Histogram Density Measure (`2D-HDM`), or `undefined` if not requested.
2177
+ */
2178
+ readonly hdm: number | undefined;
1494
2179
  /**
1495
2180
  * Returns ideal edge-length preservation error sum, or `undefined` if not requested.
1496
2181
  */
@@ -1511,6 +2196,10 @@ export class MetricReport {
1511
2196
  * Returns DRGraph Eq. (19) strict minimum-angle resolution (`A2`), or `undefined` if not requested.
1512
2197
  */
1513
2198
  readonly minimumAngle: number | undefined;
2199
+ /**
2200
+ * Returns Neighborhood Hit ($M_{\mathrm{NH}}$), or `undefined` if not requested.
2201
+ */
2202
+ readonly neighborhoodHit: number | undefined;
1514
2203
  /**
1515
2204
  * Returns 1-hop neighborhood preservation (`NP1`), or `undefined` if not requested.
1516
2205
  */
@@ -1524,7 +2213,12 @@ export class MetricReport {
1524
2213
  */
1525
2214
  readonly nodeResolution: number | undefined;
1526
2215
  /**
1527
- * Returns shape-based Relative Neighborhood Graph preservation (`dRNG`), or `undefined` if not requested.
2216
+ * Returns Pairwise Distance-Overlap Error (`PDOE`), or `undefined` if not requested.
2217
+ */
2218
+ readonly pairwiseDistanceOverlapError: number | undefined;
2219
+ /**
2220
+ * Returns Eades et al. (2017) unweighted shape-based Relative Neighborhood Graph preservation
2221
+ * (`S_RNG`, distinct from deferred Hong et al. 2022 `dRNG` and Fang et al. 2025 `dcRNG`), or `undefined` if not requested.
1528
2222
  */
1529
2223
  readonly relativeNeighborhoodPreservation: number | undefined;
1530
2224
  /**
@@ -1551,6 +2245,30 @@ export class MetricReport {
1551
2245
  * Returns closed-form Scale-Normalized Stress (`SNS`), or `undefined` if not requested.
1552
2246
  */
1553
2247
  readonly scaleNormalizedStress: number | undefined;
2248
+ /**
2249
+ * Returns SepMe Gabriel Graph DIR CPT, or `undefined` if not requested.
2250
+ */
2251
+ readonly sepmeGab: number | undefined;
2252
+ /**
2253
+ * Returns SepMe $\gamma$-Observable Neighbor Graph DIR CPT, or `undefined` if not requested.
2254
+ */
2255
+ readonly sepmeGong: number | undefined;
2256
+ /**
2257
+ * Returns SepMe $k$-NN graph DIR CPT, or `undefined` if not requested.
2258
+ */
2259
+ readonly sepmeKnng: number | undefined;
2260
+ /**
2261
+ * Returns SepMe Relative Neighborhood Graph DIR CPT, or `undefined` if not requested.
2262
+ */
2263
+ readonly sepmeRng: number | undefined;
2264
+ /**
2265
+ * Returns Silhouette coefficient, or `undefined` if not requested.
2266
+ */
2267
+ readonly silhouette: number | undefined;
2268
+ /**
2269
+ * Returns Sprawlter-NN composite overlap clutter measure, or `undefined` if not requested.
2270
+ */
2271
+ readonly sprawlterNn: number | undefined;
1554
2272
  }
1555
2273
 
1556
2274
  /**
@@ -1565,6 +2283,21 @@ export class MinimumAngleSummary {
1565
2283
  readonly a2: number;
1566
2284
  }
1567
2285
 
2286
+ /**
2287
+ * Chen et al. (2020) Node Overlap Removal (NOR) 5-metric summary returned by `norMetrics` / `norMetricsWithoutGraph`.
2288
+ */
2289
+ export class NorMetricsResult {
2290
+ private constructor();
2291
+ free(): void;
2292
+ [Symbol.dispose](): void;
2293
+ toRecord(): object;
2294
+ readonly elRsd: number;
2295
+ readonly gsBbIar: number;
2296
+ readonly nmDmImse: number;
2297
+ readonly ooNni: number;
2298
+ readonly spChA: number;
2299
+ }
2300
+
1568
2301
  /**
1569
2302
  * Output of `SgdSolver.pacmapGraphWithBackbone`.
1570
2303
  */
@@ -1586,6 +2319,74 @@ export class PacmapBackboneResult {
1586
2319
  solver(): SgdSolver;
1587
2320
  }
1588
2321
 
2322
+ /**
2323
+ * Partition agreement metrics returned by `partitionAgreement`, `cqKmeans`, and `cqHac`.
2324
+ */
2325
+ export class PartitionAgreementResult {
2326
+ private constructor();
2327
+ free(): void;
2328
+ [Symbol.dispose](): void;
2329
+ toRecord(): object;
2330
+ readonly ami: number;
2331
+ readonly ari: number;
2332
+ readonly completeness: number;
2333
+ readonly fmi: number;
2334
+ readonly homogeneity: number;
2335
+ readonly vMeasure: number;
2336
+ }
2337
+
2338
+ /**
2339
+ * Cooperative Hayashi et al. (1998) `PFS'` two-pass scan-line node overlap removal solver (`f32`).
2340
+ */
2341
+ export class PfsPrimeOverlapRemoval {
2342
+ free(): void;
2343
+ [Symbol.dispose](): void;
2344
+ /**
2345
+ * Constructs a `PfsPrimeOverlapRemoval` solver with uniform square `radii`.
2346
+ */
2347
+ static fromRadii(radii: Float32Array | number[], options: any): PfsPrimeOverlapRemoval;
2348
+ /**
2349
+ * Constructs a `PfsPrimeOverlapRemoval` solver from per-node `halfWidths` and `halfHeights`.
2350
+ */
2351
+ constructor(half_widths: Float32Array | number[], half_heights: Float32Array | number[], options: any);
2352
+ /**
2353
+ * Executes up to `steps` `PFS'` passes on `layout` in place.
2354
+ */
2355
+ runSteps(layout: Layout2d, steps: number): string;
2356
+ /**
2357
+ * Runs `PFS'` overlap removal to completion on `layout` in place.
2358
+ */
2359
+ run(layout: Layout2d): string;
2360
+ /**
2361
+ * Executes the single two-pass `PFS'` overlap removal step on `layout` in place.
2362
+ */
2363
+ step(layout: Layout2d): string;
2364
+ /**
2365
+ * Returns `true` when the solver has converged or completed.
2366
+ */
2367
+ readonly isFinished: boolean;
2368
+ /**
2369
+ * Returns the number of passes executed so far.
2370
+ */
2371
+ readonly iteration: number;
2372
+ /**
2373
+ * Returns the number of overlapping rectangle pairs remaining after the most recent step.
2374
+ */
2375
+ readonly lastOverlapCount: number;
2376
+ /**
2377
+ * Returns the expected vertex count.
2378
+ */
2379
+ readonly numNodes: number;
2380
+ /**
2381
+ * Returns the solver lifecycle status string.
2382
+ */
2383
+ readonly status: string;
2384
+ /**
2385
+ * Returns the scheduled pass count (`1`).
2386
+ */
2387
+ readonly totalIterations: number;
2388
+ }
2389
+
1589
2390
  /**
1590
2391
  * PRISM layout-preservation distortion metrics comparing an original and adjusted layout.
1591
2392
  */
@@ -2060,6 +2861,58 @@ export class ScreenedPoissonResult {
2060
2861
  readonly sigmaUsed: number;
2061
2862
  }
2062
2863
 
2864
+ /**
2865
+ * Cooperative Xue et al. (2025) Structural Entropy Layout (`SEL`) solver (`f32`).
2866
+ */
2867
+ export class SelLayoutSolver {
2868
+ free(): void;
2869
+ [Symbol.dispose](): void;
2870
+ /**
2871
+ * Returns the SEL-modulated edge weights aligned with canonical undirected edges `(u < v)` (`Float64Array`).
2872
+ */
2873
+ modulatedWeights(): Float64Array;
2874
+ /**
2875
+ * Constructs a `SelLayoutSolver` from `graph` and optional `SelOptions`.
2876
+ */
2877
+ constructor(graph: CsrGraph, options: any);
2878
+ /**
2879
+ * Executes up to `steps` SEL layout iterations on `layout` in place.
2880
+ */
2881
+ runSteps(layout: Layout2d, steps: number): string;
2882
+ /**
2883
+ * Runs SEL layout optimization to completion on `layout` in place.
2884
+ */
2885
+ run(layout: Layout2d): string;
2886
+ /**
2887
+ * Executes one SEL layout iteration on `layout` in place.
2888
+ */
2889
+ step(layout: Layout2d): string;
2890
+ /**
2891
+ * Returns `true` when the solver has converged or completed.
2892
+ */
2893
+ readonly isFinished: boolean;
2894
+ /**
2895
+ * Returns the number of iterations executed so far.
2896
+ */
2897
+ readonly iteration: number;
2898
+ /**
2899
+ * Returns the expected vertex count.
2900
+ */
2901
+ readonly numNodes: number;
2902
+ /**
2903
+ * Returns the elbow-selected structural entropy threshold $\mathrm{SE}_{\mathrm{target}}$.
2904
+ */
2905
+ readonly seTarget: number;
2906
+ /**
2907
+ * Returns the solver lifecycle status string.
2908
+ */
2909
+ readonly status: string;
2910
+ /**
2911
+ * Returns the scheduled iteration count.
2912
+ */
2913
+ readonly totalIterations: number;
2914
+ }
2915
+
2063
2916
  /**
2064
2917
  * One-dimensional separation constraint enforcing `coord[left] + gap <= coord[right]`.
2065
2918
  */
@@ -2084,9 +2937,65 @@ export class SeparationConstraint {
2084
2937
  readonly right: number;
2085
2938
  }
2086
2939
 
2940
+ /**
2941
+ * Canonical community-ordered Space-Filling Curve (`SFC`) layout solver (`f32`).
2942
+ *
2943
+ * Note: `muelder2008_space_filling` (Muelder & Ma, IEEE TVCG 2008) is currently marked
2944
+ * `MISSING_PDF` in the project literature archive, so exact clustering, ordering, and
2945
+ * post-refinement parameters from that paper cannot be verified or claimed. This solver
2946
+ * exposes a canonical community-ordered Hilbert/Morton space-filling curve baseline using
2947
+ * `louvain_coarsen` and strictly injective 2D curve mapping (`totalIterations == 1`).
2948
+ */
2949
+ export class SfcLayoutSolver {
2950
+ free(): void;
2951
+ [Symbol.dispose](): void;
2952
+ /**
2953
+ * Constructs an `SfcLayoutSolver` from `graph` and optional `SfcOptions`.
2954
+ */
2955
+ constructor(graph: CsrGraph, options: any);
2956
+ /**
2957
+ * Executes up to `steps` `SFC` steps on `layout` in place.
2958
+ */
2959
+ runSteps(layout: Layout2d, steps: number): string;
2960
+ /**
2961
+ * Runs `SFC` coordinate assignment to completion on `layout` in place.
2962
+ */
2963
+ run(layout: Layout2d): string;
2964
+ /**
2965
+ * Executes the single `SFC` coordinate assignment step on `layout` in place.
2966
+ */
2967
+ step(layout: Layout2d): string;
2968
+ /**
2969
+ * Returns the deterministic community-ordered vertex permutation (`Uint32Array`).
2970
+ */
2971
+ vertexOrder(): Uint32Array;
2972
+ /**
2973
+ * Returns `true` when the solver has converged or completed.
2974
+ */
2975
+ readonly isFinished: boolean;
2976
+ /**
2977
+ * Returns the number of steps executed so far.
2978
+ */
2979
+ readonly iteration: number;
2980
+ /**
2981
+ * Returns the expected vertex count.
2982
+ */
2983
+ readonly numNodes: number;
2984
+ /**
2985
+ * Returns the solver lifecycle status string.
2986
+ */
2987
+ readonly status: string;
2988
+ /**
2989
+ * Returns the scheduled step count (`1`).
2990
+ */
2991
+ readonly totalIterations: number;
2992
+ }
2993
+
2087
2994
  /**
2088
2995
  * Cooperative SoA `u32` SGD solver supporting 3-tier sparse barrier, streaming negatives,
2089
- * SNAP-tFDP, PaCMAP-Graph, `(SGD)^2`, Euclidean `Layout2d` (`f32`), and non-Euclidean `ManifoldLayout2d` (`f32`).
2996
+ * Ortmann Sparse Stress, LargeVis, DRGraph, Graph-CNE, SNAP-tFDP, PaCMAP-Graph,
2997
+ * diagonal-preconditioned mini-batch stress SGD (`sgd2`), Euclidean `Layout2d` (`f32`),
2998
+ * and non-Euclidean `ManifoldLayout2d` (`f32`).
2090
2999
  */
2091
3000
  export class SgdSolver {
2092
3001
  private constructor();
@@ -2097,6 +3006,10 @@ export class SgdSolver {
2097
3006
  * `sparseBarrierDog`, or `undefined` otherwise.
2098
3007
  */
2099
3008
  dogStats(): DogStats | undefined;
3009
+ /**
3010
+ * Constructs a multilevel negative-sampling `DRGraph` (Zhu et al., 2020) solver.
3011
+ */
3012
+ static drgraph(graph: CsrGraph, options: any): SgdSolver;
2100
3013
  /**
2101
3014
  * Constructs an `SgdSolver` combining two-sided spring pairs and one-sided hinge pairs.
2102
3015
  */
@@ -2111,13 +3024,25 @@ export class SgdSolver {
2111
3024
  * Constructs a full all-pairs shortest-path SGD solver from `graph`.
2112
3025
  */
2113
3026
  static full(graph: CsrGraph, t_max_or_options: any, eps?: number | null, kind?: string | null, step_scale?: number | null, seed?: number | null): SgdSolver;
3027
+ /**
3028
+ * Constructs a `Graph-CNE` (Bohm et al., 2025) contrastive neighbor embedding solver.
3029
+ */
3030
+ static graphCne(graph: CsrGraph, options: any): SgdSolver;
3031
+ /**
3032
+ * Constructs a single-threaded deterministic `LargeVis` (Tang et al., 2016) solver.
3033
+ */
3034
+ static largevis(graph: CsrGraph, options: any): SgdSolver;
2114
3035
  /**
2115
3036
  * Constructs an Omega SGD solver from a flat row-major `(numNodes, dims)` spectral embedding.
2116
3037
  */
2117
3038
  static omega(graph: CsrGraph, embedding: Float64Array | number[], dims: number, k_or_options: any, min_dist: number | null | undefined, t_max_or_options: any, eps?: number | null, kind?: string | null, step_scale?: number | null, seed?: number | null): SgdSolver;
3039
+ /**
3040
+ * Constructs an Ortmann et al. (2016) Sparse Stress SGD solver.
3041
+ */
3042
+ static ortmannSparseStress(graph: CsrGraph, options: any): SgdSolver;
2118
3043
  /**
2119
3044
  * Constructs a 3-tier `PaCMAP-Graph` solver coupled with a coarse Louvain area-reserved
2120
- * backbone initialization and pure-Rust pivoted `RHGH` landmarks.
3045
+ * backbone initialization and `num_landmarks`-BFS Mid-Near (`MN`) landmarks.
2121
3046
  */
2122
3047
  static pacmapGraphWithBackbone(graph: CsrGraph, options: any): PacmapBackboneResult;
2123
3048
  /**
@@ -2154,7 +3079,8 @@ export class SgdSolver {
2154
3079
  */
2155
3080
  run(layout: Layout2d): string;
2156
3081
  /**
2157
- * Constructs a doubly-stochastic mini-batch diagonal-preconditioned `(SGD)^2` solver.
3082
+ * Constructs a doubly-stochastic mini-batch diagonal-preconditioned stress SGD solver
3083
+ * (`SgdScheduleKind::Squared`, distinct from Ahmed et al. 2021 multi-criteria `(SGD)^2`).
2158
3084
  */
2159
3085
  static sgd2(graph: CsrGraph, options: any): SgdSolver;
2160
3086
  /**
@@ -2948,6 +3874,11 @@ export function buildPure2hopKnn(graph: CsrGraph): TwoHopKnnResult;
2948
3874
  */
2949
3875
  export function buildRerankKnn(coords: Float64Array | number[], num_nodes: number, dim: number, k: number, coarse_dim?: number | null, rerank_factor?: number | null): KnnGraph;
2950
3876
 
3877
+ /**
3878
+ * Computes the Calinski-Harabasz Index.
3879
+ */
3880
+ export function calinskiHarabaszScore(layout: Layout2d, labels: any): number;
3881
+
2951
3882
  /**
2952
3883
  * 7. Computes a deterministic R1/R2 regularized DoG JL spectral embedding `(numNodes, jlDim)`.
2953
3884
  */
@@ -2970,11 +3901,26 @@ export function chebyshevHeatSpmv(graph: CsrGraph, vectors: Float64Array | numbe
2970
3901
  */
2971
3902
  export function chebyshevHeatSpmvMatrix(matrix: CsrMatrix, vectors: Float64Array | number[], num_cols: number, t: number, degree?: number | null, lambda_max?: number | null, lanczos_steps?: number | null, safety_factor?: number | null, seed?: number | null): Float64Array;
2972
3903
 
3904
+ /**
3905
+ * Computes Class Density Measure (`CDM`) and 2D Histogram Density Measure (`2D-HDM`).
3906
+ */
3907
+ export function classDensityMeasure(layout: Layout2d, labels: any, grid_size?: number | null, bandwidth?: number | null): ClassDensityResult;
3908
+
2973
3909
  /**
2974
3910
  * 20. Computes a 2D `Layout2d` (`f32`) using zero-guarded Classical MDS.
2975
3911
  */
2976
3912
  export function classicalMds2d(graph: CsrGraph): Layout2d;
2977
3913
 
3914
+ /**
3915
+ * Computes Grid-based Cluster Area Faithfulness (`G-CAF`) in `[0.0, 1.0]`.
3916
+ */
3917
+ export function clusterAreaFaithfulness(layout: Layout2d, community_labels: any, g_max: number | null | undefined, sigma_cells: number | null | undefined, kappa: number | null | undefined, tau_frac: number | null | undefined, boundary_r95: number | null | undefined, stevens_gamma: number | null | undefined, node_weights: any, cluster_weights: any): number;
3918
+
3919
+ /**
3920
+ * Computes Grid-based Cluster Area Faithfulness (`G-CAF`) with per-cluster diagnostics ([`ClusterAreaReport`]).
3921
+ */
3922
+ export function clusterAreaFaithfulnessDetail(layout: Layout2d, community_labels: any, g_max: number | null | undefined, sigma_cells: number | null | undefined, kappa: number | null | undefined, tau_frac: number | null | undefined, boundary_r95: number | null | undefined, stevens_gamma: number | null | undefined, node_weights: any, cluster_weights: any): ClusterAreaReport;
3923
+
2978
3924
  /**
2979
3925
  * Runs coarse Louvain edge-length-first area reservation and non-SPD backbone initialization.
2980
3926
  */
@@ -3047,6 +3993,16 @@ export function computeRegularizedDogVaradhanLandmarksFromMatrix(graph: CsrGraph
3047
3993
  */
3048
3994
  export function computeResistanceEmbedding(graph: CsrGraph, dim?: number | null, tol?: number | null, max_iters?: number | null, seed?: number | null, eig_eps?: number | null): SpectralEmbeddingResult;
3049
3995
 
3996
+ /**
3997
+ * Evaluates average-linkage HAC Cluster Quality (`CQ-HAC`) of `layout` against `communityLabels`.
3998
+ */
3999
+ export function cqHac(layout: Layout2d, community_labels: any): PartitionAgreementResult;
4000
+
4001
+ /**
4002
+ * Evaluates `k`-means Cluster Quality (`CQ-kmeans`) of `layout` against `communityLabels`.
4003
+ */
4004
+ export function cqKmeans(layout: Layout2d, community_labels: any, n_init?: number | null, max_iters?: number | null, seed?: number | null): PartitionAgreementResult;
4005
+
3050
4006
  /**
3051
4007
  * Returns all non-adjacent crossing edge pairs in `graph` under `layout`.
3052
4008
  */
@@ -3073,6 +4029,11 @@ export function crosslessness(graph: CsrGraph, layout: Layout2d): number;
3073
4029
  */
3074
4030
  export function cycleEdges(graph: CsrGraph): Uint32Array;
3075
4031
 
4032
+ /**
4033
+ * Computes the Davies-Bouldin Index.
4034
+ */
4035
+ export function daviesBouldinScore(layout: Layout2d, labels: any): number;
4036
+
3076
4037
  /**
3077
4038
  * Converts the 2D Delaunay triangulation of `layout` directly into an unweighted `CsrGraph`.
3078
4039
  */
@@ -3084,12 +4045,32 @@ export function delaunayToCsr(layout: Layout2d): CsrGraph;
3084
4045
  export function delaunayTriangulation(layout: Layout2d): DelaunayResult;
3085
4046
 
3086
4047
  /**
3087
- * Computes shape-based Gabriel Graph preservation (`dGG`) in `[0.0, 1.0]`.
4048
+ * Computes Eades et al. (2017) unweighted shape-based Gabriel Graph preservation
4049
+ * (`S_GG`) in `[0.0, 1.0]`.
4050
+ *
4051
+ * Note: Implements classical unweighted `S_GG` (Eades et al., JGAA 2017), distinct from
4052
+ * deferred Hong et al. (2022) degree-sensitive `dGG` and Fang et al. (2025) degree-constrained
4053
+ * `dcGG` (both deferred pending primary PDFs).
3088
4054
  */
3089
4055
  export function dggPreservation(graph: CsrGraph, layout: Layout2d): number;
3090
4056
 
3091
4057
  /**
3092
- * Computes shape-based Relative Neighborhood Graph preservation (`dRNG`) in `[0.0, 1.0]`.
4058
+ * Computes Distance Consistency (`DSC`) in `[0.0, 1.0]`.
4059
+ */
4060
+ export function distanceConsistency(layout: Layout2d, labels: any): number;
4061
+
4062
+ /**
4063
+ * Computes Distribution Consistency (`DC`) in `[0.0, 1.0]`.
4064
+ */
4065
+ export function distributionConsistency(layout: Layout2d, labels: any, grid_size?: number | null): number;
4066
+
4067
+ /**
4068
+ * Computes Eades et al. (2017) unweighted shape-based Relative Neighborhood Graph preservation
4069
+ * (`S_RNG`) in `[0.0, 1.0]`.
4070
+ *
4071
+ * Note: Implements classical unweighted `S_RNG` (Eades et al., JGAA 2017), distinct from
4072
+ * deferred Hong et al. (2022) degree-sensitive `dRNG` and Fang et al. (2025) degree-constrained
4073
+ * `dcRNG` (both deferred pending primary PDFs).
3093
4074
  */
3094
4075
  export function drngPreservation(graph: CsrGraph, layout: Layout2d): number;
3095
4076
 
@@ -3102,13 +4083,18 @@ export function edgeAngle(x1: number, y1: number, x2: number, y2: number): numbe
3102
4083
  /**
3103
4084
  * Selectively evaluates only the quality metrics listed in `targets`, skipping unrequested work.
3104
4085
  */
3105
- export function evaluateMetrics(graph: CsrGraph, layout: Layout2d, targets: any, num_pivots?: number | null, num_samples?: number | null, seed?: number | null, ideal_edge_length?: number | null, community_labels?: Uint32Array | number[] | null, num_landmarks?: number | null, num_triplets?: number | null, min_degree?: number | null, patch_radius?: number | null, canvas_size?: number | null, pad_frac?: number | null): MetricReport;
4086
+ export function evaluateMetrics(graph: CsrGraph, layout: Layout2d, targets: any, num_pivots_or_options: any, num_samples: number | null | undefined, seed: number | null | undefined, ideal_edge_length: number | null | undefined, community_labels: any, num_landmarks: number | null | undefined, num_triplets: number | null | undefined, min_degree: number | null | undefined, patch_radius: number | null | undefined, canvas_size: number | null | undefined, pad_frac: number | null | undefined, g_max: number | null | undefined, sigma_cells: number | null | undefined, kappa: number | null | undefined, tau_frac: number | null | undefined, boundary_r95: number | null | undefined, stevens_gamma: number | null | undefined, node_weights: any, cluster_weights: any, cluster_baseline_options: any): MetricReport;
3106
4087
 
3107
4088
  /**
3108
4089
  * 8. Extracts canonical unweighted 1-hop and disjoint pure 2-hop CSR graphs.
3109
4090
  */
3110
4091
  export function extract1hop2hopCsr(graph: CsrGraph): TwoHopCsr;
3111
4092
 
4093
+ /**
4094
+ * Extracts the Quadrilateral Simmelian Backbone from an undirected `CsrGraph`.
4095
+ */
4096
+ export function extractQuadrilateralBackbone(graph: CsrGraph, options: any): BackboneResult;
4097
+
3112
4098
  /**
3113
4099
  * 8b. Extracts canonical undirected 1-hop and hub-safe capped 2-hop vertex pair arrays `Sparse12HopPairs`.
3114
4100
  */
@@ -3145,6 +4131,16 @@ export function graph12hopRowNormalizedProbabilities(graph: CsrGraph, w2?: numbe
3145
4131
  */
3146
4132
  export function graphRowNormalizedProbabilities(graph: CsrGraph): SparseProbabilities;
3147
4133
 
4134
+ /**
4135
+ * Computes a 2D Harel-Koren High-Dimensional Embedding (`HDE`) `Layout2d` (`f32`).
4136
+ */
4137
+ export function hde(graph: CsrGraph, options: any): Layout2d;
4138
+
4139
+ /**
4140
+ * Computes an $N$-dimensional Harel-Koren High-Dimensional Embedding (`HDE`) `LayoutNd` (`f32`).
4141
+ */
4142
+ export function hdeNd(graph: CsrGraph, options: any): LayoutNd;
4143
+
3148
4144
  /**
3149
4145
  * Evaluates ideal edge-length preservation error sum for `graph` under `layout`.
3150
4146
  */
@@ -3193,6 +4189,11 @@ export function landmarkStratifiedRtaFromLandmarks(layout: Layout2d, landmark_id
3193
4189
  */
3194
4190
  export function layoutDegeneracy(graph: CsrGraph, layout: Layout2d): LayoutDegeneracy;
3195
4191
 
4192
+ /**
4193
+ * Detects communities on an undirected `CsrGraph` via the Leiden algorithm (`Modularity` or `CPM`).
4194
+ */
4195
+ export function leidenCommunities(graph: CsrGraph, options: any): LeidenResult;
4196
+
3196
4197
  /**
3197
4198
  * Runs multi-level Louvain coarsening with resolution decay up to `maxCoarseNodes`.
3198
4199
  */
@@ -3213,6 +4214,11 @@ export function minimumAngle(graph: CsrGraph, layout: Layout2d): number;
3213
4214
  */
3214
4215
  export function minimumAngleSummary(graph: CsrGraph, layout: Layout2d): MinimumAngleSummary;
3215
4216
 
4217
+ /**
4218
+ * Computes Neighborhood Hit ($M_{\mathrm{NH}}$, `k = 7` default).
4219
+ */
4220
+ export function neighborhoodHit(layout: Layout2d, labels: any, k?: number | null): number;
4221
+
3216
4222
  /**
3217
4223
  * Computes `StaticKdTree`-accelerated 1-hop neighborhood preservation (`NP1`) in `[0.0, 1.0]`.
3218
4224
  */
@@ -3228,11 +4234,26 @@ export function neighborhoodPreservation2HopV6(graph: CsrGraph, layout: Layout2d
3228
4234
  */
3229
4235
  export function nodeResolutionV6(layout: Layout2d): number;
3230
4236
 
4237
+ /**
4238
+ * Computes all 5 Chen et al. (2020) NOR metrics including graph edge-length distortion (`elRsd`).
4239
+ */
4240
+ export function norMetrics(graph: CsrGraph, orig_layout: Layout2d, adjusted_layout: Layout2d, half_widths: Float32Array | number[], half_heights: Float32Array | number[]): NorMetricsResult;
4241
+
4242
+ /**
4243
+ * Computes Chen et al. (2020) NOR metrics without a graph (`elRsd = 0.0`).
4244
+ */
4245
+ export function norMetricsWithoutGraph(orig_layout: Layout2d, adjusted_layout: Layout2d, half_widths: Float32Array | number[], half_heights: Float32Array | number[]): NorMetricsResult;
4246
+
3231
4247
  /**
3232
4248
  * 22. Sanitizes non-finite entries, centers `layout` in place, and scales isotropically to `targetStd` (default `1.0`).
3233
4249
  */
3234
4250
  export function normalizeLayout2d(layout: Layout2d, target_std?: number | null, seed?: number | null): void;
3235
4251
 
4252
+ /**
4253
+ * Computes Pairwise Distance-Overlap Error (`PDOE`, `numBins = 100` default).
4254
+ */
4255
+ export function pairwiseDistanceOverlapError(layout: Layout2d, labels: any, num_bins?: number | null): number;
4256
+
3236
4257
  /**
3237
4258
  * Parses an edge-list CSV string (`num_nodes,num_edges` header + `u,v` rows) into a `CsrGraph`.
3238
4259
  */
@@ -3243,6 +4264,11 @@ export function parseCsrCsv(csv: string, directed?: boolean | null, sanitize?: b
3243
4264
  */
3244
4265
  export function partialBfsKnn(graph: CsrGraph, k?: number | null, seed?: number | null): KnnGraph;
3245
4266
 
4267
+ /**
4268
+ * Computes `ARI`, `AMI`, `homogeneity`, `completeness`, `vMeasure`, and `fmi` between two labelings.
4269
+ */
4270
+ export function partitionAgreement(labels_true: any, labels_pred: any): PartitionAgreementResult;
4271
+
3246
4272
  /**
3247
4273
  * 2. Computes a 2D `Layout2d` (`f32`) via Core-First MaxMin PivotMDS.
3248
4274
  *
@@ -3289,8 +4315,12 @@ export function projectClusteredLayout(coarse_layout: Layout2d, node_to_coarse:
3289
4315
  export function projectClusteredLayoutWithRadii(coarse_layout: Layout2d, node_to_coarse: Uint32Array | number[], cluster_radii: Float64Array | number[], jitter_scale?: number | null, seed?: number | null): Layout2d;
3290
4316
 
3291
4317
  /**
3292
- * Eliminates overlaps between axis-aligned cluster bounding boxes in `layout` in place while
3293
- * rigidly preserving relative coordinates within each cluster.
4318
+ * One-shot post-processing pass that eliminates overlaps between axis-aligned cluster bounding
4319
+ * boxes via rigid AABB VPSC in `layout` in place while preserving relative coordinates within
4320
+ * each cluster.
4321
+ *
4322
+ * Note: This rigid AABB VPSC pass is distinct from Dwyer et al. (2006) iterative constrained
4323
+ * stress minimization (`IPSep-CoLa`).
3294
4324
  */
3295
4325
  export function projectClusteredRectangleNoOverlap2d(layout: Layout2d, cluster_ids: Uint32Array | number[], half_widths: Float32Array | number[], half_heights: Float32Array | number[]): void;
3296
4326
 
@@ -3316,6 +4346,11 @@ export function rdMds(graph: CsrGraph, dims?: number | null, eig_eps?: number |
3316
4346
  */
3317
4347
  export function rectangleOverlaps(layout: Layout2d, half_widths: Float32Array | number[], half_heights: Float32Array | number[]): Uint32Array;
3318
4348
 
4349
+ /**
4350
+ * Refines a `Layout2d` in place to improve cluster spatial separation, returning total moved nodes.
4351
+ */
4352
+ export function refineClusterLayout(layout: Layout2d, cluster_labels: any, options: any): number;
4353
+
3319
4354
  /**
3320
4355
  * Extracts exact undirected Relative Neighborhood Graph (`RNG`) edges as flat `[u0, v0, ...]` (`Uint32Array`).
3321
4356
  */
@@ -3385,12 +4420,37 @@ export function scaleNormalizedStressFromDistances(layout: Layout2d, distances:
3385
4420
  */
3386
4421
  export function selectMaxminSpPivots(graph: CsrGraph, num_pivots?: number | null, seed?: number | null, min_degree?: number | null): Uint32Array;
3387
4422
 
4423
+ /**
4424
+ * Computes SepMe Gabriel Graph (`GAB`) DIR CPT.
4425
+ */
4426
+ export function sepmeGab(layout: Layout2d, labels: any): number;
4427
+
4428
+ /**
4429
+ * Computes SepMe $\gamma$-Observable Neighbor Graph (`GONG`) DIR CPT (`gamma = 0.35` default).
4430
+ */
4431
+ export function sepmeGong(layout: Layout2d, labels: any, gamma?: number | null): number;
4432
+
4433
+ /**
4434
+ * Computes SepMe $k$-NN graph DIR CPT (`k = 2` default).
4435
+ */
4436
+ export function sepmeKnng(layout: Layout2d, labels: any, k?: number | null): number;
4437
+
4438
+ /**
4439
+ * Computes SepMe Relative Neighborhood Graph (`RNG`) DIR CPT.
4440
+ */
4441
+ export function sepmeRng(layout: Layout2d, labels: any): number;
4442
+
3388
4443
  /**
3389
4444
  * Installs `console_error_panic_hook` once so any Rust panic reports a readable stack trace
3390
4445
  * to the JavaScript console.
3391
4446
  */
3392
4447
  export function setPanicHook(): void;
3393
4448
 
4449
+ /**
4450
+ * Computes the Euclidean Silhouette coefficient in `[-1.0, 1.0]`.
4451
+ */
4452
+ export function silhouetteScore(layout: Layout2d, labels: any): number;
4453
+
3394
4454
  /**
3395
4455
  * 4. Computes the smallest `nModes` nontrivial eigenpairs of $L_{\mathrm{sym}}$.
3396
4456
  */
@@ -3411,6 +4471,21 @@ export function spectralMomentStats(graph: CsrGraph): SpectralMomentStats;
3411
4471
  */
3412
4472
  export function sphericalDistance(lon1: number, colat1: number, lon2: number, colat2: number): number;
3413
4473
 
4474
+ /**
4475
+ * Computes Sprawlter-NN composite overlap clutter measure from per-node `halfWidths` and `halfHeights`.
4476
+ */
4477
+ export function sprawlterNn(layout: Layout2d, half_widths: Float32Array | number[], half_heights: Float32Array | number[]): number;
4478
+
4479
+ /**
4480
+ * Computes Sprawlter-NN composite overlap clutter measure from uniform square `radii`.
4481
+ */
4482
+ export function sprawlterNnRadii(layout: Layout2d, radii: Float32Array | number[]): number;
4483
+
4484
+ /**
4485
+ * Computes a Squarified Treemap partition returning flat `[xMin0, xMax0, yMin0, yMax0, ...]` (`Float64Array`).
4486
+ */
4487
+ export function squarifiedTreemap(weights: any, width?: number | null, height?: number | null, x?: number | null, y?: number | null): Float64Array;
4488
+
3414
4489
  /**
3415
4490
  * Computes the exact sweep-line crossing-angle penalty $\sum \cos^2(\theta)$.
3416
4491
  */
@@ -3459,6 +4534,11 @@ export interface InitOutput {
3459
4534
  readonly __wbg_amgpcgsolver_free: (a: number, b: number) => void;
3460
4535
  readonly __wbg_amgpcgsolveresult_free: (a: number, b: number) => void;
3461
4536
  readonly __wbg_anisotropiclaplacianresult_free: (a: number, b: number) => void;
4537
+ readonly __wbg_backboneresult_free: (a: number, b: number) => void;
4538
+ readonly __wbg_backbonesolver_free: (a: number, b: number) => void;
4539
+ readonly __wbg_classdensityresult_free: (a: number, b: number) => void;
4540
+ readonly __wbg_clusterareareport_free: (a: number, b: number) => void;
4541
+ readonly __wbg_clusterrefinesolver_free: (a: number, b: number) => void;
3462
4542
  readonly __wbg_coarsebackboneresult_free: (a: number, b: number) => void;
3463
4543
  readonly __wbg_coarsenedgraphresult_free: (a: number, b: number) => void;
3464
4544
  readonly __wbg_coarsenedhierarchyresult_free: (a: number, b: number) => void;
@@ -3473,7 +4553,13 @@ export interface InitOutput {
3473
4553
  readonly __wbg_eigenresult_free: (a: number, b: number) => void;
3474
4554
  readonly __wbg_fdebsolver_free: (a: number, b: number) => void;
3475
4555
  readonly __wbg_fitfieldstats_free: (a: number, b: number) => void;
4556
+ readonly __wbg_forbidoverlapremoval_free: (a: number, b: number) => void;
3476
4557
  readonly __wbg_forceatlas2solver_free: (a: number, b: number) => void;
4558
+ readonly __wbg_fruchtermanreingoldsolver_free: (a: number, b: number) => void;
4559
+ readonly __wbg_gemsolver_free: (a: number, b: number) => void;
4560
+ readonly __wbg_gripsolver_free: (a: number, b: number) => void;
4561
+ readonly __wbg_groupinaboxsolver_free: (a: number, b: number) => void;
4562
+ readonly __wbg_gtreeoverlapremoval_free: (a: number, b: number) => void;
3477
4563
  readonly __wbg_gumapsolver_free: (a: number, b: number) => void;
3478
4564
  readonly __wbg_hybridknnresult_free: (a: number, b: number) => void;
3479
4565
  readonly __wbg_ibumapsolver_free: (a: number, b: number) => void;
@@ -3484,11 +4570,17 @@ export interface InitOutput {
3484
4570
  readonly __wbg_layout2d_free: (a: number, b: number) => void;
3485
4571
  readonly __wbg_layoutdegeneracy_free: (a: number, b: number) => void;
3486
4572
  readonly __wbg_layoutnd_free: (a: number, b: number) => void;
4573
+ readonly __wbg_leidenresult_free: (a: number, b: number) => void;
4574
+ readonly __wbg_linlogsolver_free: (a: number, b: number) => void;
3487
4575
  readonly __wbg_louvainresult_free: (a: number, b: number) => void;
3488
4576
  readonly __wbg_manifoldlayout2d_free: (a: number, b: number) => void;
4577
+ readonly __wbg_maxentstresssolver_free: (a: number, b: number) => void;
3489
4578
  readonly __wbg_metricreport_free: (a: number, b: number) => void;
3490
4579
  readonly __wbg_minimumanglesummary_free: (a: number, b: number) => void;
4580
+ readonly __wbg_normetricsresult_free: (a: number, b: number) => void;
3491
4581
  readonly __wbg_pacmapbackboneresult_free: (a: number, b: number) => void;
4582
+ readonly __wbg_partitionagreementresult_free: (a: number, b: number) => void;
4583
+ readonly __wbg_pfsprimeoverlapremoval_free: (a: number, b: number) => void;
3492
4584
  readonly __wbg_prismdistortion_free: (a: number, b: number) => void;
3493
4585
  readonly __wbg_prismoverlapremoval_free: (a: number, b: number) => void;
3494
4586
  readonly __wbg_resistancecurvatureflowresult_free: (a: number, b: number) => void;
@@ -3498,7 +4590,9 @@ export interface InitOutput {
3498
4590
  readonly __wbg_screenedpoissonfield2d_free: (a: number, b: number) => void;
3499
4591
  readonly __wbg_screenedpoissonrefiner_free: (a: number, b: number) => void;
3500
4592
  readonly __wbg_screenedpoissonresult_free: (a: number, b: number) => void;
4593
+ readonly __wbg_sellayoutsolver_free: (a: number, b: number) => void;
3501
4594
  readonly __wbg_separationconstraint_free: (a: number, b: number) => void;
4595
+ readonly __wbg_sfclayoutsolver_free: (a: number, b: number) => void;
3502
4596
  readonly __wbg_sgdsolver_free: (a: number, b: number) => void;
3503
4597
  readonly __wbg_sparse12hoppairs_free: (a: number, b: number) => void;
3504
4598
  readonly __wbg_sparsebarrierstats_free: (a: number, b: number) => void;
@@ -3569,17 +4663,75 @@ export interface InitOutput {
3569
4663
  readonly applyRelativeDistanceFloor: (a: number, b: number, c: number, d: any, e: number, f: number, g: any, h: number, i: number, j: any, k: number, l: number, m: number, n: number) => void;
3570
4664
  readonly aspectRatioV6: (a: number, b: number) => void;
3571
4665
  readonly assignLayers: (a: number, b: number, c: number, d: number) => void;
4666
+ readonly backboneresult_backboneCsr: (a: number) => number;
4667
+ readonly backboneresult_backboneEdges: (a: number, b: number) => void;
4668
+ readonly backboneresult_edgeWeights: (a: number, b: number) => void;
4669
+ readonly backboneresult_simmelianWeights: (a: number, b: number) => void;
4670
+ readonly backboneresult_toRecord: (a: number, b: number) => void;
4671
+ readonly backboneresult_umstEdges: (a: number, b: number) => void;
4672
+ readonly backbonesolver_backboneResult: (a: number, b: number) => void;
4673
+ readonly backbonesolver_isFinished: (a: number) => number;
4674
+ readonly backbonesolver_iteration: (a: number) => number;
4675
+ readonly backbonesolver_new: (a: number, b: number, c: any) => void;
4676
+ readonly backbonesolver_numNodes: (a: number) => number;
4677
+ readonly backbonesolver_run: (a: number, b: number, c: number) => void;
4678
+ readonly backbonesolver_runSteps: (a: number, b: number, c: number, d: number) => void;
4679
+ readonly backbonesolver_status: (a: number, b: number) => void;
4680
+ readonly backbonesolver_step: (a: number, b: number, c: number) => void;
4681
+ readonly backbonesolver_totalIterations: (a: number) => number;
3572
4682
  readonly bfsSingleSource: (a: number, b: number, c: number, d: number, e: number) => void;
3573
4683
  readonly buildCapped12hopKnn: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
3574
4684
  readonly buildGumap12hopPriorityCsr: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number) => void;
3575
4685
  readonly buildHybridAdaptiveKnn: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number) => void;
3576
4686
  readonly buildPure2hopKnn: (a: number, b: number) => void;
3577
4687
  readonly buildRerankKnn: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
4688
+ readonly calinskiHarabaszScore: (a: number, b: number, c: any) => void;
3578
4689
  readonly chebyshevDogJlEmbedding: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number) => void;
3579
4690
  readonly chebyshevDogJlEmbeddingMatrix: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number, v: number, w: number, x: number) => void;
3580
4691
  readonly chebyshevHeatSpmv: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
3581
4692
  readonly chebyshevHeatSpmvMatrix: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number) => void;
4693
+ readonly classDensityMeasure: (a: number, b: number, c: any, d: number, e: number, f: number, g: number) => void;
4694
+ readonly classdensityresult_cdm: (a: number) => number;
4695
+ readonly classdensityresult_hdm: (a: number) => number;
4696
+ readonly classdensityresult_toRecord: (a: number, b: number) => void;
3582
4697
  readonly classicalMds2d: (a: number, b: number) => void;
4698
+ readonly clusterAreaFaithfulness: (a: number, b: number, c: any, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: any, q: any) => void;
4699
+ readonly clusterAreaFaithfulnessDetail: (a: number, b: number, c: any, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: any, q: any) => void;
4700
+ readonly clusterareareport_caf: (a: number) => number;
4701
+ readonly clusterareareport_cafPerCluster: (a: number, b: number) => void;
4702
+ readonly clusterareareport_clusterIds: (a: number, b: number) => void;
4703
+ readonly clusterareareport_coherence: (a: number, b: number) => void;
4704
+ readonly clusterareareport_counts: (a: number, b: number) => void;
4705
+ readonly clusterareareport_effectiveBoundaryR95: (a: number) => number;
4706
+ readonly clusterareareport_gEff: (a: number) => number;
4707
+ readonly clusterareareport_inFrac: (a: number) => number;
4708
+ readonly clusterareareport_numClusters: (a: number) => number;
4709
+ readonly clusterareareport_numNodes: (a: number) => number;
4710
+ readonly clusterareareport_p: (a: number, b: number) => void;
4711
+ readonly clusterareareport_propVis: (a: number) => number;
4712
+ readonly clusterareareport_purity: (a: number, b: number) => void;
4713
+ readonly clusterareareport_purityAdj: (a: number) => number;
4714
+ readonly clusterareareport_q: (a: number, b: number) => void;
4715
+ readonly clusterareareport_resCombined: (a: number) => number;
4716
+ readonly clusterareareport_resDeconv: (a: number) => number;
4717
+ readonly clusterareareport_resDeconvPerCluster: (a: number, b: number) => void;
4718
+ readonly clusterareareport_resDensity: (a: number) => number;
4719
+ readonly clusterareareport_resDensityPerCluster: (a: number, b: number) => void;
4720
+ readonly clusterareareport_resolution: (a: number, b: number) => void;
4721
+ readonly clusterareareport_spatialCoherence: (a: number) => number;
4722
+ readonly clusterareareport_toRecord: (a: number, b: number) => void;
4723
+ readonly clusterrefinesolver_fromGraph: (a: number, b: number, c: any, d: any) => void;
4724
+ readonly clusterrefinesolver_isFinished: (a: number) => number;
4725
+ readonly clusterrefinesolver_iteration: (a: number) => number;
4726
+ readonly clusterrefinesolver_lastMovedCount: (a: number) => number;
4727
+ readonly clusterrefinesolver_new: (a: number, b: any, c: any) => void;
4728
+ readonly clusterrefinesolver_numClusters: (a: number) => number;
4729
+ readonly clusterrefinesolver_numNodes: (a: number) => number;
4730
+ readonly clusterrefinesolver_run: (a: number, b: number, c: number) => void;
4731
+ readonly clusterrefinesolver_runSteps: (a: number, b: number, c: number, d: number) => void;
4732
+ readonly clusterrefinesolver_status: (a: number, b: number) => void;
4733
+ readonly clusterrefinesolver_step: (a: number, b: number, c: number) => void;
4734
+ readonly clusterrefinesolver_totalIterations: (a: number) => number;
3583
4735
  readonly coarseBackboneInit: (a: number, b: number, c: any) => void;
3584
4736
  readonly coarsebackboneresult_coarseGraph: (a: number) => number;
3585
4737
  readonly coarsebackboneresult_coarseLayout: (a: number) => number;
@@ -3623,6 +4775,8 @@ export interface InitOutput {
3623
4775
  readonly computeRegularizedDogVaradhanLandmarks: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number, v: number, w: number) => void;
3624
4776
  readonly computeRegularizedDogVaradhanLandmarksFromMatrix: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number, v: number, w: number, x: number, y: number, z: number, a1: number, b1: number, c1: number, d1: number) => void;
3625
4777
  readonly computeResistanceEmbedding: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
4778
+ readonly cqHac: (a: number, b: number, c: any) => void;
4779
+ readonly cqKmeans: (a: number, b: number, c: any, d: number, e: number, f: number, g: number, h: number, i: number) => void;
3626
4780
  readonly crossingEdges: (a: number, b: number, c: number) => void;
3627
4781
  readonly crossingEdgesTorus: (a: number, b: number, c: number) => void;
3628
4782
  readonly crossingSummary: (a: number, b: number, c: number) => void;
@@ -3668,12 +4822,15 @@ export interface InitOutput {
3668
4822
  readonly csrmatrix_trace: (a: number) => number;
3669
4823
  readonly csrmatrix_values: (a: number, b: number) => void;
3670
4824
  readonly cycleEdges: (a: number, b: number) => void;
4825
+ readonly daviesBouldinScore: (a: number, b: number, c: any) => void;
3671
4826
  readonly delaunayToCsr: (a: number, b: number) => void;
3672
4827
  readonly delaunayTriangulation: (a: number, b: number) => void;
3673
4828
  readonly delaunayresult_edges: (a: number, b: number) => void;
3674
4829
  readonly delaunayresult_numNodes: (a: number) => number;
3675
4830
  readonly delaunayresult_triangles: (a: number, b: number) => void;
3676
4831
  readonly dggPreservation: (a: number, b: number, c: number) => void;
4832
+ readonly distanceConsistency: (a: number, b: number, c: any) => void;
4833
+ readonly distributionConsistency: (a: number, b: number, c: any, d: number, e: number) => void;
3677
4834
  readonly dogstats_alpha: (a: number) => number;
3678
4835
  readonly dogstats_betaAuto: (a: number) => number;
3679
4836
  readonly dogstats_betaEff: (a: number) => number;
@@ -3725,8 +4882,9 @@ export interface InitOutput {
3725
4882
  readonly eigenresult_numNodes: (a: number) => number;
3726
4883
  readonly eigenresult_usedDenseFallback: (a: number) => number;
3727
4884
  readonly eigenresult_vectors: (a: number, b: number) => void;
3728
- readonly evaluateMetrics: (a: number, b: number, c: number, d: any, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number, v: number, w: number, x: number, y: number, z: number) => void;
4885
+ readonly evaluateMetrics: (a: number, b: number, c: number, d: any, e: any, f: number, g: number, h: number, i: number, j: number, k: number, l: any, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number, v: number, w: number, x: number, y: number, z: number, a1: number, b1: number, c1: number, d1: number, e1: number, f1: number, g1: number, h1: number, i1: number, j1: number, k1: any, l1: any, m1: any) => void;
3729
4886
  readonly extract1hop2hopCsr: (a: number, b: number) => void;
4887
+ readonly extractQuadrilateralBackbone: (a: number, b: number, c: any) => void;
3730
4888
  readonly extractSparse1hop2hopPairs: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
3731
4889
  readonly fdebsolver_edgeOffsets: (a: number, b: number) => void;
3732
4890
  readonly fdebsolver_isFinished: (a: number) => number;
@@ -3744,20 +4902,84 @@ export interface InitOutput {
3744
4902
  readonly fitfieldstats_kernelForwardFfts: (a: number) => number;
3745
4903
  readonly fitfieldstats_particleForwardFfts: (a: number) => number;
3746
4904
  readonly fitfieldstats_totalFft2dCalls: (a: number) => number;
4905
+ readonly forbidoverlapremoval_fromRadii: (a: number, b: number, c: number, d: any) => void;
4906
+ readonly forbidoverlapremoval_isFinished: (a: number) => number;
4907
+ readonly forbidoverlapremoval_iteration: (a: number) => number;
4908
+ readonly forbidoverlapremoval_lastOverlapCount: (a: number) => number;
4909
+ readonly forbidoverlapremoval_new: (a: number, b: number, c: number, d: number, e: number, f: any) => void;
4910
+ readonly forbidoverlapremoval_numNodes: (a: number) => number;
4911
+ readonly forbidoverlapremoval_run: (a: number, b: number, c: number) => void;
4912
+ readonly forbidoverlapremoval_runSteps: (a: number, b: number, c: number, d: number) => void;
4913
+ readonly forbidoverlapremoval_status: (a: number, b: number) => void;
4914
+ readonly forbidoverlapremoval_step: (a: number, b: number, c: number) => void;
4915
+ readonly forbidoverlapremoval_totalIterations: (a: number) => number;
3747
4916
  readonly forceatlas2solver_isFinished: (a: number) => number;
3748
4917
  readonly forceatlas2solver_iteration: (a: number) => number;
4918
+ readonly forceatlas2solver_maxDisplacement: (a: number) => number;
3749
4919
  readonly forceatlas2solver_new: (a: number, b: number, c: any) => void;
4920
+ readonly forceatlas2solver_nodeRadii: (a: number, b: number) => void;
3750
4921
  readonly forceatlas2solver_numNodes: (a: number) => number;
3751
4922
  readonly forceatlas2solver_run: (a: number, b: number, c: number) => void;
3752
4923
  readonly forceatlas2solver_runSteps: (a: number, b: number, c: number, d: number) => void;
3753
4924
  readonly forceatlas2solver_status: (a: number, b: number) => void;
3754
4925
  readonly forceatlas2solver_step: (a: number, b: number, c: number) => void;
3755
4926
  readonly forceatlas2solver_totalIterations: (a: number) => number;
4927
+ readonly fruchtermanreingoldsolver_currentTemperature: (a: number) => number;
4928
+ readonly fruchtermanreingoldsolver_isFinished: (a: number) => number;
4929
+ readonly fruchtermanreingoldsolver_iteration: (a: number) => number;
4930
+ readonly fruchtermanreingoldsolver_new: (a: number, b: number, c: any) => void;
4931
+ readonly fruchtermanreingoldsolver_numNodes: (a: number) => number;
4932
+ readonly fruchtermanreingoldsolver_optimalDistance: (a: number) => number;
4933
+ readonly fruchtermanreingoldsolver_run: (a: number, b: number, c: number) => void;
4934
+ readonly fruchtermanreingoldsolver_runSteps: (a: number, b: number, c: number, d: number) => void;
4935
+ readonly fruchtermanreingoldsolver_status: (a: number, b: number) => void;
4936
+ readonly fruchtermanreingoldsolver_step: (a: number, b: number, c: number) => void;
4937
+ readonly fruchtermanreingoldsolver_totalIterations: (a: number) => number;
3756
4938
  readonly gabrielGraphEdges: (a: number, b: number) => void;
3757
4939
  readonly gabrielGraphPropertyV6: (a: number, b: number, c: number) => void;
4940
+ readonly gemsolver_isFinished: (a: number) => number;
4941
+ readonly gemsolver_iteration: (a: number) => number;
4942
+ readonly gemsolver_new: (a: number, b: number, c: any) => void;
4943
+ readonly gemsolver_numNodes: (a: number) => number;
4944
+ readonly gemsolver_run: (a: number, b: number, c: number) => void;
4945
+ readonly gemsolver_runSteps: (a: number, b: number, c: number, d: number) => void;
4946
+ readonly gemsolver_status: (a: number, b: number) => void;
4947
+ readonly gemsolver_step: (a: number, b: number, c: number) => void;
4948
+ readonly gemsolver_totalIterations: (a: number) => number;
3758
4949
  readonly generateLayeredConstraints: (a: number, b: number, c: number, d: number, e: number) => void;
3759
4950
  readonly graph12hopRowNormalizedProbabilities: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
3760
4951
  readonly graphRowNormalizedProbabilities: (a: number, b: number) => void;
4952
+ readonly gripsolver_isFinished: (a: number) => number;
4953
+ readonly gripsolver_iteration: (a: number) => number;
4954
+ readonly gripsolver_new: (a: number, b: number, c: any) => void;
4955
+ readonly gripsolver_numLevels: (a: number) => number;
4956
+ readonly gripsolver_numNodes: (a: number) => number;
4957
+ readonly gripsolver_run: (a: number, b: number, c: number) => void;
4958
+ readonly gripsolver_runSteps: (a: number, b: number, c: number, d: number) => void;
4959
+ readonly gripsolver_status: (a: number, b: number) => void;
4960
+ readonly gripsolver_step: (a: number, b: number, c: number) => void;
4961
+ readonly gripsolver_totalIterations: (a: number) => number;
4962
+ readonly groupinaboxsolver_boxes: (a: number, b: number) => void;
4963
+ readonly groupinaboxsolver_isFinished: (a: number) => number;
4964
+ readonly groupinaboxsolver_iteration: (a: number) => number;
4965
+ readonly groupinaboxsolver_new: (a: number, b: number, c: any, d: any) => void;
4966
+ readonly groupinaboxsolver_numNodes: (a: number) => number;
4967
+ readonly groupinaboxsolver_run: (a: number, b: number, c: number) => void;
4968
+ readonly groupinaboxsolver_runSteps: (a: number, b: number, c: number, d: number) => void;
4969
+ readonly groupinaboxsolver_status: (a: number, b: number) => void;
4970
+ readonly groupinaboxsolver_step: (a: number, b: number, c: number) => void;
4971
+ readonly groupinaboxsolver_totalIterations: (a: number) => number;
4972
+ readonly gtreeoverlapremoval_fromRadii: (a: number, b: number, c: number, d: any) => void;
4973
+ readonly gtreeoverlapremoval_isFinished: (a: number) => number;
4974
+ readonly gtreeoverlapremoval_iteration: (a: number) => number;
4975
+ readonly gtreeoverlapremoval_lastOverlapCount: (a: number) => number;
4976
+ readonly gtreeoverlapremoval_new: (a: number, b: number, c: number, d: number, e: number, f: any) => void;
4977
+ readonly gtreeoverlapremoval_numNodes: (a: number) => number;
4978
+ readonly gtreeoverlapremoval_run: (a: number, b: number, c: number) => void;
4979
+ readonly gtreeoverlapremoval_runSteps: (a: number, b: number, c: number, d: number) => void;
4980
+ readonly gtreeoverlapremoval_status: (a: number, b: number) => void;
4981
+ readonly gtreeoverlapremoval_step: (a: number, b: number, c: number) => void;
4982
+ readonly gtreeoverlapremoval_totalIterations: (a: number) => number;
3761
4983
  readonly gumapsolver_a: (a: number) => number;
3762
4984
  readonly gumapsolver_ab: (a: number, b: number) => void;
3763
4985
  readonly gumapsolver_b: (a: number) => number;
@@ -3774,6 +4996,8 @@ export interface InitOutput {
3774
4996
  readonly gumapsolver_status: (a: number, b: number) => void;
3775
4997
  readonly gumapsolver_step: (a: number, b: number, c: number) => void;
3776
4998
  readonly gumapsolver_totalIterations: (a: number) => number;
4999
+ readonly hde: (a: number, b: number, c: any) => void;
5000
+ readonly hdeNd: (a: number, b: number, c: any) => void;
3777
5001
  readonly hybridknnresult_avgDeg1: (a: number) => number;
3778
5002
  readonly hybridknnresult_avgDeg2: (a: number) => number;
3779
5003
  readonly hybridknnresult_avgRowK: (a: number) => number;
@@ -3871,6 +5095,25 @@ export interface InitOutput {
3871
5095
  readonly layoutnd_len: (a: number) => number;
3872
5096
  readonly layoutnd_numNodes: (a: number) => number;
3873
5097
  readonly layoutnd_zeros: (a: number, b: number, c: number) => void;
5098
+ readonly leidenCommunities: (a: number, b: number, c: any) => void;
5099
+ readonly leidenresult_labels: (a: number, b: number) => void;
5100
+ readonly leidenresult_modularity: (a: number) => number;
5101
+ readonly leidenresult_numCommunities: (a: number) => number;
5102
+ readonly leidenresult_passes: (a: number) => number;
5103
+ readonly leidenresult_quality: (a: number) => number;
5104
+ readonly leidenresult_toRecord: (a: number, b: number) => void;
5105
+ readonly linlogsolver_energy: (a: number, b: number, c: number) => void;
5106
+ readonly linlogsolver_isFinished: (a: number) => number;
5107
+ readonly linlogsolver_iteration: (a: number) => number;
5108
+ readonly linlogsolver_masses: (a: number, b: number) => void;
5109
+ readonly linlogsolver_maxDisplacement: (a: number) => number;
5110
+ readonly linlogsolver_new: (a: number, b: number, c: any) => void;
5111
+ readonly linlogsolver_numNodes: (a: number) => number;
5112
+ readonly linlogsolver_run: (a: number, b: number, c: number) => void;
5113
+ readonly linlogsolver_runSteps: (a: number, b: number, c: number, d: number) => void;
5114
+ readonly linlogsolver_status: (a: number, b: number) => void;
5115
+ readonly linlogsolver_step: (a: number, b: number, c: number) => void;
5116
+ readonly linlogsolver_totalIterations: (a: number) => number;
3874
5117
  readonly louvainCoarsen: (a: number, b: number, c: any) => void;
3875
5118
  readonly louvainCommunities: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
3876
5119
  readonly louvainresult_labels: (a: number, b: number) => void;
@@ -3904,22 +5147,46 @@ export interface InitOutput {
3904
5147
  readonly manifoldlayout2d_x: (a: number, b: number, c: number) => void;
3905
5148
  readonly manifoldlayout2d_y: (a: number, b: number, c: number) => void;
3906
5149
  readonly manifoldlayout2d_zeros: (a: number, b: number, c: number, d: number) => void;
5150
+ readonly maxentstresssolver_currentAlpha: (a: number) => number;
5151
+ readonly maxentstresssolver_effectiveQ: (a: number) => number;
5152
+ readonly maxentstresssolver_isFinished: (a: number) => number;
5153
+ readonly maxentstresssolver_iteration: (a: number) => number;
5154
+ readonly maxentstresssolver_new: (a: number, b: number, c: any) => void;
5155
+ readonly maxentstresssolver_numNodes: (a: number) => number;
5156
+ readonly maxentstresssolver_run: (a: number, b: number, c: number) => void;
5157
+ readonly maxentstresssolver_runSteps: (a: number, b: number, c: number, d: number) => void;
5158
+ readonly maxentstresssolver_status: (a: number, b: number) => void;
5159
+ readonly maxentstresssolver_step: (a: number, b: number, c: number) => void;
5160
+ readonly maxentstresssolver_totalIterations: (a: number) => number;
3907
5161
  readonly metricreport_adjustedPatchNig: (a: number, b: number) => void;
3908
5162
  readonly metricreport_angularResolution: (a: number, b: number) => void;
3909
5163
  readonly metricreport_aspectRatio: (a: number, b: number) => void;
5164
+ readonly metricreport_calinskiHarabasz: (a: number, b: number) => void;
5165
+ readonly metricreport_cdm: (a: number, b: number) => void;
5166
+ readonly metricreport_clusterAreaFaithfulness: (a: number, b: number) => void;
5167
+ readonly metricreport_cqHacAmi: (a: number, b: number) => void;
5168
+ readonly metricreport_cqHacHom: (a: number, b: number) => void;
5169
+ readonly metricreport_cqKmeansAmi: (a: number, b: number) => void;
5170
+ readonly metricreport_cqKmeansAri: (a: number, b: number) => void;
3910
5171
  readonly metricreport_crossingAngle: (a: number, b: number) => void;
3911
5172
  readonly metricreport_crossingNumber: (a: number) => number;
3912
5173
  readonly metricreport_crosslessness: (a: number, b: number) => void;
5174
+ readonly metricreport_daviesBouldin: (a: number, b: number) => void;
5175
+ readonly metricreport_dc: (a: number, b: number) => void;
5176
+ readonly metricreport_dsc: (a: number, b: number) => void;
3913
5177
  readonly metricreport_gabrielGraphPreservation: (a: number, b: number) => void;
3914
5178
  readonly metricreport_gabrielGraphProperty: (a: number, b: number) => void;
5179
+ readonly metricreport_hdm: (a: number, b: number) => void;
3915
5180
  readonly metricreport_idealEdgeLengths: (a: number, b: number) => void;
3916
5181
  readonly metricreport_landmarkStratifiedRta: (a: number, b: number) => void;
3917
5182
  readonly metricreport_layoutDegeneracy: (a: number, b: number) => void;
3918
5183
  readonly metricreport_minimumAngle: (a: number, b: number) => void;
3919
5184
  readonly metricreport_minimumAngleA1: (a: number, b: number) => void;
5185
+ readonly metricreport_neighborhoodHit: (a: number, b: number) => void;
3920
5186
  readonly metricreport_neighborhoodPreservation1Hop: (a: number, b: number) => void;
3921
5187
  readonly metricreport_neighborhoodPreservation2Hop: (a: number, b: number) => void;
3922
5188
  readonly metricreport_nodeResolution: (a: number, b: number) => void;
5189
+ readonly metricreport_pairwiseDistanceOverlapError: (a: number, b: number) => void;
3923
5190
  readonly metricreport_relativeNeighborhoodPreservation: (a: number, b: number) => void;
3924
5191
  readonly metricreport_sampledCrossingNumber: (a: number, b: number) => void;
3925
5192
  readonly metricreport_sampledCrosslessness: (a: number, b: number) => void;
@@ -3927,21 +5194,56 @@ export interface InitOutput {
3927
5194
  readonly metricreport_sampledNp2: (a: number, b: number) => void;
3928
5195
  readonly metricreport_sampledScaleNormalizedStress: (a: number, b: number) => void;
3929
5196
  readonly metricreport_scaleNormalizedStress: (a: number, b: number) => void;
5197
+ readonly metricreport_sepmeGab: (a: number, b: number) => void;
5198
+ readonly metricreport_sepmeGong: (a: number, b: number) => void;
5199
+ readonly metricreport_sepmeKnng: (a: number, b: number) => void;
5200
+ readonly metricreport_sepmeRng: (a: number, b: number) => void;
5201
+ readonly metricreport_silhouette: (a: number, b: number) => void;
5202
+ readonly metricreport_sprawlterNn: (a: number, b: number) => void;
3930
5203
  readonly metricreport_toRecord: (a: number, b: number) => void;
3931
5204
  readonly minimumAngle: (a: number, b: number, c: number) => void;
3932
5205
  readonly minimumAngleSummary: (a: number, b: number, c: number) => void;
3933
5206
  readonly minimumanglesummary_a1: (a: number) => number;
3934
5207
  readonly minimumanglesummary_a2: (a: number) => number;
3935
5208
  readonly minimumanglesummary_toRecord: (a: number, b: number) => void;
5209
+ readonly neighborhoodHit: (a: number, b: number, c: any, d: number, e: number) => void;
3936
5210
  readonly neighborhoodPreservation1Hop: (a: number, b: number, c: number) => void;
3937
5211
  readonly neighborhoodPreservation2HopV6: (a: number, b: number, c: number) => void;
3938
5212
  readonly nodeResolutionV6: (a: number, b: number) => void;
5213
+ readonly norMetrics: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
5214
+ readonly norMetricsWithoutGraph: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
3939
5215
  readonly normalizeLayout2d: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
5216
+ readonly normetricsresult_elRsd: (a: number) => number;
5217
+ readonly normetricsresult_gsBbIar: (a: number) => number;
5218
+ readonly normetricsresult_nmDmImse: (a: number) => number;
5219
+ readonly normetricsresult_ooNni: (a: number) => number;
5220
+ readonly normetricsresult_spChA: (a: number) => number;
5221
+ readonly normetricsresult_toRecord: (a: number, b: number) => void;
3940
5222
  readonly pacmapbackboneresult_backbone: (a: number) => number;
3941
5223
  readonly pacmapbackboneresult_fineLayout: (a: number) => number;
3942
5224
  readonly pacmapbackboneresult_solver: (a: number) => number;
5225
+ readonly pairwiseDistanceOverlapError: (a: number, b: number, c: any, d: number, e: number) => void;
3943
5226
  readonly parseCsrCsv: (a: number, b: number, c: number, d: number, e: number) => void;
3944
5227
  readonly partialBfsKnn: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
5228
+ readonly partitionAgreement: (a: number, b: any, c: any) => void;
5229
+ readonly partitionagreementresult_ami: (a: number) => number;
5230
+ readonly partitionagreementresult_ari: (a: number) => number;
5231
+ readonly partitionagreementresult_completeness: (a: number) => number;
5232
+ readonly partitionagreementresult_fmi: (a: number) => number;
5233
+ readonly partitionagreementresult_homogeneity: (a: number) => number;
5234
+ readonly partitionagreementresult_toRecord: (a: number, b: number) => void;
5235
+ readonly partitionagreementresult_vMeasure: (a: number) => number;
5236
+ readonly pfsprimeoverlapremoval_fromRadii: (a: number, b: number, c: number, d: any) => void;
5237
+ readonly pfsprimeoverlapremoval_isFinished: (a: number) => number;
5238
+ readonly pfsprimeoverlapremoval_iteration: (a: number) => number;
5239
+ readonly pfsprimeoverlapremoval_lastOverlapCount: (a: number) => number;
5240
+ readonly pfsprimeoverlapremoval_new: (a: number, b: number, c: number, d: number, e: number, f: any) => void;
5241
+ readonly pfsprimeoverlapremoval_numNodes: (a: number) => number;
5242
+ readonly pfsprimeoverlapremoval_run: (a: number, b: number, c: number) => void;
5243
+ readonly pfsprimeoverlapremoval_runSteps: (a: number, b: number, c: number, d: number) => void;
5244
+ readonly pfsprimeoverlapremoval_status: (a: number, b: number) => void;
5245
+ readonly pfsprimeoverlapremoval_step: (a: number, b: number, c: number) => void;
5246
+ readonly pfsprimeoverlapremoval_totalIterations: (a: number) => number;
3945
5247
  readonly pivotMdsInit: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: any) => void;
3946
5248
  readonly poincareDistance: (a: number, b: number, c: number, d: number) => number;
3947
5249
  readonly poincareMobiusAdd: (a: number, b: number, c: number, d: number, e: number) => void;
@@ -3968,6 +5270,7 @@ export interface InitOutput {
3968
5270
  readonly projectRectangleNoOverlap2d: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
3969
5271
  readonly rdMds: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
3970
5272
  readonly rectangleOverlaps: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
5273
+ readonly refineClusterLayout: (a: number, b: number, c: any, d: any) => void;
3971
5274
  readonly relativeNeighborhoodEdges: (a: number, b: number) => void;
3972
5275
  readonly removeCycles: (a: number, b: number) => void;
3973
5276
  readonly representativeMds: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
@@ -4080,22 +5383,51 @@ export interface InitOutput {
4080
5383
  readonly screenedpoissonresult_rhoMaxUsed: (a: number) => number;
4081
5384
  readonly screenedpoissonresult_sigmaUsed: (a: number) => number;
4082
5385
  readonly selectMaxminSpPivots: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
5386
+ readonly sellayoutsolver_isFinished: (a: number) => number;
5387
+ readonly sellayoutsolver_iteration: (a: number) => number;
5388
+ readonly sellayoutsolver_modulatedWeights: (a: number, b: number) => void;
5389
+ readonly sellayoutsolver_new: (a: number, b: number, c: any) => void;
5390
+ readonly sellayoutsolver_numNodes: (a: number) => number;
5391
+ readonly sellayoutsolver_run: (a: number, b: number, c: number) => void;
5392
+ readonly sellayoutsolver_runSteps: (a: number, b: number, c: number, d: number) => void;
5393
+ readonly sellayoutsolver_seTarget: (a: number) => number;
5394
+ readonly sellayoutsolver_status: (a: number, b: number) => void;
5395
+ readonly sellayoutsolver_step: (a: number, b: number, c: number) => void;
5396
+ readonly sellayoutsolver_totalIterations: (a: number) => number;
4083
5397
  readonly separationconstraint_gap: (a: number) => number;
4084
5398
  readonly separationconstraint_left: (a: number) => number;
4085
5399
  readonly separationconstraint_new: (a: number, b: number, c: number, d: number) => void;
4086
5400
  readonly separationconstraint_right: (a: number) => number;
5401
+ readonly sepmeGab: (a: number, b: number, c: any) => void;
5402
+ readonly sepmeGong: (a: number, b: number, c: any, d: number, e: number) => void;
5403
+ readonly sepmeKnng: (a: number, b: number, c: any, d: number, e: number) => void;
5404
+ readonly sepmeRng: (a: number, b: number, c: any) => void;
4087
5405
  readonly setPanicHook: () => void;
5406
+ readonly sfclayoutsolver_isFinished: (a: number) => number;
5407
+ readonly sfclayoutsolver_iteration: (a: number) => number;
5408
+ readonly sfclayoutsolver_new: (a: number, b: number, c: any) => void;
5409
+ readonly sfclayoutsolver_numNodes: (a: number) => number;
5410
+ readonly sfclayoutsolver_run: (a: number, b: number, c: number) => void;
5411
+ readonly sfclayoutsolver_runSteps: (a: number, b: number, c: number, d: number) => void;
5412
+ readonly sfclayoutsolver_status: (a: number, b: number) => void;
5413
+ readonly sfclayoutsolver_step: (a: number, b: number, c: number) => void;
5414
+ readonly sfclayoutsolver_totalIterations: (a: number) => number;
5415
+ readonly sfclayoutsolver_vertexOrder: (a: number, b: number) => void;
4088
5416
  readonly sgdsolver_currentEta: (a: number) => number;
4089
5417
  readonly sgdsolver_dogStats: (a: number) => number;
5418
+ readonly sgdsolver_drgraph: (a: number, b: number, c: any) => void;
4090
5419
  readonly sgdsolver_fromPairs: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: any, p: number, q: number, r: number, s: number, t: number, u: number, v: number, w: number) => void;
4091
5420
  readonly sgdsolver_fromPairsWithHinges: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number, s: number, t: number, u: number, v: number, w: number, x: number, y: number, z: number, a1: any, b1: number, c1: number, d1: number, e1: number, f1: number, g1: number, h1: number, i1: number) => void;
4092
5421
  readonly sgdsolver_full: (a: number, b: number, c: any, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
5422
+ readonly sgdsolver_graphCne: (a: number, b: number, c: any) => void;
4093
5423
  readonly sgdsolver_isFinished: (a: number) => number;
4094
5424
  readonly sgdsolver_iteration: (a: number) => number;
5425
+ readonly sgdsolver_largevis: (a: number, b: number, c: any) => void;
4095
5426
  readonly sgdsolver_numHinges: (a: number) => number;
4096
5427
  readonly sgdsolver_numNodes: (a: number) => number;
4097
5428
  readonly sgdsolver_numSprings: (a: number) => number;
4098
5429
  readonly sgdsolver_omega: (a: number, b: number, c: number, d: number, e: number, f: any, g: number, h: number, i: any, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number) => void;
5430
+ readonly sgdsolver_ortmannSparseStress: (a: number, b: number, c: any) => void;
4099
5431
  readonly sgdsolver_pacmapGraph: (a: number, b: number, c: any) => void;
4100
5432
  readonly sgdsolver_pacmapGraphWithBackbone: (a: number, b: number, c: any) => void;
4101
5433
  readonly sgdsolver_pacmapGraphWithLandmarkDistances: (a: number, b: number, c: number, d: number, e: number, f: any) => void;
@@ -4115,6 +5447,7 @@ export interface InitOutput {
4115
5447
  readonly sgdsolver_stepManifold: (a: number, b: number, c: number) => void;
4116
5448
  readonly sgdsolver_streamingNegatives: (a: number, b: number, c: any, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number, n: number, o: number, p: number, q: number, r: number) => void;
4117
5449
  readonly sgdsolver_totalIterations: (a: number) => number;
5450
+ readonly silhouetteScore: (a: number, b: number, c: any) => void;
4118
5451
  readonly smallestLaplacianEigenpairs: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
4119
5452
  readonly sparse12hoppairs_num1hop: (a: number) => number;
4120
5453
  readonly sparse12hoppairs_num2hop: (a: number) => number;
@@ -4182,6 +5515,9 @@ export interface InitOutput {
4182
5515
  readonly spectralmomentstats_sigmaLambda: (a: number) => number;
4183
5516
  readonly spectralmomentstats_sigmaLambdaSq: (a: number) => number;
4184
5517
  readonly sphericalDistance: (a: number, b: number, c: number, d: number) => number;
5518
+ readonly sprawlterNn: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
5519
+ readonly sprawlterNnRadii: (a: number, b: number, c: number, d: number) => void;
5520
+ readonly squarifiedTreemap: (a: number, b: any, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
4185
5521
  readonly stressmajorizationsolver_computeStress: (a: number, b: number, c: number) => void;
4186
5522
  readonly stressmajorizationsolver_fromDistanceMatrix: (a: number, b: number, c: number, d: number, e: any, f: number, g: number, h: number, i: number, j: number, k: number, l: number, m: number) => void;
4187
5523
  readonly stressmajorizationsolver_fromGraph: (a: number, b: number, c: any, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;