egraph 6.0.0-alpha.9 → 6.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +76 -36
- package/package.json +1 -1
- package/pkg/README.md +76 -36
- package/pkg/egraph_wasm.d.ts +1336 -1154
- package/pkg/egraph_wasm.js +13444 -8529
- package/pkg/egraph_wasm_bg.wasm +0 -0
- package/pkg/index.d.ts +1840 -1270
- package/pkg/index.js +189 -76
package/pkg/egraph_wasm.d.ts
CHANGED
|
@@ -130,9 +130,9 @@ export class AmgPcgSolver {
|
|
|
130
130
|
*/
|
|
131
131
|
static fromCsr(num_nodes: number, indptr: Uint32Array | number[], indices: Uint32Array | number[], values: Float64Array | number[], options: any): AmgPcgSolver;
|
|
132
132
|
/**
|
|
133
|
-
* Constructs an `AmgPcgSolver` for a shifted graph Laplacian (`"combinatorial"` or `"
|
|
133
|
+
* Constructs an `AmgPcgSolver` for a shifted graph Laplacian (`"combinatorial"` or `"symmetricNormalized"`).
|
|
134
134
|
*/
|
|
135
|
-
static fromGraphLaplacian(graph: CsrGraph, kind:
|
|
135
|
+
static fromGraphLaplacian(graph: CsrGraph, kind: any, shift: number | null | undefined, options: any): AmgPcgSolver;
|
|
136
136
|
/**
|
|
137
137
|
* Constructs an `AmgPcgSolver` for `I + gamma * L_sym` with exact `D^{1/2} 1` near-nullspace.
|
|
138
138
|
*/
|
|
@@ -216,7 +216,7 @@ export class AmgPcgSolver {
|
|
|
216
216
|
}
|
|
217
217
|
|
|
218
218
|
/**
|
|
219
|
-
* Output of `anisotropicLaplacian(graph,
|
|
219
|
+
* Output of `anisotropicLaplacian(graph, options)`.
|
|
220
220
|
*/
|
|
221
221
|
export class AnisotropicLaplacianResult {
|
|
222
222
|
private constructor();
|
|
@@ -251,10 +251,18 @@ export class ArenaOctree3d {
|
|
|
251
251
|
* Builds the weighted octree from flat `[x0, y0, z0, ...]` coordinates and per-point `masses`.
|
|
252
252
|
*/
|
|
253
253
|
_buildWeightedFlat(coords: any, masses: any): void;
|
|
254
|
+
/**
|
|
255
|
+
* Builds the octree directly from a `Layout3d`.
|
|
256
|
+
*/
|
|
257
|
+
build3d(layout: Layout3d): void;
|
|
254
258
|
/**
|
|
255
259
|
* Builds the octree directly from a 3D `LayoutNd`.
|
|
256
260
|
*/
|
|
257
261
|
buildNd(layout: LayoutNd): void;
|
|
262
|
+
/**
|
|
263
|
+
* Builds the weighted octree directly from a `Layout3d` and per-point `masses`.
|
|
264
|
+
*/
|
|
265
|
+
buildWeighted3d(layout: Layout3d, masses: Float64Array | number[]): void;
|
|
258
266
|
/**
|
|
259
267
|
* Builds the weighted octree directly from a 3D `LayoutNd` and per-point `masses`.
|
|
260
268
|
*/
|
|
@@ -375,7 +383,7 @@ export class BackboneSolver {
|
|
|
375
383
|
/**
|
|
376
384
|
* Returns the scheduled iteration count.
|
|
377
385
|
*/
|
|
378
|
-
readonly totalIterations: number;
|
|
386
|
+
readonly totalIterations: number | undefined;
|
|
379
387
|
}
|
|
380
388
|
|
|
381
389
|
/**
|
|
@@ -432,6 +440,16 @@ export class ClassDensityResult {
|
|
|
432
440
|
readonly hdm: number;
|
|
433
441
|
}
|
|
434
442
|
|
|
443
|
+
/**
|
|
444
|
+
* Classical MDS `LayoutGenerator` supporting `"layout2d"`, `"layout3d"`, and `"layoutNd"`.
|
|
445
|
+
*/
|
|
446
|
+
export class ClassicalMds {
|
|
447
|
+
free(): void;
|
|
448
|
+
[Symbol.dispose](): void;
|
|
449
|
+
generate(graph: CsrGraph): any;
|
|
450
|
+
constructor(options: any);
|
|
451
|
+
}
|
|
452
|
+
|
|
435
453
|
/**
|
|
436
454
|
* Detailed Grid-based Cluster Area Faithfulness (`G-CAF`) report returned by
|
|
437
455
|
* `clusterAreaFaithfulnessDetail`.
|
|
@@ -521,7 +539,18 @@ export class ClusterRefineSolver {
|
|
|
521
539
|
/**
|
|
522
540
|
* Returns the maximum scheduled iterations (`maxIterations`).
|
|
523
541
|
*/
|
|
524
|
-
readonly totalIterations: number;
|
|
542
|
+
readonly totalIterations: number | undefined;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
/**
|
|
546
|
+
* Coarse Louvain edge-length-first area reservation and non-SPD backbone generator (`LayoutGenerator`).
|
|
547
|
+
*/
|
|
548
|
+
export class CoarseBackbone {
|
|
549
|
+
free(): void;
|
|
550
|
+
[Symbol.dispose](): void;
|
|
551
|
+
generateResult(): CoarseBackboneResult;
|
|
552
|
+
generate(): Layout2d;
|
|
553
|
+
constructor(graph: CsrGraph, options: any);
|
|
525
554
|
}
|
|
526
555
|
|
|
527
556
|
/**
|
|
@@ -688,8 +717,8 @@ export class CsrGraph {
|
|
|
688
717
|
* Constructs a `CsrGraph` from CSR `indptr`, `indices`, and optional `weights`.
|
|
689
718
|
*
|
|
690
719
|
* The optional trailing parameters accept either `(directed, sanitize)` booleans or an
|
|
691
|
-
* options object `{ directed?: boolean, sanitize?: boolean }`.
|
|
692
|
-
* `directed = false` and `sanitize = true`.
|
|
720
|
+
* options object `{ directed?: boolean, sanitize?: boolean, weightDtype?: "float32" }`.
|
|
721
|
+
* Defaults are `directed = false` and `sanitize = true`.
|
|
693
722
|
*/
|
|
694
723
|
static fromCsr(indptr: Uint32Array | number[], indices: Uint32Array | number[], weights: Float32Array | number[] | null | undefined, directed_or_options: any, sanitize?: boolean | null): CsrGraph;
|
|
695
724
|
/**
|
|
@@ -782,11 +811,11 @@ export class CsrMatrix {
|
|
|
782
811
|
/**
|
|
783
812
|
* Estimates `lambdaMax` via deterministic Lanczos tridiagonalization clamped by Gershgorin.
|
|
784
813
|
*/
|
|
785
|
-
estimateLambdaMaxLanczos(num_steps
|
|
814
|
+
estimateLambdaMaxLanczos(num_steps: number | null | undefined, safety_factor: number | null | undefined, seed: any): number;
|
|
786
815
|
/**
|
|
787
816
|
* Estimates `lambdaMax` via deterministic Rademacher power iteration clamped by Gershgorin.
|
|
788
817
|
*/
|
|
789
|
-
estimateLambdaMax(num_iters
|
|
818
|
+
estimateLambdaMax(num_iters: number | null | undefined, safety_factor: number | null | undefined, seed: any): number;
|
|
790
819
|
/**
|
|
791
820
|
* Constructs a validated `CsrMatrix` from CSR `numNodes`, `indptr`, `indices`, and `values`.
|
|
792
821
|
*/
|
|
@@ -985,6 +1014,39 @@ export class DogVaradhanLandmarks {
|
|
|
985
1014
|
readonly usedCoarseScaffold: boolean;
|
|
986
1015
|
}
|
|
987
1016
|
|
|
1017
|
+
/**
|
|
1018
|
+
* Cooperative multilevel negative-sampling `DRGraph` (Zhu et al., 2020) layout solver (`f32`).
|
|
1019
|
+
*/
|
|
1020
|
+
export class DrGraphSolver {
|
|
1021
|
+
free(): void;
|
|
1022
|
+
[Symbol.dispose](): void;
|
|
1023
|
+
_run2d(layout: Layout2d): string;
|
|
1024
|
+
_run3d(layout: Layout3d): string;
|
|
1025
|
+
_runManifold(layout: ManifoldLayout2d): string;
|
|
1026
|
+
_runNd(layout: LayoutNd): string;
|
|
1027
|
+
_runSteps2d(layout: Layout2d, steps: number): string;
|
|
1028
|
+
_runSteps3d(layout: Layout3d, steps: number): string;
|
|
1029
|
+
_runStepsManifold(layout: ManifoldLayout2d, steps: number): string;
|
|
1030
|
+
_runStepsNd(layout: LayoutNd, steps: number): string;
|
|
1031
|
+
_step2d(layout: Layout2d): string;
|
|
1032
|
+
_step3d(layout: Layout3d): string;
|
|
1033
|
+
_stepManifold(layout: ManifoldLayout2d): string;
|
|
1034
|
+
_stepNd(layout: LayoutNd): string;
|
|
1035
|
+
/**
|
|
1036
|
+
* Constructs a `DrGraphSolver` from `graph` and `DrGraphOptions`.
|
|
1037
|
+
*/
|
|
1038
|
+
constructor(graph: CsrGraph, options: any);
|
|
1039
|
+
readonly currentLr: number;
|
|
1040
|
+
readonly isFinished: boolean;
|
|
1041
|
+
readonly iteration: number;
|
|
1042
|
+
readonly numLevels: number;
|
|
1043
|
+
readonly numNodes: number;
|
|
1044
|
+
readonly numSprings: number;
|
|
1045
|
+
readonly status: string;
|
|
1046
|
+
readonly target: string;
|
|
1047
|
+
readonly totalIterations: number | undefined;
|
|
1048
|
+
}
|
|
1049
|
+
|
|
988
1050
|
/**
|
|
989
1051
|
* Arbitrary-dimensional $k$-d tree (`f32`) supporting $k$-NN and fixed-radius spatial queries.
|
|
990
1052
|
*/
|
|
@@ -1045,6 +1107,79 @@ export class DynamicKdTree {
|
|
|
1045
1107
|
readonly numNodes: number;
|
|
1046
1108
|
}
|
|
1047
1109
|
|
|
1110
|
+
/**
|
|
1111
|
+
* Contiguous edge-polyline buffer (`edgeOffsets` + interleaved control points `f32`)
|
|
1112
|
+
* across `"layout2d"`, `"layout3d"`, and `"layoutNd"`, exposing `edgeOffsetsView()` and
|
|
1113
|
+
* `pointsView()`.
|
|
1114
|
+
*/
|
|
1115
|
+
export class EdgePolylines {
|
|
1116
|
+
private constructor();
|
|
1117
|
+
free(): void;
|
|
1118
|
+
[Symbol.dispose](): void;
|
|
1119
|
+
static _fromParts2d(edge_offsets: Uint32Array | number[], points: Layout2d): EdgePolylines;
|
|
1120
|
+
static _fromParts3d(edge_offsets: Uint32Array | number[], points: Layout3d): EdgePolylines;
|
|
1121
|
+
static _fromPartsNd(edge_offsets: Uint32Array | number[], points: LayoutNd): EdgePolylines;
|
|
1122
|
+
static _straightLineFromGraph2d(graph: CsrGraph, layout: Layout2d): EdgePolylines;
|
|
1123
|
+
static _straightLineFromGraph3d(graph: CsrGraph, layout: Layout3d): EdgePolylines;
|
|
1124
|
+
static _straightLineFromGraphNd(graph: CsrGraph, layout: LayoutNd): EdgePolylines;
|
|
1125
|
+
/**
|
|
1126
|
+
* Returns a freshly allocated `Uint32Array` copy of `edgeOffsets`.
|
|
1127
|
+
*/
|
|
1128
|
+
copyEdgeOffsets(): Uint32Array;
|
|
1129
|
+
/**
|
|
1130
|
+
* Returns a freshly allocated `Float32Array` copy of the interleaved control-point buffer.
|
|
1131
|
+
*/
|
|
1132
|
+
copyPoints(): Float32Array;
|
|
1133
|
+
/**
|
|
1134
|
+
* Returns a deep copy of this `EdgePolylines`.
|
|
1135
|
+
*/
|
|
1136
|
+
copy(): EdgePolylines;
|
|
1137
|
+
/**
|
|
1138
|
+
* Returns the scalar length of `edgeOffsets` (`numEdges + 1`).
|
|
1139
|
+
*/
|
|
1140
|
+
edgeOffsetsLen(): number;
|
|
1141
|
+
/**
|
|
1142
|
+
* Returns the linear-memory byte offset of `edgeOffsets` (`Uint32Array`).
|
|
1143
|
+
*/
|
|
1144
|
+
edgeOffsetsPtr(): number;
|
|
1145
|
+
/**
|
|
1146
|
+
* Returns the control-point `[start, end)` range for `edge`.
|
|
1147
|
+
*/
|
|
1148
|
+
edgePointRange(edge: number): Uint32Array;
|
|
1149
|
+
/**
|
|
1150
|
+
* Returns `true` if every control-point coordinate is finite.
|
|
1151
|
+
*/
|
|
1152
|
+
isAllFinite(): boolean;
|
|
1153
|
+
/**
|
|
1154
|
+
* Returns `true` if there are zero edges.
|
|
1155
|
+
*/
|
|
1156
|
+
isEmpty(): boolean;
|
|
1157
|
+
/**
|
|
1158
|
+
* Returns the total scalar length of the interleaved control-point buffer (`totalPoints * dims`).
|
|
1159
|
+
*/
|
|
1160
|
+
pointsLen(): number;
|
|
1161
|
+
/**
|
|
1162
|
+
* Returns the linear-memory byte offset of the interleaved control points (`Float32Array`).
|
|
1163
|
+
*/
|
|
1164
|
+
pointsPtr(): number;
|
|
1165
|
+
/**
|
|
1166
|
+
* Returns the coordinate dimensionality (`2`, `3`, or `LayoutNd.dims`).
|
|
1167
|
+
*/
|
|
1168
|
+
readonly dims: number;
|
|
1169
|
+
/**
|
|
1170
|
+
* Returns the number of polylines (edges) stored in this buffer.
|
|
1171
|
+
*/
|
|
1172
|
+
readonly numEdges: number;
|
|
1173
|
+
/**
|
|
1174
|
+
* Returns the backing layout target string (`"layout2d"`, `"layout3d"`, or `"layoutNd"`).
|
|
1175
|
+
*/
|
|
1176
|
+
readonly target: string;
|
|
1177
|
+
/**
|
|
1178
|
+
* Returns the total number of control points across all edges.
|
|
1179
|
+
*/
|
|
1180
|
+
readonly totalPoints: number;
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1048
1183
|
/**
|
|
1049
1184
|
* Effective edge resistances and Foster's theorem diagnostics for canonical simple undirected edges.
|
|
1050
1185
|
*/
|
|
@@ -1148,64 +1283,36 @@ export class EigenResult {
|
|
|
1148
1283
|
}
|
|
1149
1284
|
|
|
1150
1285
|
/**
|
|
1151
|
-
* Cooperative Force-Directed Edge Bundling (`FDEB`) solver (`f32`)
|
|
1152
|
-
*
|
|
1286
|
+
* Cooperative Force-Directed Edge Bundling (`FDEB`) solver (`f32`) mutating `EdgePolylines`
|
|
1287
|
+
* in place across `"layout2d"`, `"layout3d"`, and `"layoutNd"`.
|
|
1153
1288
|
*/
|
|
1154
1289
|
export class FdebSolver {
|
|
1155
1290
|
free(): void;
|
|
1156
1291
|
[Symbol.dispose](): void;
|
|
1157
1292
|
/**
|
|
1158
|
-
*
|
|
1293
|
+
* Constructs an `FdebSolver` bound to the geometry/target of `polylines`.
|
|
1159
1294
|
*/
|
|
1160
|
-
|
|
1295
|
+
constructor(polylines: EdgePolylines, options: any);
|
|
1161
1296
|
/**
|
|
1162
|
-
*
|
|
1297
|
+
* Executes up to `steps` FDEB bundling iterations in place on `polylines`.
|
|
1163
1298
|
*/
|
|
1164
|
-
|
|
1299
|
+
runSteps(polylines: EdgePolylines, steps: number): string;
|
|
1165
1300
|
/**
|
|
1166
|
-
*
|
|
1301
|
+
* Runs FDEB bundling to completion in place on `polylines`.
|
|
1167
1302
|
*/
|
|
1168
|
-
|
|
1303
|
+
run(polylines: EdgePolylines): string;
|
|
1169
1304
|
/**
|
|
1170
|
-
* Executes
|
|
1305
|
+
* Executes one FDEB bundling iteration in place on `polylines`.
|
|
1171
1306
|
*/
|
|
1172
|
-
|
|
1173
|
-
/**
|
|
1174
|
-
* Executes one FDEB iteration using `Layout2d`.
|
|
1175
|
-
*/
|
|
1176
|
-
_step2d(layout: Layout2d): string;
|
|
1177
|
-
/**
|
|
1178
|
-
* Executes one FDEB iteration using `LayoutNd`.
|
|
1179
|
-
*/
|
|
1180
|
-
_stepNd(layout: LayoutNd): string;
|
|
1181
|
-
/**
|
|
1182
|
-
* Returns CSR-style polyline point offsets of length `numEdges + 1` (`Uint32Array`).
|
|
1183
|
-
*/
|
|
1184
|
-
edgeOffsets(): Uint32Array;
|
|
1185
|
-
/**
|
|
1186
|
-
* Constructs an `FdebSolver` from `graph` and optional `FdebOptions` (`stepsPerCycle`).
|
|
1187
|
-
*/
|
|
1188
|
-
constructor(graph: CsrGraph, options: any);
|
|
1189
|
-
/**
|
|
1190
|
-
* Extracts a single coordinate `axis` (`0..pointDims`) across all bundled edge control points.
|
|
1191
|
-
*/
|
|
1192
|
-
pointsAxis(axis: number): Float32Array;
|
|
1307
|
+
step(polylines: EdgePolylines): string;
|
|
1193
1308
|
/**
|
|
1194
|
-
* Returns
|
|
1309
|
+
* Returns the current subdivision cycle index.
|
|
1195
1310
|
*/
|
|
1196
|
-
|
|
1311
|
+
readonly currentCycle: number;
|
|
1197
1312
|
/**
|
|
1198
|
-
*
|
|
1313
|
+
* Returns the coordinate dimensionality (`2`, `3`, or `LayoutNd.dims`).
|
|
1199
1314
|
*/
|
|
1200
|
-
|
|
1201
|
-
/**
|
|
1202
|
-
* Returns all bundled polyline control points packed as flat interleaved `[x0, y0, ...]` (`Float32Array`).
|
|
1203
|
-
*/
|
|
1204
|
-
points(): Float32Array;
|
|
1205
|
-
/**
|
|
1206
|
-
* Returns all edge polyline points packed as row-major interleaved coordinates (`Float32Array`).
|
|
1207
|
-
*/
|
|
1208
|
-
toInterleavedPointsNd(): Float32Array;
|
|
1315
|
+
readonly dims: number;
|
|
1209
1316
|
/**
|
|
1210
1317
|
* Returns `true` when edge bundling has converged or completed.
|
|
1211
1318
|
*/
|
|
@@ -1215,25 +1322,29 @@ export class FdebSolver {
|
|
|
1215
1322
|
*/
|
|
1216
1323
|
readonly iteration: number;
|
|
1217
1324
|
/**
|
|
1218
|
-
* Returns the number of
|
|
1325
|
+
* Returns the number of compatible edge pairs interacting during bundling.
|
|
1219
1326
|
*/
|
|
1220
|
-
readonly
|
|
1327
|
+
readonly numCompatiblePairs: number;
|
|
1221
1328
|
/**
|
|
1222
|
-
* Returns the
|
|
1329
|
+
* Returns the number of edges being bundled.
|
|
1223
1330
|
*/
|
|
1224
|
-
readonly
|
|
1331
|
+
readonly numEdges: number;
|
|
1225
1332
|
/**
|
|
1226
|
-
* Returns the
|
|
1333
|
+
* Returns the current number of control points per edge.
|
|
1227
1334
|
*/
|
|
1228
|
-
readonly
|
|
1335
|
+
readonly ptsPerEdge: number;
|
|
1229
1336
|
/**
|
|
1230
1337
|
* Returns the solver lifecycle status string.
|
|
1231
1338
|
*/
|
|
1232
1339
|
readonly status: string;
|
|
1340
|
+
/**
|
|
1341
|
+
* Returns the bound target storage kind (`"layout2d"`, `"layout3d"`, or `"layoutNd"`).
|
|
1342
|
+
*/
|
|
1343
|
+
readonly target: string;
|
|
1233
1344
|
/**
|
|
1234
1345
|
* Returns the total scheduled iterations across all subdivision cycles.
|
|
1235
1346
|
*/
|
|
1236
|
-
readonly totalIterations: number;
|
|
1347
|
+
readonly totalIterations: number | undefined;
|
|
1237
1348
|
}
|
|
1238
1349
|
|
|
1239
1350
|
/**
|
|
@@ -1243,21 +1354,9 @@ export class FitFieldStats {
|
|
|
1243
1354
|
private constructor();
|
|
1244
1355
|
free(): void;
|
|
1245
1356
|
[Symbol.dispose](): void;
|
|
1246
|
-
/**
|
|
1247
|
-
* Number of inverse 2D FFTs executed.
|
|
1248
|
-
*/
|
|
1249
1357
|
readonly inverseFfts: number;
|
|
1250
|
-
/**
|
|
1251
|
-
* Number of forward 2D FFTs executed on kernel grids.
|
|
1252
|
-
*/
|
|
1253
1358
|
readonly kernelForwardFfts: number;
|
|
1254
|
-
/**
|
|
1255
|
-
* Number of forward 2D FFTs executed on particle charge grids.
|
|
1256
|
-
*/
|
|
1257
1359
|
readonly particleForwardFfts: number;
|
|
1258
|
-
/**
|
|
1259
|
-
* Total `fft_2d` calls (`particleForwardFfts + kernelForwardFfts + inverseFfts`).
|
|
1260
|
-
*/
|
|
1261
1360
|
readonly totalFft2dCalls: number;
|
|
1262
1361
|
}
|
|
1263
1362
|
|
|
@@ -1310,75 +1409,37 @@ export class ForbidOverlapRemoval {
|
|
|
1310
1409
|
/**
|
|
1311
1410
|
* Returns the maximum scheduled scaling rounds (`maxScaleIters`).
|
|
1312
1411
|
*/
|
|
1313
|
-
readonly totalIterations: number;
|
|
1412
|
+
readonly totalIterations: number | undefined;
|
|
1314
1413
|
}
|
|
1315
1414
|
|
|
1316
1415
|
/**
|
|
1317
1416
|
* Cooperative ForceAtlas2 (Jacomy et al., 2014) force-directed layout solver (`f32`).
|
|
1318
|
-
*
|
|
1319
|
-
* Note: `linlogMode` enables ForceAtlas2 logarithmic attraction
|
|
1320
|
-
* ($w \frac{\ln(1 + d)}{d} (p_v - p_u)$, decaying linearly to `0` as $d \to 0$) and is
|
|
1321
|
-
* distinct from Noack (2007) true LinLog (`LinLogSolver`).
|
|
1322
1417
|
*/
|
|
1323
1418
|
export class ForceAtlas2Solver {
|
|
1324
1419
|
free(): void;
|
|
1325
1420
|
[Symbol.dispose](): void;
|
|
1326
|
-
/**
|
|
1327
|
-
* Runs ForceAtlas2 to completion on `Layout2d` in place.
|
|
1328
|
-
*/
|
|
1329
1421
|
_run2d(layout: Layout2d): string;
|
|
1330
|
-
|
|
1331
|
-
* Runs ForceAtlas2 to completion on `LayoutNd` in place.
|
|
1332
|
-
*/
|
|
1422
|
+
_run3d(layout: Layout3d): string;
|
|
1333
1423
|
_runNd(layout: LayoutNd): string;
|
|
1334
|
-
/**
|
|
1335
|
-
* Executes up to `steps` ForceAtlas2 iterations on `Layout2d` in place.
|
|
1336
|
-
*/
|
|
1337
1424
|
_runSteps2d(layout: Layout2d, steps: number): string;
|
|
1338
|
-
|
|
1339
|
-
* Executes up to `steps` ForceAtlas2 iterations on `LayoutNd` in place.
|
|
1340
|
-
*/
|
|
1425
|
+
_runSteps3d(layout: Layout3d, steps: number): string;
|
|
1341
1426
|
_runStepsNd(layout: LayoutNd, steps: number): string;
|
|
1342
|
-
/**
|
|
1343
|
-
* Executes one ForceAtlas2 iteration on `Layout2d` in place.
|
|
1344
|
-
*/
|
|
1345
1427
|
_step2d(layout: Layout2d): string;
|
|
1346
|
-
|
|
1347
|
-
* Executes one ForceAtlas2 iteration on `LayoutNd` in place.
|
|
1348
|
-
*/
|
|
1428
|
+
_step3d(layout: Layout3d): string;
|
|
1349
1429
|
_stepNd(layout: LayoutNd): string;
|
|
1350
1430
|
/**
|
|
1351
1431
|
* Constructs a `ForceAtlas2Solver` from `graph` and optional `ForceAtlas2Options`.
|
|
1352
1432
|
*/
|
|
1353
1433
|
constructor(graph: CsrGraph, options: any);
|
|
1354
|
-
/**
|
|
1355
|
-
* Returns the per-node collision radii (`Float64Array`).
|
|
1356
|
-
*/
|
|
1357
1434
|
nodeRadii(): Float64Array;
|
|
1358
|
-
|
|
1359
|
-
* Returns `true` when the solver has converged or completed.
|
|
1360
|
-
*/
|
|
1435
|
+
readonly backend: string;
|
|
1361
1436
|
readonly isFinished: boolean;
|
|
1362
|
-
/**
|
|
1363
|
-
* Returns the number of iterations executed so far.
|
|
1364
|
-
*/
|
|
1365
1437
|
readonly iteration: number;
|
|
1366
|
-
/**
|
|
1367
|
-
* Returns the effective per-step vertex displacement cap.
|
|
1368
|
-
*/
|
|
1369
1438
|
readonly maxDisplacement: number;
|
|
1370
|
-
/**
|
|
1371
|
-
* Returns the expected vertex count.
|
|
1372
|
-
*/
|
|
1373
1439
|
readonly numNodes: number;
|
|
1374
|
-
/**
|
|
1375
|
-
* Returns the solver lifecycle status string.
|
|
1376
|
-
*/
|
|
1377
1440
|
readonly status: string;
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
*/
|
|
1381
|
-
readonly totalIterations: number;
|
|
1441
|
+
readonly target: string;
|
|
1442
|
+
readonly totalIterations: number | undefined;
|
|
1382
1443
|
}
|
|
1383
1444
|
|
|
1384
1445
|
/**
|
|
@@ -1387,81 +1448,35 @@ export class ForceAtlas2Solver {
|
|
|
1387
1448
|
export class FruchtermanReingoldSolver {
|
|
1388
1449
|
free(): void;
|
|
1389
1450
|
[Symbol.dispose](): void;
|
|
1390
|
-
/**
|
|
1391
|
-
* Runs Fruchterman-Reingold to completion on `Layout2d` in place.
|
|
1392
|
-
*/
|
|
1393
1451
|
_run2d(layout: Layout2d): string;
|
|
1394
|
-
|
|
1395
|
-
* Runs Fruchterman-Reingold to completion on `ManifoldLayout2d` in place.
|
|
1396
|
-
*/
|
|
1452
|
+
_run3d(layout: Layout3d): string;
|
|
1397
1453
|
_runManifold(layout: ManifoldLayout2d): string;
|
|
1398
|
-
/**
|
|
1399
|
-
* Runs Fruchterman-Reingold to completion on `LayoutNd` in place.
|
|
1400
|
-
*/
|
|
1401
1454
|
_runNd(layout: LayoutNd): string;
|
|
1402
|
-
/**
|
|
1403
|
-
* Executes up to `steps` Fruchterman-Reingold iterations on `Layout2d` in place.
|
|
1404
|
-
*/
|
|
1405
1455
|
_runSteps2d(layout: Layout2d, steps: number): string;
|
|
1406
|
-
|
|
1407
|
-
* Executes up to `steps` Fruchterman-Reingold geodesic steps on `ManifoldLayout2d` in place.
|
|
1408
|
-
*/
|
|
1456
|
+
_runSteps3d(layout: Layout3d, steps: number): string;
|
|
1409
1457
|
_runStepsManifold(layout: ManifoldLayout2d, steps: number): string;
|
|
1410
|
-
/**
|
|
1411
|
-
* Executes up to `steps` Fruchterman-Reingold iterations on `LayoutNd` in place.
|
|
1412
|
-
*/
|
|
1413
1458
|
_runStepsNd(layout: LayoutNd, steps: number): string;
|
|
1414
|
-
/**
|
|
1415
|
-
* Executes one Fruchterman-Reingold iteration on `Layout2d` in place.
|
|
1416
|
-
*/
|
|
1417
1459
|
_step2d(layout: Layout2d): string;
|
|
1418
|
-
|
|
1419
|
-
* Executes one Fruchterman-Reingold geodesic step on `ManifoldLayout2d` in place.
|
|
1420
|
-
*/
|
|
1460
|
+
_step3d(layout: Layout3d): string;
|
|
1421
1461
|
_stepManifold(layout: ManifoldLayout2d): string;
|
|
1422
|
-
/**
|
|
1423
|
-
* Executes one Fruchterman-Reingold iteration on `LayoutNd` in place.
|
|
1424
|
-
*/
|
|
1425
1462
|
_stepNd(layout: LayoutNd): string;
|
|
1426
1463
|
/**
|
|
1427
1464
|
* Constructs a `FruchtermanReingoldSolver` from `graph` and optional `FruchtermanReingoldOptions`.
|
|
1428
1465
|
*/
|
|
1429
1466
|
constructor(graph: CsrGraph, options: any);
|
|
1430
|
-
|
|
1431
|
-
* Returns the current cooling temperature.
|
|
1432
|
-
*/
|
|
1467
|
+
readonly backend: string;
|
|
1433
1468
|
readonly currentTemperature: number;
|
|
1434
|
-
/**
|
|
1435
|
-
* Returns `true` when the solver has converged or completed.
|
|
1436
|
-
*/
|
|
1437
1469
|
readonly isFinished: boolean;
|
|
1438
|
-
/**
|
|
1439
|
-
* Returns the number of iterations executed so far.
|
|
1440
|
-
*/
|
|
1441
1470
|
readonly iteration: number;
|
|
1442
|
-
/**
|
|
1443
|
-
* Returns the expected vertex count.
|
|
1444
|
-
*/
|
|
1445
1471
|
readonly numNodes: number;
|
|
1446
|
-
/**
|
|
1447
|
-
* Returns the effective optimal pairwise distance $k$.
|
|
1448
|
-
*/
|
|
1449
1472
|
readonly optimalDistance: number;
|
|
1450
|
-
/**
|
|
1451
|
-
* Returns the solver lifecycle status string.
|
|
1452
|
-
*/
|
|
1453
1473
|
readonly status: string;
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
*/
|
|
1457
|
-
readonly totalIterations: number;
|
|
1474
|
+
readonly target: string;
|
|
1475
|
+
readonly totalIterations: number | undefined;
|
|
1458
1476
|
}
|
|
1459
1477
|
|
|
1460
1478
|
/**
|
|
1461
1479
|
* Cooperative Nachmanson et al. (2016) GTree overlap removal solver (`f32`).
|
|
1462
|
-
*
|
|
1463
|
-
* Uses `Delaunay2d` when compiled with `delaunay` and falls back automatically to
|
|
1464
|
-
* `StaticKdTree` proximity under `--no-default-features`.
|
|
1465
1480
|
*/
|
|
1466
1481
|
export class GTreeOverlapRemoval {
|
|
1467
1482
|
free(): void;
|
|
@@ -1515,7 +1530,7 @@ export class GTreeOverlapRemoval {
|
|
|
1515
1530
|
/**
|
|
1516
1531
|
* Returns the maximum scheduled passes (`maxIterations`).
|
|
1517
1532
|
*/
|
|
1518
|
-
readonly totalIterations: number;
|
|
1533
|
+
readonly totalIterations: number | undefined;
|
|
1519
1534
|
}
|
|
1520
1535
|
|
|
1521
1536
|
/**
|
|
@@ -1559,55 +1574,57 @@ export class GemSolver {
|
|
|
1559
1574
|
/**
|
|
1560
1575
|
* Returns the maximum scheduled iterations (`maxIterations`).
|
|
1561
1576
|
*/
|
|
1562
|
-
readonly totalIterations: number;
|
|
1577
|
+
readonly totalIterations: number | undefined;
|
|
1563
1578
|
}
|
|
1564
1579
|
|
|
1565
1580
|
/**
|
|
1566
|
-
* Cooperative
|
|
1581
|
+
* Cooperative `Graph-CNE` (Bohm et al., 2025) contrastive neighbor embedding solver (`f32`).
|
|
1567
1582
|
*/
|
|
1568
|
-
export class
|
|
1583
|
+
export class GraphCneSolver {
|
|
1569
1584
|
free(): void;
|
|
1570
1585
|
[Symbol.dispose](): void;
|
|
1586
|
+
_run2d(layout: Layout2d): string;
|
|
1587
|
+
_run3d(layout: Layout3d): string;
|
|
1588
|
+
_runManifold(layout: ManifoldLayout2d): string;
|
|
1589
|
+
_runNd(layout: LayoutNd): string;
|
|
1590
|
+
_runSteps2d(layout: Layout2d, steps: number): string;
|
|
1591
|
+
_runSteps3d(layout: Layout3d, steps: number): string;
|
|
1592
|
+
_runStepsManifold(layout: ManifoldLayout2d, steps: number): string;
|
|
1593
|
+
_runStepsNd(layout: LayoutNd, steps: number): string;
|
|
1594
|
+
_step2d(layout: Layout2d): string;
|
|
1595
|
+
_step3d(layout: Layout3d): string;
|
|
1596
|
+
_stepManifold(layout: ManifoldLayout2d): string;
|
|
1597
|
+
_stepNd(layout: LayoutNd): string;
|
|
1571
1598
|
/**
|
|
1572
|
-
* Constructs a `
|
|
1599
|
+
* Constructs a `GraphCneSolver` from `graph` and `GraphCneOptions`.
|
|
1573
1600
|
*/
|
|
1574
1601
|
constructor(graph: CsrGraph, options: any);
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1602
|
+
readonly currentLr: number;
|
|
1603
|
+
readonly isFinished: boolean;
|
|
1604
|
+
readonly iteration: number;
|
|
1605
|
+
readonly numNodes: number;
|
|
1606
|
+
readonly numSprings: number;
|
|
1607
|
+
readonly status: string;
|
|
1608
|
+
readonly target: string;
|
|
1609
|
+
readonly totalIterations: number | undefined;
|
|
1610
|
+
}
|
|
1611
|
+
|
|
1612
|
+
/**
|
|
1613
|
+
* Cooperative Gajer & Kobourov (2002) GRIP multilevel force-directed layout solver (`f32`).
|
|
1614
|
+
*/
|
|
1615
|
+
export class GripSolver {
|
|
1616
|
+
free(): void;
|
|
1617
|
+
[Symbol.dispose](): void;
|
|
1618
|
+
constructor(graph: CsrGraph, options: any);
|
|
1578
1619
|
runSteps(layout: Layout2d, steps: number): string;
|
|
1579
|
-
/**
|
|
1580
|
-
* Runs GRIP layout optimization to completion on `layout` in place.
|
|
1581
|
-
*/
|
|
1582
1620
|
run(layout: Layout2d): string;
|
|
1583
|
-
/**
|
|
1584
|
-
* Executes one GRIP refinement step on `layout` in place.
|
|
1585
|
-
*/
|
|
1586
1621
|
step(layout: Layout2d): string;
|
|
1587
|
-
/**
|
|
1588
|
-
* Returns `true` when the solver has converged or completed.
|
|
1589
|
-
*/
|
|
1590
1622
|
readonly isFinished: boolean;
|
|
1591
|
-
/**
|
|
1592
|
-
* Returns the number of steps executed so far.
|
|
1593
|
-
*/
|
|
1594
1623
|
readonly iteration: number;
|
|
1595
|
-
/**
|
|
1596
|
-
* Returns the maximum number of MIS filtration levels across connected components.
|
|
1597
|
-
*/
|
|
1598
1624
|
readonly numLevels: number;
|
|
1599
|
-
/**
|
|
1600
|
-
* Returns the expected vertex count.
|
|
1601
|
-
*/
|
|
1602
1625
|
readonly numNodes: number;
|
|
1603
|
-
/**
|
|
1604
|
-
* Returns the solver lifecycle status string.
|
|
1605
|
-
*/
|
|
1606
1626
|
readonly status: string;
|
|
1607
|
-
|
|
1608
|
-
* Returns the total scheduled step count across filtration levels.
|
|
1609
|
-
*/
|
|
1610
|
-
readonly totalIterations: number;
|
|
1627
|
+
readonly totalIterations: number | undefined;
|
|
1611
1628
|
}
|
|
1612
1629
|
|
|
1613
1630
|
/**
|
|
@@ -1658,107 +1675,68 @@ export class GroupInABoxSolver {
|
|
|
1658
1675
|
/**
|
|
1659
1676
|
* Returns the scheduled intra-cluster iteration count.
|
|
1660
1677
|
*/
|
|
1661
|
-
readonly totalIterations: number;
|
|
1678
|
+
readonly totalIterations: number | undefined;
|
|
1662
1679
|
}
|
|
1663
1680
|
|
|
1664
1681
|
/**
|
|
1665
|
-
* Cooperative Graph UMAP (`GuMap`) layout solver (`f32`).
|
|
1682
|
+
* Cooperative Graph UMAP (`GuMap`) layout solver (`f32`) across 2D, 3D, N-D, and Manifolds.
|
|
1666
1683
|
*/
|
|
1667
1684
|
export class GuMapSolver {
|
|
1668
1685
|
free(): void;
|
|
1669
1686
|
[Symbol.dispose](): void;
|
|
1670
|
-
/**
|
|
1671
|
-
* Runs GuMap optimization to completion on `Layout2d` in place.
|
|
1672
|
-
*/
|
|
1673
1687
|
_run2d(layout: Layout2d): string;
|
|
1674
|
-
|
|
1675
|
-
* Runs GuMap optimization to completion on `ManifoldLayout2d` in place.
|
|
1676
|
-
*/
|
|
1688
|
+
_run3d(layout: Layout3d): string;
|
|
1677
1689
|
_runManifold(layout: ManifoldLayout2d): string;
|
|
1678
|
-
/**
|
|
1679
|
-
* Runs GuMap optimization to completion on `LayoutNd` in place.
|
|
1680
|
-
*/
|
|
1681
1690
|
_runNd(layout: LayoutNd): string;
|
|
1682
|
-
/**
|
|
1683
|
-
* Executes up to `steps` epochs on `Layout2d` in place.
|
|
1684
|
-
*/
|
|
1685
1691
|
_runSteps2d(layout: Layout2d, steps: number): string;
|
|
1686
|
-
|
|
1687
|
-
* Executes up to `steps` epochs on `ManifoldLayout2d` in place.
|
|
1688
|
-
*/
|
|
1692
|
+
_runSteps3d(layout: Layout3d, steps: number): string;
|
|
1689
1693
|
_runStepsManifold(layout: ManifoldLayout2d, steps: number): string;
|
|
1690
|
-
/**
|
|
1691
|
-
* Executes up to `steps` epochs on `LayoutNd` in place.
|
|
1692
|
-
*/
|
|
1693
1694
|
_runStepsNd(layout: LayoutNd, steps: number): string;
|
|
1694
|
-
/**
|
|
1695
|
-
* Executes one epoch on `Layout2d` in place.
|
|
1696
|
-
*/
|
|
1697
1695
|
_step2d(layout: Layout2d): string;
|
|
1698
|
-
|
|
1699
|
-
* Executes one epoch on `ManifoldLayout2d` in place.
|
|
1700
|
-
*/
|
|
1696
|
+
_step3d(layout: Layout3d): string;
|
|
1701
1697
|
_stepManifold(layout: ManifoldLayout2d): string;
|
|
1702
|
-
/**
|
|
1703
|
-
* Executes one epoch on `LayoutNd` in place.
|
|
1704
|
-
*/
|
|
1705
1698
|
_stepNd(layout: LayoutNd): string;
|
|
1706
1699
|
/**
|
|
1707
1700
|
* Constructs a `GuMapSolver` directly from a fuzzy simplicial set `SparseProbabilities`.
|
|
1708
1701
|
*/
|
|
1709
|
-
static fromFuzzySet(probs: SparseProbabilities,
|
|
1702
|
+
static fromFuzzySet(probs: SparseProbabilities, options: any): GuMapSolver;
|
|
1710
1703
|
/**
|
|
1711
1704
|
* Constructs a `GuMapSolver` from a `CsrGraph` using 1+2-hop pairs and DoG Varadhan landmarks.
|
|
1712
1705
|
*/
|
|
1713
|
-
static fromGraphDog(graph: CsrGraph,
|
|
1706
|
+
static fromGraphDog(graph: CsrGraph, options: any): GuMapSolver;
|
|
1714
1707
|
/**
|
|
1715
1708
|
* Constructs a `GuMapSolver` from a `KnnGraph` via `computeFuzzySimplicialSet`.
|
|
1716
1709
|
*/
|
|
1717
|
-
static fromKnn(knn: KnnGraph,
|
|
1710
|
+
static fromKnn(knn: KnnGraph, options: any): GuMapSolver;
|
|
1718
1711
|
/**
|
|
1719
1712
|
* Constructs a `GuMapSolver` from precomputed `DogVaradhanLandmarks` and 1+2-hop priority CSR.
|
|
1720
1713
|
*/
|
|
1721
|
-
static fromLandmarks(graph: CsrGraph, landmarks: DogVaradhanLandmarks,
|
|
1714
|
+
static fromLandmarks(graph: CsrGraph, landmarks: DogVaradhanLandmarks, options: any): GuMapSolver;
|
|
1722
1715
|
/**
|
|
1723
1716
|
* Constructs a `GuMapSolver` from `graph` using 1+2-hop pairs and DoG Varadhan landmarks.
|
|
1724
1717
|
*/
|
|
1725
1718
|
constructor(graph: CsrGraph, options: any);
|
|
1726
|
-
/**
|
|
1727
|
-
* Returns the resolved UMAP curve parameter `a`.
|
|
1728
|
-
*/
|
|
1729
1719
|
readonly a: number;
|
|
1730
|
-
/**
|
|
1731
|
-
* Returns the resolved UMAP curve parameters `[a, b]`.
|
|
1732
|
-
*/
|
|
1733
1720
|
readonly ab: Float64Array;
|
|
1734
|
-
/**
|
|
1735
|
-
* Returns the resolved UMAP curve parameter `b`.
|
|
1736
|
-
*/
|
|
1737
1721
|
readonly b: number;
|
|
1738
|
-
/**
|
|
1739
|
-
* Returns `true` when the solver has converged or completed.
|
|
1740
|
-
*/
|
|
1741
1722
|
readonly isFinished: boolean;
|
|
1742
|
-
/**
|
|
1743
|
-
* Returns the number of epochs executed so far.
|
|
1744
|
-
*/
|
|
1745
1723
|
readonly iteration: number;
|
|
1746
|
-
/**
|
|
1747
|
-
* Returns the number of directed positive attractive edges stored.
|
|
1748
|
-
*/
|
|
1749
1724
|
readonly numEdges: number;
|
|
1750
|
-
/**
|
|
1751
|
-
* Returns the expected vertex count.
|
|
1752
|
-
*/
|
|
1753
1725
|
readonly numNodes: number;
|
|
1754
|
-
/**
|
|
1755
|
-
* Returns the solver lifecycle status string.
|
|
1756
|
-
*/
|
|
1757
1726
|
readonly status: string;
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1727
|
+
readonly target: string;
|
|
1728
|
+
readonly totalIterations: number | undefined;
|
|
1729
|
+
}
|
|
1730
|
+
|
|
1731
|
+
/**
|
|
1732
|
+
* Harel-Koren High-Dimensional Embedding (`HDE`) `LayoutGenerator` supporting
|
|
1733
|
+
* `"layout2d"`, `"layout3d"`, and `"layoutNd"`.
|
|
1734
|
+
*/
|
|
1735
|
+
export class Hde {
|
|
1736
|
+
free(): void;
|
|
1737
|
+
[Symbol.dispose](): void;
|
|
1738
|
+
generate(graph: CsrGraph): any;
|
|
1739
|
+
constructor(options: any);
|
|
1762
1740
|
}
|
|
1763
1741
|
|
|
1764
1742
|
/**
|
|
@@ -1799,7 +1777,7 @@ export class HybridKnnResult {
|
|
|
1799
1777
|
}
|
|
1800
1778
|
|
|
1801
1779
|
/**
|
|
1802
|
-
* Cooperative interpolation-based batch Graph UMAP (`ibUMAP`) solver (`f32`).
|
|
1780
|
+
* Cooperative interpolation-based batch Graph UMAP (`ibUMAP`) solver (`f32`, `layout2d`).
|
|
1803
1781
|
*/
|
|
1804
1782
|
export class IbUmapSolver {
|
|
1805
1783
|
free(): void;
|
|
@@ -1822,62 +1800,21 @@ export class IbUmapSolver {
|
|
|
1822
1800
|
* regularized DoG Varadhan landmark ALT distances.
|
|
1823
1801
|
*/
|
|
1824
1802
|
constructor(graph: CsrGraph, options: any);
|
|
1825
|
-
/**
|
|
1826
|
-
* Executes up to `steps` `ibUMAP` epochs on `layout` in place.
|
|
1827
|
-
*/
|
|
1828
1803
|
runSteps(layout: Layout2d, steps: number): string;
|
|
1829
|
-
/**
|
|
1830
|
-
* Runs `ibUMAP` optimization to completion on `layout` in place.
|
|
1831
|
-
*/
|
|
1832
1804
|
run(layout: Layout2d): string;
|
|
1833
|
-
/**
|
|
1834
|
-
* Executes one `ibUMAP` epoch on `layout` in place.
|
|
1835
|
-
*/
|
|
1836
1805
|
step(layout: Layout2d): string;
|
|
1837
|
-
/**
|
|
1838
|
-
* Returns the resolved UMAP curve parameter `a`.
|
|
1839
|
-
*/
|
|
1840
1806
|
readonly a: number;
|
|
1841
|
-
/**
|
|
1842
|
-
* Returns the resolved UMAP curve parameters `[a, b]`.
|
|
1843
|
-
*/
|
|
1844
1807
|
readonly ab: Float64Array;
|
|
1845
|
-
/**
|
|
1846
|
-
* Returns the resolved UMAP curve parameter `b`.
|
|
1847
|
-
*/
|
|
1848
1808
|
readonly b: number;
|
|
1849
|
-
|
|
1850
|
-
* Returns `1.0` (constant unit schedule compatibility getter).
|
|
1851
|
-
*/
|
|
1852
|
-
readonly currentRho: number;
|
|
1853
|
-
/**
|
|
1854
|
-
* Returns `true` when the solver has converged or completed.
|
|
1855
|
-
*/
|
|
1809
|
+
readonly backend: string;
|
|
1856
1810
|
readonly isFinished: boolean;
|
|
1857
|
-
/**
|
|
1858
|
-
* Returns the number of epochs executed so far.
|
|
1859
|
-
*/
|
|
1860
1811
|
readonly iteration: number;
|
|
1861
|
-
/**
|
|
1862
|
-
* Returns the number of directed positive attraction edges stored.
|
|
1863
|
-
*/
|
|
1864
1812
|
readonly numEdges: number;
|
|
1865
|
-
/**
|
|
1866
|
-
* Returns the expected vertex count.
|
|
1867
|
-
*/
|
|
1868
1813
|
readonly numNodes: number;
|
|
1869
|
-
/**
|
|
1870
|
-
* Returns the solver lifecycle status string.
|
|
1871
|
-
*/
|
|
1872
1814
|
readonly status: string;
|
|
1873
|
-
|
|
1874
|
-
* Returns the cumulative number of `fft_2d` calls executed across all steps.
|
|
1875
|
-
*/
|
|
1815
|
+
readonly target: string;
|
|
1876
1816
|
readonly totalFft2dCalls: number;
|
|
1877
|
-
|
|
1878
|
-
* Returns the total scheduled epoch count (`nEpochs`).
|
|
1879
|
-
*/
|
|
1880
|
-
readonly totalIterations: number;
|
|
1817
|
+
readonly totalIterations: number | undefined;
|
|
1881
1818
|
}
|
|
1882
1819
|
|
|
1883
1820
|
/**
|
|
@@ -1938,79 +1875,41 @@ export class KMeansResult {
|
|
|
1938
1875
|
}
|
|
1939
1876
|
|
|
1940
1877
|
/**
|
|
1941
|
-
* Cooperative Kamada-Kawai (1989) spring layout solver (`f32`) across 2D, N-D, and Manifolds.
|
|
1878
|
+
* Cooperative Kamada-Kawai (1989) spring layout solver (`f32`) across 2D, 3D, N-D, and Manifolds.
|
|
1942
1879
|
*/
|
|
1943
1880
|
export class KamadaKawaiSolver {
|
|
1944
1881
|
free(): void;
|
|
1945
1882
|
[Symbol.dispose](): void;
|
|
1946
|
-
/**
|
|
1947
|
-
* Runs Kamada-Kawai optimization to convergence or `maxIterations` on `Layout2d` in place.
|
|
1948
|
-
*/
|
|
1949
1883
|
_run2d(layout: Layout2d): string;
|
|
1950
|
-
|
|
1951
|
-
* Runs Kamada-Kawai optimization to completion on `ManifoldLayout2d` in place.
|
|
1952
|
-
*/
|
|
1884
|
+
_run3d(layout: Layout3d): string;
|
|
1953
1885
|
_runManifold(layout: ManifoldLayout2d): string;
|
|
1954
|
-
/**
|
|
1955
|
-
* Runs Kamada-Kawai optimization to completion on `LayoutNd` in place.
|
|
1956
|
-
*/
|
|
1957
1886
|
_runNd(layout: LayoutNd): string;
|
|
1958
|
-
/**
|
|
1959
|
-
* Executes up to `steps` outer steps on `Layout2d` in place.
|
|
1960
|
-
*/
|
|
1961
1887
|
_runSteps2d(layout: Layout2d, steps: number): string;
|
|
1962
|
-
|
|
1963
|
-
* Executes up to `steps` outer geodesic steps on `ManifoldLayout2d` in place.
|
|
1964
|
-
*/
|
|
1888
|
+
_runSteps3d(layout: Layout3d, steps: number): string;
|
|
1965
1889
|
_runStepsManifold(layout: ManifoldLayout2d, steps: number): string;
|
|
1966
|
-
/**
|
|
1967
|
-
* Executes up to `steps` outer steps on `LayoutNd` in place.
|
|
1968
|
-
*/
|
|
1969
1890
|
_runStepsNd(layout: LayoutNd, steps: number): string;
|
|
1970
|
-
/**
|
|
1971
|
-
* Executes one outer node-selection Newton-Raphson step on `Layout2d` in place.
|
|
1972
|
-
*/
|
|
1973
1891
|
_step2d(layout: Layout2d): string;
|
|
1974
|
-
|
|
1975
|
-
* Executes one outer node-selection geodesic step on `ManifoldLayout2d` in place.
|
|
1976
|
-
*/
|
|
1892
|
+
_step3d(layout: Layout3d): string;
|
|
1977
1893
|
_stepManifold(layout: ManifoldLayout2d): string;
|
|
1978
|
-
/**
|
|
1979
|
-
* Executes one outer node-selection Newton-Raphson step on `LayoutNd` in place.
|
|
1980
|
-
*/
|
|
1981
1894
|
_stepNd(layout: LayoutNd): string;
|
|
1982
1895
|
/**
|
|
1983
1896
|
* Constructs a `KamadaKawaiSolver` from a flat row-major `(numNodes, numNodes)` distance matrix.
|
|
1984
1897
|
*/
|
|
1985
|
-
static fromDistanceMatrix(num_nodes: number, dists_flat: Float64Array | number[],
|
|
1898
|
+
static fromDistanceMatrix(num_nodes: number, dists_flat: Float64Array | number[], options: any): KamadaKawaiSolver;
|
|
1986
1899
|
/**
|
|
1987
1900
|
* Constructs a `KamadaKawaiSolver` by computing APSP distances from `graph`.
|
|
1988
1901
|
*/
|
|
1989
|
-
static fromGraph(graph: CsrGraph,
|
|
1902
|
+
static fromGraph(graph: CsrGraph, options: any): KamadaKawaiSolver;
|
|
1990
1903
|
/**
|
|
1991
1904
|
* Constructs a `KamadaKawaiSolver` by computing APSP distances from `graph`.
|
|
1992
1905
|
*/
|
|
1993
1906
|
constructor(graph: CsrGraph, options: any);
|
|
1994
|
-
/**
|
|
1995
|
-
* Returns `true` when the solver has converged or completed.
|
|
1996
|
-
*/
|
|
1997
1907
|
readonly isFinished: boolean;
|
|
1998
|
-
/**
|
|
1999
|
-
* Returns the number of outer steps executed so far.
|
|
2000
|
-
*/
|
|
2001
1908
|
readonly iteration: number;
|
|
2002
|
-
/**
|
|
2003
|
-
* Returns the expected vertex count.
|
|
2004
|
-
*/
|
|
2005
1909
|
readonly numNodes: number;
|
|
2006
|
-
/**
|
|
2007
|
-
* Returns the solver lifecycle status string.
|
|
2008
|
-
*/
|
|
2009
1910
|
readonly status: string;
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
*/
|
|
2013
|
-
readonly totalIterations: number;
|
|
1911
|
+
readonly target: string;
|
|
1912
|
+
readonly totalIterations: number | undefined;
|
|
2014
1913
|
}
|
|
2015
1914
|
|
|
2016
1915
|
/**
|
|
@@ -2046,6 +1945,17 @@ export class KnnGraph {
|
|
|
2046
1945
|
readonly numNodes: number;
|
|
2047
1946
|
}
|
|
2048
1947
|
|
|
1948
|
+
/**
|
|
1949
|
+
* Koren degree-normalized spectral `LayoutGenerator` supporting
|
|
1950
|
+
* `"layout2d"`, `"layout3d"`, and `"layoutNd"`.
|
|
1951
|
+
*/
|
|
1952
|
+
export class KorenSpectral {
|
|
1953
|
+
free(): void;
|
|
1954
|
+
[Symbol.dispose](): void;
|
|
1955
|
+
generate(graph: CsrGraph): any;
|
|
1956
|
+
constructor(options: any);
|
|
1957
|
+
}
|
|
1958
|
+
|
|
2049
1959
|
/**
|
|
2050
1960
|
* Output of `labelPropagation`.
|
|
2051
1961
|
*/
|
|
@@ -2083,6 +1993,38 @@ export class LabelPropagationResult {
|
|
|
2083
1993
|
readonly numCommunities: number;
|
|
2084
1994
|
}
|
|
2085
1995
|
|
|
1996
|
+
/**
|
|
1997
|
+
* Cooperative single-threaded deterministic `LargeVis` (Tang et al., 2016) layout solver (`f32`).
|
|
1998
|
+
*/
|
|
1999
|
+
export class LargeVisSolver {
|
|
2000
|
+
free(): void;
|
|
2001
|
+
[Symbol.dispose](): void;
|
|
2002
|
+
_run2d(layout: Layout2d): string;
|
|
2003
|
+
_run3d(layout: Layout3d): string;
|
|
2004
|
+
_runManifold(layout: ManifoldLayout2d): string;
|
|
2005
|
+
_runNd(layout: LayoutNd): string;
|
|
2006
|
+
_runSteps2d(layout: Layout2d, steps: number): string;
|
|
2007
|
+
_runSteps3d(layout: Layout3d, steps: number): string;
|
|
2008
|
+
_runStepsManifold(layout: ManifoldLayout2d, steps: number): string;
|
|
2009
|
+
_runStepsNd(layout: LayoutNd, steps: number): string;
|
|
2010
|
+
_step2d(layout: Layout2d): string;
|
|
2011
|
+
_step3d(layout: Layout3d): string;
|
|
2012
|
+
_stepManifold(layout: ManifoldLayout2d): string;
|
|
2013
|
+
_stepNd(layout: LayoutNd): string;
|
|
2014
|
+
/**
|
|
2015
|
+
* Constructs a `LargeVisSolver` from `graph` and `LargeVisOptions`.
|
|
2016
|
+
*/
|
|
2017
|
+
constructor(graph: CsrGraph, options: any);
|
|
2018
|
+
readonly currentLr: number;
|
|
2019
|
+
readonly isFinished: boolean;
|
|
2020
|
+
readonly iteration: number;
|
|
2021
|
+
readonly numNodes: number;
|
|
2022
|
+
readonly numSprings: number;
|
|
2023
|
+
readonly status: string;
|
|
2024
|
+
readonly target: string;
|
|
2025
|
+
readonly totalIterations: number | undefined;
|
|
2026
|
+
}
|
|
2027
|
+
|
|
2086
2028
|
/**
|
|
2087
2029
|
* Largest connected component result returned by `CsrGraph.largestConnectedComponent()`.
|
|
2088
2030
|
*/
|
|
@@ -2091,29 +2033,104 @@ export class LargestConnectedComponentResult {
|
|
|
2091
2033
|
free(): void;
|
|
2092
2034
|
[Symbol.dispose](): void;
|
|
2093
2035
|
/**
|
|
2094
|
-
* Returns a cloned handle to the induced `CsrGraph` of the largest connected component.
|
|
2036
|
+
* Returns a cloned handle to the induced `CsrGraph` of the largest connected component.
|
|
2037
|
+
*/
|
|
2038
|
+
graph(): CsrGraph;
|
|
2039
|
+
/**
|
|
2040
|
+
* Alias for `originalNodeIds()`.
|
|
2041
|
+
*/
|
|
2042
|
+
nodeIds(): Uint32Array;
|
|
2043
|
+
/**
|
|
2044
|
+
* Returns the sorted original vertex IDs (`Uint32Array`) corresponding to compact vertices `0..k`.
|
|
2045
|
+
*/
|
|
2046
|
+
originalNodeIds(): Uint32Array;
|
|
2047
|
+
}
|
|
2048
|
+
|
|
2049
|
+
/**
|
|
2050
|
+
* Contiguous interleaved `[x0, y0, x1, y1, ...]` 2D node coordinate buffer (`f32`)
|
|
2051
|
+
* suitable for zero-copy `Float32Array` linear-memory views via `coordsView()`.
|
|
2052
|
+
*/
|
|
2053
|
+
export class Layout2d {
|
|
2054
|
+
private constructor();
|
|
2055
|
+
free(): void;
|
|
2056
|
+
[Symbol.dispose](): void;
|
|
2057
|
+
/**
|
|
2058
|
+
* Returns the total scalar length of the interleaved buffer (`2 * len()`).
|
|
2059
|
+
*/
|
|
2060
|
+
coordsLen(): number;
|
|
2061
|
+
/**
|
|
2062
|
+
* Returns the byte offset of the interleaved `f32` buffer in WebAssembly linear memory.
|
|
2063
|
+
*/
|
|
2064
|
+
coordsPtr(): number;
|
|
2065
|
+
/**
|
|
2066
|
+
* Returns a freshly allocated `Float32Array` copy of `[x0, y0, ...]` coordinates.
|
|
2067
|
+
*/
|
|
2068
|
+
copyCoords(): Float32Array;
|
|
2069
|
+
/**
|
|
2070
|
+
* Returns a deep copy of this `Layout2d`.
|
|
2071
|
+
*/
|
|
2072
|
+
copy(): Layout2d;
|
|
2073
|
+
/**
|
|
2074
|
+
* Creates a `Layout2d` from an even-length interleaved `[x0, y0, ...]` array.
|
|
2075
|
+
*/
|
|
2076
|
+
static fromCoords(coords: Float32Array | number[]): Layout2d;
|
|
2077
|
+
/**
|
|
2078
|
+
* Creates a deterministically initialized `Layout2d` for `n` vertices using `seed` (default `42`)
|
|
2079
|
+
* and isotropic uniform range `[-0.5 * scale, 0.5 * scale)^2` (`scale` default `1.0`).
|
|
2080
|
+
*/
|
|
2081
|
+
static init(n: number, seed_or_options: any, scale?: number | null): Layout2d;
|
|
2082
|
+
/**
|
|
2083
|
+
* Returns `true` if every coordinate in the buffer is finite (`!NaN && !Inf`).
|
|
2084
|
+
*/
|
|
2085
|
+
isAllFinite(): boolean;
|
|
2086
|
+
/**
|
|
2087
|
+
* Returns `true` if the layout contains zero vertices.
|
|
2088
|
+
*/
|
|
2089
|
+
isEmpty(): boolean;
|
|
2090
|
+
/**
|
|
2091
|
+
* Returns the number of vertices in the layout.
|
|
2092
|
+
*/
|
|
2093
|
+
len(): number;
|
|
2094
|
+
/**
|
|
2095
|
+
* Centers coordinates at zero mean and scales isotropically to `targetStd` (default `1.0`).
|
|
2096
|
+
*/
|
|
2097
|
+
normalizeStd(target_std?: number | null): void;
|
|
2098
|
+
/**
|
|
2099
|
+
* Sets the `x` coordinate of vertex `index`.
|
|
2100
|
+
*/
|
|
2101
|
+
setX(index: number, value: number): void;
|
|
2102
|
+
/**
|
|
2103
|
+
* Sets the `y` coordinate of vertex `index`.
|
|
2104
|
+
*/
|
|
2105
|
+
setY(index: number, value: number): void;
|
|
2106
|
+
/**
|
|
2107
|
+
* Returns the `x` coordinate of vertex `index`.
|
|
2095
2108
|
*/
|
|
2096
|
-
|
|
2109
|
+
x(index: number): number;
|
|
2097
2110
|
/**
|
|
2098
|
-
*
|
|
2111
|
+
* Returns the `y` coordinate of vertex `index`.
|
|
2099
2112
|
*/
|
|
2100
|
-
|
|
2113
|
+
y(index: number): number;
|
|
2101
2114
|
/**
|
|
2102
|
-
*
|
|
2115
|
+
* Creates a zero-initialized `Layout2d` for `n` vertices.
|
|
2103
2116
|
*/
|
|
2104
|
-
|
|
2117
|
+
static zeros(n: number): Layout2d;
|
|
2118
|
+
/**
|
|
2119
|
+
* Returns the number of vertices in the layout.
|
|
2120
|
+
*/
|
|
2121
|
+
readonly numNodes: number;
|
|
2105
2122
|
}
|
|
2106
2123
|
|
|
2107
2124
|
/**
|
|
2108
|
-
* Contiguous interleaved `[x0, y0, x1, y1, ...]`
|
|
2125
|
+
* Contiguous interleaved `[x0, y0, z0, x1, y1, z1, ...]` 3D node coordinate buffer (`f32`)
|
|
2109
2126
|
* suitable for zero-copy `Float32Array` linear-memory views via `coordsView()`.
|
|
2110
2127
|
*/
|
|
2111
|
-
export class
|
|
2128
|
+
export class Layout3d {
|
|
2112
2129
|
private constructor();
|
|
2113
2130
|
free(): void;
|
|
2114
2131
|
[Symbol.dispose](): void;
|
|
2115
2132
|
/**
|
|
2116
|
-
* Returns the total scalar length of the interleaved buffer (`
|
|
2133
|
+
* Returns the total scalar length of the interleaved buffer (`3 * len()`).
|
|
2117
2134
|
*/
|
|
2118
2135
|
coordsLen(): number;
|
|
2119
2136
|
/**
|
|
@@ -2121,22 +2138,29 @@ export class Layout2d {
|
|
|
2121
2138
|
*/
|
|
2122
2139
|
coordsPtr(): number;
|
|
2123
2140
|
/**
|
|
2124
|
-
* Returns a freshly allocated `Float32Array` copy of `[x0, y0, ...]` coordinates.
|
|
2141
|
+
* Returns a freshly allocated `Float32Array` copy of `[x0, y0, z0, ...]` coordinates.
|
|
2125
2142
|
*/
|
|
2126
2143
|
copyCoords(): Float32Array;
|
|
2127
2144
|
/**
|
|
2128
|
-
* Returns a deep copy of this `
|
|
2145
|
+
* Returns a deep copy of this `Layout3d`.
|
|
2129
2146
|
*/
|
|
2130
|
-
copy():
|
|
2147
|
+
copy(): Layout3d;
|
|
2131
2148
|
/**
|
|
2132
|
-
* Creates a `
|
|
2149
|
+
* Creates a `Layout3d` from an interleaved `[x0, y0, z0, ...]` array of length divisible by 3.
|
|
2133
2150
|
*/
|
|
2134
|
-
static fromCoords(coords: Float32Array | number[]):
|
|
2151
|
+
static fromCoords(coords: Float32Array | number[]): Layout3d;
|
|
2135
2152
|
/**
|
|
2136
|
-
* Creates a
|
|
2137
|
-
|
|
2153
|
+
* Creates a `Layout3d` from separate `x`, `y`, and `z` coordinate arrays of equal length.
|
|
2154
|
+
*/
|
|
2155
|
+
static fromXyz(x: Float32Array | number[], y: Float32Array | number[], z: Float32Array | number[]): Layout3d;
|
|
2156
|
+
/**
|
|
2157
|
+
* Returns `[x, y, z]` coordinates for vertex `node`.
|
|
2158
|
+
*/
|
|
2159
|
+
get(node: number): Float32Array;
|
|
2160
|
+
/**
|
|
2161
|
+
* Creates a deterministically initialized `Layout3d` for `n` vertices using `{ seed?, scale? }`.
|
|
2138
2162
|
*/
|
|
2139
|
-
static init(n: number,
|
|
2163
|
+
static init(n: number, options: any): Layout3d;
|
|
2140
2164
|
/**
|
|
2141
2165
|
* Returns `true` if every coordinate in the buffer is finite (`!NaN && !Inf`).
|
|
2142
2166
|
*/
|
|
@@ -2161,6 +2185,18 @@ export class Layout2d {
|
|
|
2161
2185
|
* Sets the `y` coordinate of vertex `index`.
|
|
2162
2186
|
*/
|
|
2163
2187
|
setY(index: number, value: number): void;
|
|
2188
|
+
/**
|
|
2189
|
+
* Sets the `z` coordinate of vertex `index`.
|
|
2190
|
+
*/
|
|
2191
|
+
setZ(index: number, value: number): void;
|
|
2192
|
+
/**
|
|
2193
|
+
* Sets `[x, y, z]` coordinates for vertex `node`.
|
|
2194
|
+
*/
|
|
2195
|
+
set(node: number, x: number, y: number, z: number): void;
|
|
2196
|
+
/**
|
|
2197
|
+
* Returns a freshly allocated `Float32Array` copy of interleaved `[x0, y0, z0, ...]` coordinates.
|
|
2198
|
+
*/
|
|
2199
|
+
toInterleaved(): Float32Array;
|
|
2164
2200
|
/**
|
|
2165
2201
|
* Returns the `x` coordinate of vertex `index`.
|
|
2166
2202
|
*/
|
|
@@ -2170,9 +2206,13 @@ export class Layout2d {
|
|
|
2170
2206
|
*/
|
|
2171
2207
|
y(index: number): number;
|
|
2172
2208
|
/**
|
|
2173
|
-
*
|
|
2209
|
+
* Returns the `z` coordinate of vertex `index`.
|
|
2174
2210
|
*/
|
|
2175
|
-
|
|
2211
|
+
z(index: number): number;
|
|
2212
|
+
/**
|
|
2213
|
+
* Creates a zero-initialized `Layout3d` for `n` vertices.
|
|
2214
|
+
*/
|
|
2215
|
+
static zeros(n: number): Layout3d;
|
|
2176
2216
|
/**
|
|
2177
2217
|
* Returns the number of vertices in the layout.
|
|
2178
2218
|
*/
|
|
@@ -2237,7 +2277,7 @@ export class LayoutNd {
|
|
|
2237
2277
|
/**
|
|
2238
2278
|
* Creates a deterministically seeded uniform random `dims`-dimensional layout.
|
|
2239
2279
|
*/
|
|
2240
|
-
static init(n: number, dims: number,
|
|
2280
|
+
static init(n: number, dims: number, options: any): LayoutNd;
|
|
2241
2281
|
/**
|
|
2242
2282
|
* Returns `true` if every coordinate in the buffer is finite (`!NaN && !Inf`).
|
|
2243
2283
|
*/
|
|
@@ -2319,70 +2359,31 @@ export class LeidenResult {
|
|
|
2319
2359
|
export class LinLogSolver {
|
|
2320
2360
|
free(): void;
|
|
2321
2361
|
[Symbol.dispose](): void;
|
|
2322
|
-
/**
|
|
2323
|
-
* Evaluates the exact LinLog energy of `Layout2d`.
|
|
2324
|
-
*/
|
|
2325
2362
|
_energy2d(layout: Layout2d): number;
|
|
2326
|
-
|
|
2327
|
-
* Evaluates the exact LinLog energy of `LayoutNd`.
|
|
2328
|
-
*/
|
|
2363
|
+
_energy3d(layout: Layout3d): number;
|
|
2329
2364
|
_energyNd(layout: LayoutNd): number;
|
|
2330
|
-
/**
|
|
2331
|
-
* Runs LinLog to completion on `Layout2d` in place.
|
|
2332
|
-
*/
|
|
2333
2365
|
_run2d(layout: Layout2d): string;
|
|
2334
|
-
|
|
2335
|
-
* Runs LinLog to completion on `LayoutNd` in place.
|
|
2336
|
-
*/
|
|
2366
|
+
_run3d(layout: Layout3d): string;
|
|
2337
2367
|
_runNd(layout: LayoutNd): string;
|
|
2338
|
-
/**
|
|
2339
|
-
* Executes up to `steps` LinLog iterations on `Layout2d` in place.
|
|
2340
|
-
*/
|
|
2341
2368
|
_runSteps2d(layout: Layout2d, steps: number): string;
|
|
2342
|
-
|
|
2343
|
-
* Executes up to `steps` LinLog iterations on `LayoutNd` in place.
|
|
2344
|
-
*/
|
|
2369
|
+
_runSteps3d(layout: Layout3d, steps: number): string;
|
|
2345
2370
|
_runStepsNd(layout: LayoutNd, steps: number): string;
|
|
2346
|
-
/**
|
|
2347
|
-
* Executes one LinLog iteration on `Layout2d` in place.
|
|
2348
|
-
*/
|
|
2349
2371
|
_step2d(layout: Layout2d): string;
|
|
2350
|
-
|
|
2351
|
-
* Executes one LinLog iteration on `LayoutNd` in place.
|
|
2352
|
-
*/
|
|
2372
|
+
_step3d(layout: Layout3d): string;
|
|
2353
2373
|
_stepNd(layout: LayoutNd): string;
|
|
2354
|
-
/**
|
|
2355
|
-
* Returns the per-node repulsive masses (`Float64Array`).
|
|
2356
|
-
*/
|
|
2357
2374
|
masses(): Float64Array;
|
|
2358
2375
|
/**
|
|
2359
2376
|
* Constructs a `LinLogSolver` from `graph` and optional `LinLogOptions`.
|
|
2360
2377
|
*/
|
|
2361
2378
|
constructor(graph: CsrGraph, options: any);
|
|
2362
|
-
|
|
2363
|
-
* Returns `true` when the solver has converged or completed.
|
|
2364
|
-
*/
|
|
2379
|
+
readonly backend: string;
|
|
2365
2380
|
readonly isFinished: boolean;
|
|
2366
|
-
/**
|
|
2367
|
-
* Returns the number of iterations executed so far.
|
|
2368
|
-
*/
|
|
2369
2381
|
readonly iteration: number;
|
|
2370
|
-
/**
|
|
2371
|
-
* Returns the effective per-step vertex displacement cap.
|
|
2372
|
-
*/
|
|
2373
2382
|
readonly maxDisplacement: number;
|
|
2374
|
-
/**
|
|
2375
|
-
* Returns the expected vertex count.
|
|
2376
|
-
*/
|
|
2377
2383
|
readonly numNodes: number;
|
|
2378
|
-
/**
|
|
2379
|
-
* Returns the solver lifecycle status string.
|
|
2380
|
-
*/
|
|
2381
2384
|
readonly status: string;
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
*/
|
|
2385
|
-
readonly totalIterations: number;
|
|
2385
|
+
readonly target: string;
|
|
2386
|
+
readonly totalIterations: number | undefined;
|
|
2386
2387
|
}
|
|
2387
2388
|
|
|
2388
2389
|
/**
|
|
@@ -2423,8 +2424,9 @@ export class LouvainResult {
|
|
|
2423
2424
|
}
|
|
2424
2425
|
|
|
2425
2426
|
/**
|
|
2426
|
-
* Non-Euclidean 2D node layout (`f32`) constrained to `"
|
|
2427
|
-
* `"spherical"`, or `"torus"`, exposing zero-copy `coordsView()` via a
|
|
2427
|
+
* Non-Euclidean 2D node layout (`f32`) constrained to `"hyperbolicPoincare"`,
|
|
2428
|
+
* `"hyperbolicLorentz"`, `"spherical"`, or `"torus"`, exposing zero-copy `coordsView()` via a
|
|
2429
|
+
* synced interleaved mirror.
|
|
2428
2430
|
*/
|
|
2429
2431
|
export class ManifoldLayout2d {
|
|
2430
2432
|
private constructor();
|
|
@@ -2481,7 +2483,7 @@ export class ManifoldLayout2d {
|
|
|
2481
2483
|
/**
|
|
2482
2484
|
* Creates a deterministically seeded `ManifoldLayout2d` for `n` vertices on geometry `kind`.
|
|
2483
2485
|
*/
|
|
2484
|
-
static init(kind: string, n: number,
|
|
2486
|
+
static init(kind: string, n: number, options: any): ManifoldLayout2d;
|
|
2485
2487
|
/**
|
|
2486
2488
|
* Returns `true` if every coordinate in the manifold layout is finite.
|
|
2487
2489
|
*/
|
|
@@ -2513,7 +2515,7 @@ export class ManifoldLayout2d {
|
|
|
2513
2515
|
/**
|
|
2514
2516
|
* Creates a deterministically seeded safe random initialization on `kind`.
|
|
2515
2517
|
*/
|
|
2516
|
-
static randomInit(kind: string, n: number,
|
|
2518
|
+
static randomInit(kind: string, n: number, options: any): ManifoldLayout2d;
|
|
2517
2519
|
/**
|
|
2518
2520
|
* Isometrically recenters the Poincaré disk layout so vertex `index` moves to `(0, 0)`.
|
|
2519
2521
|
*/
|
|
@@ -2569,7 +2571,7 @@ export class ManifoldLayout2d {
|
|
|
2569
2571
|
/**
|
|
2570
2572
|
* Initializes a flat 2D torus layout via 4-mode spectral phase coordinates of $L_{\mathrm{sym}}$.
|
|
2571
2573
|
*/
|
|
2572
|
-
static torusSpectralPhaseInit(graph: CsrGraph, seed
|
|
2574
|
+
static torusSpectralPhaseInit(graph: CsrGraph, seed: any): ManifoldLayout2d;
|
|
2573
2575
|
/**
|
|
2574
2576
|
* Returns the first coordinate (`x` or `lon`) of vertex `index`.
|
|
2575
2577
|
*/
|
|
@@ -2587,7 +2589,7 @@ export class ManifoldLayout2d {
|
|
|
2587
2589
|
*/
|
|
2588
2590
|
readonly aspect: number;
|
|
2589
2591
|
/**
|
|
2590
|
-
* Returns the canonical manifold kind string: `"
|
|
2592
|
+
* Returns the canonical manifold kind string: `"hyperbolicPoincare"`, `"hyperbolicLorentz"`, `"spherical"`, or `"torus"`.
|
|
2591
2593
|
*/
|
|
2592
2594
|
readonly kind: string;
|
|
2593
2595
|
/**
|
|
@@ -2606,62 +2608,28 @@ export class ManifoldLayout2d {
|
|
|
2606
2608
|
export class MaxentStressSolver {
|
|
2607
2609
|
free(): void;
|
|
2608
2610
|
[Symbol.dispose](): void;
|
|
2609
|
-
/**
|
|
2610
|
-
* Runs Maxent-Stress optimization to completion on `Layout2d` in place.
|
|
2611
|
-
*/
|
|
2612
2611
|
_run2d(layout: Layout2d): string;
|
|
2613
|
-
|
|
2614
|
-
* Runs Maxent-Stress optimization to completion on `LayoutNd` in place.
|
|
2615
|
-
*/
|
|
2612
|
+
_run3d(layout: Layout3d): string;
|
|
2616
2613
|
_runNd(layout: LayoutNd): string;
|
|
2617
|
-
/**
|
|
2618
|
-
* Executes up to `steps` Maxent-Stress iterations on `Layout2d` in place.
|
|
2619
|
-
*/
|
|
2620
2614
|
_runSteps2d(layout: Layout2d, steps: number): string;
|
|
2621
|
-
|
|
2622
|
-
* Executes up to `steps` Maxent-Stress iterations on `LayoutNd` in place.
|
|
2623
|
-
*/
|
|
2615
|
+
_runSteps3d(layout: Layout3d, steps: number): string;
|
|
2624
2616
|
_runStepsNd(layout: LayoutNd, steps: number): string;
|
|
2625
|
-
/**
|
|
2626
|
-
* Executes one Maxent-Stress iteration on `Layout2d` in place.
|
|
2627
|
-
*/
|
|
2628
2617
|
_step2d(layout: Layout2d): string;
|
|
2629
|
-
|
|
2630
|
-
* Executes one Maxent-Stress iteration on `LayoutNd` in place.
|
|
2631
|
-
*/
|
|
2618
|
+
_step3d(layout: Layout3d): string;
|
|
2632
2619
|
_stepNd(layout: LayoutNd): string;
|
|
2633
2620
|
/**
|
|
2634
2621
|
* Constructs a `MaxentStressSolver` from `graph` and optional `MaxentStressOptions`.
|
|
2635
2622
|
*/
|
|
2636
2623
|
constructor(graph: CsrGraph, options: any);
|
|
2637
|
-
|
|
2638
|
-
* Returns the current annealed entropy-repulsion weight $\alpha$.
|
|
2639
|
-
*/
|
|
2624
|
+
readonly backend: string;
|
|
2640
2625
|
readonly currentAlpha: number;
|
|
2641
|
-
/**
|
|
2642
|
-
* Returns the resolved repulsion exponent $q$.
|
|
2643
|
-
*/
|
|
2644
2626
|
readonly effectiveQ: number;
|
|
2645
|
-
/**
|
|
2646
|
-
* Returns `true` when the solver has converged or completed.
|
|
2647
|
-
*/
|
|
2648
2627
|
readonly isFinished: boolean;
|
|
2649
|
-
/**
|
|
2650
|
-
* Returns the number of iterations executed so far.
|
|
2651
|
-
*/
|
|
2652
2628
|
readonly iteration: number;
|
|
2653
|
-
/**
|
|
2654
|
-
* Returns the expected vertex count.
|
|
2655
|
-
*/
|
|
2656
2629
|
readonly numNodes: number;
|
|
2657
|
-
/**
|
|
2658
|
-
* Returns the solver lifecycle status string.
|
|
2659
|
-
*/
|
|
2660
2630
|
readonly status: string;
|
|
2661
|
-
|
|
2662
|
-
|
|
2663
|
-
*/
|
|
2664
|
-
readonly totalIterations: number;
|
|
2631
|
+
readonly target: string;
|
|
2632
|
+
readonly totalIterations: number | undefined;
|
|
2665
2633
|
}
|
|
2666
2634
|
|
|
2667
2635
|
/**
|
|
@@ -2760,24 +2728,73 @@ export class NorMetricsResult {
|
|
|
2760
2728
|
}
|
|
2761
2729
|
|
|
2762
2730
|
/**
|
|
2763
|
-
*
|
|
2731
|
+
* Result of `PacmapGraphSolver.withBackbone`.
|
|
2764
2732
|
*/
|
|
2765
2733
|
export class PacmapBackboneResult {
|
|
2766
2734
|
private constructor();
|
|
2767
2735
|
free(): void;
|
|
2768
2736
|
[Symbol.dispose](): void;
|
|
2769
2737
|
/**
|
|
2770
|
-
* Returns the underlying `CoarseBackboneResult`
|
|
2738
|
+
* Returns the underlying `CoarseBackboneResult` (`coarseLayout`, `coarseGraph`, `stats`, etc.).
|
|
2771
2739
|
*/
|
|
2772
2740
|
backbone(): CoarseBackboneResult;
|
|
2773
2741
|
/**
|
|
2774
|
-
* Returns the
|
|
2742
|
+
* Returns the area-reserved fine-level initial `Layout2d` (`f32`).
|
|
2775
2743
|
*/
|
|
2776
2744
|
fineLayout(): Layout2d;
|
|
2777
2745
|
/**
|
|
2778
|
-
* Returns the initialized
|
|
2746
|
+
* Returns the initialized `PacmapGraphSolver`.
|
|
2747
|
+
*/
|
|
2748
|
+
solver(): PacmapGraphSolver;
|
|
2749
|
+
}
|
|
2750
|
+
|
|
2751
|
+
/**
|
|
2752
|
+
* Cooperative PaCMAP-Graph solver (`f32`) across 2D, 3D, N-D, and Manifolds.
|
|
2753
|
+
*/
|
|
2754
|
+
export class PacmapGraphSolver {
|
|
2755
|
+
free(): void;
|
|
2756
|
+
[Symbol.dispose](): void;
|
|
2757
|
+
_run2d(layout: Layout2d): string;
|
|
2758
|
+
_run3d(layout: Layout3d): string;
|
|
2759
|
+
_runManifold(layout: ManifoldLayout2d): string;
|
|
2760
|
+
_runNd(layout: LayoutNd): string;
|
|
2761
|
+
_runSteps2d(layout: Layout2d, steps: number): string;
|
|
2762
|
+
_runSteps3d(layout: Layout3d, steps: number): string;
|
|
2763
|
+
_runStepsManifold(layout: ManifoldLayout2d, steps: number): string;
|
|
2764
|
+
_runStepsNd(layout: LayoutNd, steps: number): string;
|
|
2765
|
+
_step2d(layout: Layout2d): string;
|
|
2766
|
+
_step3d(layout: Layout3d): string;
|
|
2767
|
+
_stepManifold(layout: ManifoldLayout2d): string;
|
|
2768
|
+
_stepNd(layout: LayoutNd): string;
|
|
2769
|
+
/**
|
|
2770
|
+
* Constructs a `PacmapGraphSolver` from `graph` using internal Chebyshev DoG Varadhan landmarks.
|
|
2771
|
+
*/
|
|
2772
|
+
static fromGraph(graph: CsrGraph, options: any): PacmapGraphSolver;
|
|
2773
|
+
/**
|
|
2774
|
+
* Constructs a `PacmapGraphSolver` from `graph` using internal Chebyshev DoG Varadhan landmarks.
|
|
2779
2775
|
*/
|
|
2780
|
-
|
|
2776
|
+
constructor(graph: CsrGraph, options: any);
|
|
2777
|
+
/**
|
|
2778
|
+
* Initializes an area-reserved coarse backbone `Layout2d` (`f32`) together with a configured
|
|
2779
|
+
* `PacmapGraphSolver` for end-to-end multilevel layout.
|
|
2780
|
+
*/
|
|
2781
|
+
static withBackbone(graph: CsrGraph, options: any): PacmapBackboneResult;
|
|
2782
|
+
/**
|
|
2783
|
+
* Constructs a `PacmapGraphSolver` from a flat row-major `(numNodes, numLandmarks)` distance table.
|
|
2784
|
+
*/
|
|
2785
|
+
static withLandmarkDistances(graph: CsrGraph, landmark_dists: Float64Array | number[], num_landmarks: number, options: any): PacmapGraphSolver;
|
|
2786
|
+
/**
|
|
2787
|
+
* Constructs a `PacmapGraphSolver` reusing precomputed `DogVaradhanLandmarks`.
|
|
2788
|
+
*/
|
|
2789
|
+
static withLandmarks(graph: CsrGraph, landmarks: DogVaradhanLandmarks, options: any): PacmapGraphSolver;
|
|
2790
|
+
readonly isFinished: boolean;
|
|
2791
|
+
readonly iteration: number;
|
|
2792
|
+
readonly numHinges: number;
|
|
2793
|
+
readonly numNodes: number;
|
|
2794
|
+
readonly numSprings: number;
|
|
2795
|
+
readonly status: string;
|
|
2796
|
+
readonly target: string;
|
|
2797
|
+
readonly totalIterations: number | undefined;
|
|
2781
2798
|
}
|
|
2782
2799
|
|
|
2783
2800
|
/**
|
|
@@ -2797,55 +2814,41 @@ export class PartitionAgreementResult {
|
|
|
2797
2814
|
}
|
|
2798
2815
|
|
|
2799
2816
|
/**
|
|
2800
|
-
*
|
|
2817
|
+
* Hayashi et al. (1998) `PFS'` two-pass scan-line node overlap removal transform (`f32`).
|
|
2801
2818
|
*/
|
|
2802
2819
|
export class PfsPrimeOverlapRemoval {
|
|
2803
2820
|
free(): void;
|
|
2804
2821
|
[Symbol.dispose](): void;
|
|
2805
2822
|
/**
|
|
2806
|
-
*
|
|
2807
|
-
*/
|
|
2808
|
-
static fromRadii(radii: Float32Array | number[], options: any): PfsPrimeOverlapRemoval;
|
|
2809
|
-
/**
|
|
2810
|
-
* Constructs a `PfsPrimeOverlapRemoval` solver from per-node `halfWidths` and `halfHeights`.
|
|
2823
|
+
* Applies the single two-pass `PFS'` overlap removal transform on `layout` in place.
|
|
2811
2824
|
*/
|
|
2812
|
-
|
|
2813
|
-
/**
|
|
2814
|
-
* Executes up to `steps` `PFS'` passes on `layout` in place.
|
|
2815
|
-
*/
|
|
2816
|
-
runSteps(layout: Layout2d, steps: number): string;
|
|
2817
|
-
/**
|
|
2818
|
-
* Runs `PFS'` overlap removal to completion on `layout` in place.
|
|
2819
|
-
*/
|
|
2820
|
-
run(layout: Layout2d): string;
|
|
2821
|
-
/**
|
|
2822
|
-
* Executes the single two-pass `PFS'` overlap removal step on `layout` in place.
|
|
2823
|
-
*/
|
|
2824
|
-
step(layout: Layout2d): string;
|
|
2825
|
+
apply(layout: Layout2d): void;
|
|
2825
2826
|
/**
|
|
2826
|
-
*
|
|
2827
|
+
* Constructs a `PfsPrimeOverlapRemoval` transform with uniform square `radii`.
|
|
2827
2828
|
*/
|
|
2828
|
-
|
|
2829
|
+
static fromRadii(radii: Float32Array | number[], options: any): PfsPrimeOverlapRemoval;
|
|
2829
2830
|
/**
|
|
2830
|
-
*
|
|
2831
|
+
* Constructs a `PfsPrimeOverlapRemoval` transform from per-node `halfWidths` and `halfHeights`.
|
|
2831
2832
|
*/
|
|
2832
|
-
|
|
2833
|
+
constructor(half_widths: Float32Array | number[], half_heights: Float32Array | number[], options: any);
|
|
2833
2834
|
/**
|
|
2834
|
-
* Returns the number of overlapping rectangle pairs remaining after
|
|
2835
|
+
* Returns the number of overlapping rectangle pairs remaining after `apply`.
|
|
2835
2836
|
*/
|
|
2836
2837
|
readonly lastOverlapCount: number;
|
|
2837
2838
|
/**
|
|
2838
2839
|
* Returns the expected vertex count.
|
|
2839
2840
|
*/
|
|
2840
2841
|
readonly numNodes: number;
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2842
|
+
}
|
|
2843
|
+
|
|
2844
|
+
/**
|
|
2845
|
+
* Core-First MaxMin PivotMDS `LayoutGenerator` supporting `"layout2d"`, `"layout3d"`, and `"layoutNd"`.
|
|
2846
|
+
*/
|
|
2847
|
+
export class PivotMds {
|
|
2848
|
+
free(): void;
|
|
2849
|
+
[Symbol.dispose](): void;
|
|
2850
|
+
generate(graph: CsrGraph): any;
|
|
2851
|
+
constructor(options: any);
|
|
2849
2852
|
}
|
|
2850
2853
|
|
|
2851
2854
|
/**
|
|
@@ -2872,9 +2875,6 @@ export class PrismDistortion {
|
|
|
2872
2875
|
|
|
2873
2876
|
/**
|
|
2874
2877
|
* Cooperative Gansner-Hu (2010) PRISM proximity-stress overlap removal solver (`f32`).
|
|
2875
|
-
*
|
|
2876
|
-
* Uses `Delaunay2d` when compiled with `delaunay` and falls back automatically to
|
|
2877
|
-
* `StaticKdTree` $k$-NN proximity + `RectangleOverlapSweep` under `--no-default-features`.
|
|
2878
2878
|
*/
|
|
2879
2879
|
export class PrismOverlapRemoval {
|
|
2880
2880
|
free(): void;
|
|
@@ -2923,7 +2923,18 @@ export class PrismOverlapRemoval {
|
|
|
2923
2923
|
/**
|
|
2924
2924
|
* Returns the maximum scheduled PRISM rounds (`maxIterations`).
|
|
2925
2925
|
*/
|
|
2926
|
-
readonly totalIterations: number;
|
|
2926
|
+
readonly totalIterations: number | undefined;
|
|
2927
|
+
}
|
|
2928
|
+
|
|
2929
|
+
/**
|
|
2930
|
+
* Resistance-distance MDS (`RdMds`) `LayoutGenerator` supporting
|
|
2931
|
+
* `"layout2d"`, `"layout3d"`, and `"layoutNd"`.
|
|
2932
|
+
*/
|
|
2933
|
+
export class RdMds {
|
|
2934
|
+
free(): void;
|
|
2935
|
+
[Symbol.dispose](): void;
|
|
2936
|
+
generate(graph: CsrGraph): any;
|
|
2937
|
+
constructor(options: any);
|
|
2927
2938
|
}
|
|
2928
2939
|
|
|
2929
2940
|
/**
|
|
@@ -3042,7 +3053,7 @@ export class ResistanceCurvatureFlowResult {
|
|
|
3042
3053
|
*/
|
|
3043
3054
|
readonly suggestedGeometry: string;
|
|
3044
3055
|
/**
|
|
3045
|
-
* Returns the suggested `ManifoldKind` (`"
|
|
3056
|
+
* Returns the suggested `ManifoldKind` (`"hyperbolicPoincare"`, `"spherical"`, `"torus"`), or `undefined`.
|
|
3046
3057
|
*/
|
|
3047
3058
|
readonly suggestedManifold: string | undefined;
|
|
3048
3059
|
/**
|
|
@@ -3285,7 +3296,7 @@ export class ScreenedPoissonRefiner {
|
|
|
3285
3296
|
/**
|
|
3286
3297
|
* Returns the configured maximum number of refinement iterations.
|
|
3287
3298
|
*/
|
|
3288
|
-
readonly totalIterations: number;
|
|
3299
|
+
readonly totalIterations: number | undefined;
|
|
3289
3300
|
}
|
|
3290
3301
|
|
|
3291
3302
|
/**
|
|
@@ -3398,7 +3409,7 @@ export class SelLayoutSolver {
|
|
|
3398
3409
|
/**
|
|
3399
3410
|
* Returns the scheduled iteration count.
|
|
3400
3411
|
*/
|
|
3401
|
-
readonly totalIterations: number;
|
|
3412
|
+
readonly totalIterations: number | undefined;
|
|
3402
3413
|
}
|
|
3403
3414
|
|
|
3404
3415
|
/**
|
|
@@ -3426,110 +3437,139 @@ export class SeparationConstraint {
|
|
|
3426
3437
|
}
|
|
3427
3438
|
|
|
3428
3439
|
/**
|
|
3429
|
-
* Canonical community-ordered Space-Filling Curve (`SFC`) layout
|
|
3430
|
-
*
|
|
3431
|
-
* Note: `muelder2008_space_filling` (Muelder & Ma, IEEE TVCG 2008) is currently marked
|
|
3432
|
-
* `MISSING_PDF` in the project literature archive, so exact clustering, ordering, and
|
|
3433
|
-
* post-refinement parameters from that paper cannot be verified or claimed. This solver
|
|
3434
|
-
* exposes a canonical community-ordered Hilbert/Morton space-filling curve baseline using
|
|
3435
|
-
* `louvain_coarsen` and strictly injective 2D curve mapping (`totalIterations == 1`).
|
|
3440
|
+
* Canonical community-ordered Space-Filling Curve (`SFC`) layout generator (`f32`).
|
|
3436
3441
|
*/
|
|
3437
|
-
export class
|
|
3442
|
+
export class SfcLayout {
|
|
3438
3443
|
free(): void;
|
|
3439
3444
|
[Symbol.dispose](): void;
|
|
3440
3445
|
/**
|
|
3441
|
-
*
|
|
3442
|
-
*/
|
|
3443
|
-
constructor(graph: CsrGraph, options: any);
|
|
3444
|
-
/**
|
|
3445
|
-
* Executes up to `steps` `SFC` steps on `layout` in place.
|
|
3446
|
-
*/
|
|
3447
|
-
runSteps(layout: Layout2d, steps: number): string;
|
|
3448
|
-
/**
|
|
3449
|
-
* Runs `SFC` coordinate assignment to completion on `layout` in place.
|
|
3446
|
+
* Generates a community-ordered Hilbert/Morton `Layout2d` (`f32`).
|
|
3450
3447
|
*/
|
|
3451
|
-
|
|
3448
|
+
generate(): Layout2d;
|
|
3452
3449
|
/**
|
|
3453
|
-
*
|
|
3450
|
+
* Constructs an `SfcLayout` generator from `graph` and optional `SfcOptions`.
|
|
3454
3451
|
*/
|
|
3455
|
-
|
|
3452
|
+
constructor(graph: CsrGraph, options: any);
|
|
3456
3453
|
/**
|
|
3457
3454
|
* Returns the deterministic community-ordered vertex permutation (`Uint32Array`).
|
|
3458
3455
|
*/
|
|
3459
3456
|
vertexOrder(): Uint32Array;
|
|
3460
3457
|
/**
|
|
3461
|
-
* Returns
|
|
3458
|
+
* Returns the graph vertex count.
|
|
3462
3459
|
*/
|
|
3463
|
-
readonly
|
|
3460
|
+
readonly numNodes: number;
|
|
3461
|
+
}
|
|
3462
|
+
|
|
3463
|
+
/**
|
|
3464
|
+
* Cooperative preconditioned mini-batch stress SGD solver (`f32`) across 2D, 3D, N-D, and Manifolds.
|
|
3465
|
+
*/
|
|
3466
|
+
export class Sgd2Solver {
|
|
3467
|
+
free(): void;
|
|
3468
|
+
[Symbol.dispose](): void;
|
|
3469
|
+
_run2d(layout: Layout2d): string;
|
|
3470
|
+
_run3d(layout: Layout3d): string;
|
|
3471
|
+
_runManifold(layout: ManifoldLayout2d): string;
|
|
3472
|
+
_runNd(layout: LayoutNd): string;
|
|
3473
|
+
_runScheduleWindow2d(layout: Layout2d, start_iter: number, count: number): string;
|
|
3474
|
+
_runScheduleWindow3d(layout: Layout3d, start_iter: number, count: number): string;
|
|
3475
|
+
_runScheduleWindowManifold(layout: ManifoldLayout2d, start_iter: number, count: number): string;
|
|
3476
|
+
_runScheduleWindowNd(layout: LayoutNd, start_iter: number, count: number): string;
|
|
3477
|
+
_runSteps2d(layout: Layout2d, steps: number): string;
|
|
3478
|
+
_runSteps3d(layout: Layout3d, steps: number): string;
|
|
3479
|
+
_runStepsManifold(layout: ManifoldLayout2d, steps: number): string;
|
|
3480
|
+
_runStepsNd(layout: LayoutNd, steps: number): string;
|
|
3481
|
+
_step2d(layout: Layout2d): string;
|
|
3482
|
+
_step3d(layout: Layout3d): string;
|
|
3483
|
+
_stepManifold(layout: ManifoldLayout2d): string;
|
|
3484
|
+
_stepNd(layout: LayoutNd): string;
|
|
3464
3485
|
/**
|
|
3465
|
-
*
|
|
3486
|
+
* Constructs a preconditioned mini-batch stress SGD solver from `graph` and `Sgd2Options`.
|
|
3466
3487
|
*/
|
|
3467
|
-
|
|
3488
|
+
constructor(graph: CsrGraph, options: any);
|
|
3468
3489
|
/**
|
|
3469
|
-
*
|
|
3490
|
+
* Resets the iteration schedule and RNG without reallocating stored pair buffers.
|
|
3470
3491
|
*/
|
|
3492
|
+
resetSchedule(options: any): void;
|
|
3493
|
+
readonly currentEta: number;
|
|
3494
|
+
readonly isFinished: boolean;
|
|
3495
|
+
readonly iteration: number;
|
|
3471
3496
|
readonly numNodes: number;
|
|
3472
|
-
|
|
3473
|
-
* Returns the solver lifecycle status string.
|
|
3474
|
-
*/
|
|
3497
|
+
readonly numSprings: number;
|
|
3475
3498
|
readonly status: string;
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
*/
|
|
3479
|
-
readonly totalIterations: number;
|
|
3499
|
+
readonly target: string;
|
|
3500
|
+
readonly totalIterations: number | undefined;
|
|
3480
3501
|
}
|
|
3481
3502
|
|
|
3482
3503
|
/**
|
|
3483
|
-
* Cooperative SoA `u32` SGD solver supporting
|
|
3484
|
-
*
|
|
3485
|
-
*
|
|
3486
|
-
* and non-Euclidean `ManifoldLayout2d` (`f32`).
|
|
3504
|
+
* Cooperative SoA `u32` SGD solver supporting full APSP, explicit pairs, packed symmetric pairs,
|
|
3505
|
+
* random-pair sampling, Omega, streaming negatives, 3-tier sparse barrier, and Ortmann Sparse
|
|
3506
|
+
* Stress across `Layout2d`, `Layout3d`, `LayoutNd`, and `ManifoldLayout2d` (`f32`).
|
|
3487
3507
|
*/
|
|
3488
3508
|
export class SgdSolver {
|
|
3489
3509
|
free(): void;
|
|
3490
3510
|
[Symbol.dispose](): void;
|
|
3491
3511
|
/**
|
|
3492
|
-
* Runs Euclidean SGD optimization to completion
|
|
3512
|
+
* Runs 2D Euclidean SGD optimization to completion in place.
|
|
3493
3513
|
*/
|
|
3494
3514
|
_run2d(layout: Layout2d): string;
|
|
3495
3515
|
/**
|
|
3496
|
-
* Runs
|
|
3516
|
+
* Runs 3D Euclidean SGD optimization to completion in place.
|
|
3517
|
+
*/
|
|
3518
|
+
_run3d(layout: Layout3d): string;
|
|
3519
|
+
/**
|
|
3520
|
+
* Runs non-Euclidean manifold SGD optimization to completion in place.
|
|
3497
3521
|
*/
|
|
3498
3522
|
_runManifold(layout: ManifoldLayout2d): string;
|
|
3499
3523
|
/**
|
|
3500
|
-
* Runs N-D SGD optimization to completion
|
|
3524
|
+
* Runs N-D Euclidean SGD optimization to completion in place.
|
|
3501
3525
|
*/
|
|
3502
3526
|
_runNd(layout: LayoutNd): string;
|
|
3503
3527
|
/**
|
|
3504
|
-
* Executes `count` Euclidean SGD iterations over schedule indices `startIter..startIter + count`.
|
|
3528
|
+
* Executes `count` 2D Euclidean SGD iterations over schedule indices `startIter..startIter + count`.
|
|
3505
3529
|
*/
|
|
3506
3530
|
_runScheduleWindow2d(layout: Layout2d, start_iter: number, count: number): string;
|
|
3531
|
+
/**
|
|
3532
|
+
* Executes `count` 3D Euclidean SGD iterations over schedule indices `startIter..startIter + count`.
|
|
3533
|
+
*/
|
|
3534
|
+
_runScheduleWindow3d(layout: Layout3d, start_iter: number, count: number): string;
|
|
3507
3535
|
/**
|
|
3508
3536
|
* Executes `count` Manifold SGD iterations over schedule indices `startIter..startIter + count`.
|
|
3509
3537
|
*/
|
|
3510
3538
|
_runScheduleWindowManifold(layout: ManifoldLayout2d, start_iter: number, count: number): string;
|
|
3511
3539
|
/**
|
|
3512
|
-
* Executes
|
|
3540
|
+
* Executes `count` N-D Euclidean SGD iterations over schedule indices `startIter..startIter + count`.
|
|
3541
|
+
*/
|
|
3542
|
+
_runScheduleWindowNd(layout: LayoutNd, start_iter: number, count: number): string;
|
|
3543
|
+
/**
|
|
3544
|
+
* Executes up to `steps` 2D Euclidean SGD iterations in place.
|
|
3513
3545
|
*/
|
|
3514
3546
|
_runSteps2d(layout: Layout2d, steps: number): string;
|
|
3515
3547
|
/**
|
|
3516
|
-
* Executes up to `steps`
|
|
3548
|
+
* Executes up to `steps` 3D Euclidean SGD iterations in place.
|
|
3549
|
+
*/
|
|
3550
|
+
_runSteps3d(layout: Layout3d, steps: number): string;
|
|
3551
|
+
/**
|
|
3552
|
+
* Executes up to `steps` non-Euclidean manifold SGD iterations in place.
|
|
3517
3553
|
*/
|
|
3518
3554
|
_runStepsManifold(layout: ManifoldLayout2d, steps: number): string;
|
|
3519
3555
|
/**
|
|
3520
|
-
* Executes up to `steps` N-D SGD iterations
|
|
3556
|
+
* Executes up to `steps` N-D Euclidean SGD iterations in place.
|
|
3521
3557
|
*/
|
|
3522
3558
|
_runStepsNd(layout: LayoutNd, steps: number): string;
|
|
3523
3559
|
/**
|
|
3524
|
-
* Executes one Euclidean SGD iteration
|
|
3560
|
+
* Executes one 2D Euclidean SGD iteration in place.
|
|
3525
3561
|
*/
|
|
3526
3562
|
_step2d(layout: Layout2d): string;
|
|
3527
3563
|
/**
|
|
3528
|
-
* Executes one
|
|
3564
|
+
* Executes one 3D Euclidean SGD iteration in place.
|
|
3565
|
+
*/
|
|
3566
|
+
_step3d(layout: Layout3d): string;
|
|
3567
|
+
/**
|
|
3568
|
+
* Executes one non-Euclidean manifold SGD iteration in place.
|
|
3529
3569
|
*/
|
|
3530
3570
|
_stepManifold(layout: ManifoldLayout2d): string;
|
|
3531
3571
|
/**
|
|
3532
|
-
* Executes one N-D SGD iteration
|
|
3572
|
+
* Executes one N-D Euclidean SGD iteration in place.
|
|
3533
3573
|
*/
|
|
3534
3574
|
_stepNd(layout: LayoutNd): string;
|
|
3535
3575
|
/**
|
|
@@ -3537,92 +3577,53 @@ export class SgdSolver {
|
|
|
3537
3577
|
* `sparseBarrierDog`, or `undefined` otherwise.
|
|
3538
3578
|
*/
|
|
3539
3579
|
dogStats(): DogStats | undefined;
|
|
3540
|
-
/**
|
|
3541
|
-
* Constructs a multilevel negative-sampling `DRGraph` (Zhu et al., 2020) solver.
|
|
3542
|
-
*/
|
|
3543
|
-
static drgraph(graph: CsrGraph, options: any): SgdSolver;
|
|
3544
3580
|
/**
|
|
3545
3581
|
* Constructs an `SgdSolver` directly from packed symmetric pair arrays
|
|
3546
|
-
* `(src, tgt, dists,
|
|
3582
|
+
* `(numNodes, src, tgt, dists, options?)`.
|
|
3547
3583
|
*/
|
|
3548
|
-
static fromPackedSymmetric(num_nodes: number, src: Uint32Array | number[], tgt: Uint32Array | number[], dists: Float32Array | number[],
|
|
3584
|
+
static fromPackedSymmetric(num_nodes: number, src: Uint32Array | number[], tgt: Uint32Array | number[], dists: Float32Array | number[], options: any): SgdSolver;
|
|
3549
3585
|
/**
|
|
3550
3586
|
* Constructs an `SgdSolver` combining two-sided spring pairs and one-sided hinge pairs.
|
|
3551
3587
|
*/
|
|
3552
|
-
static fromPairsWithHinges(num_nodes: number, spring_src: Uint32Array | number[], spring_tgt: Uint32Array | number[], spring_dij: Float32Array | number[],
|
|
3588
|
+
static fromPairsWithHinges(num_nodes: number, spring_src: Uint32Array | number[], spring_tgt: Uint32Array | number[], spring_dij: Float32Array | number[], hinge_src: Uint32Array | number[], hinge_tgt: Uint32Array | number[], hinge_dij: Float32Array | number[], options: any): SgdSolver;
|
|
3553
3589
|
/**
|
|
3554
3590
|
* Constructs an `SgdSolver` from explicit flat SoA two-sided spring arrays.
|
|
3555
3591
|
*
|
|
3556
|
-
*
|
|
3592
|
+
* Optional `options`: `{ dji?, wij?, wji?, iterations?, eps?, kind?, stepScale?, maxMu?, seed?, target? }`.
|
|
3557
3593
|
*/
|
|
3558
|
-
static fromPairs(num_nodes: number, src: Uint32Array | number[], tgt: Uint32Array | number[], dij: Float32Array | number[],
|
|
3594
|
+
static fromPairs(num_nodes: number, src: Uint32Array | number[], tgt: Uint32Array | number[], dij: Float32Array | number[], options: any): SgdSolver;
|
|
3559
3595
|
/**
|
|
3560
3596
|
* Constructs a full all-pairs shortest-path SGD solver from `graph`.
|
|
3561
3597
|
*/
|
|
3562
|
-
static full(graph: CsrGraph,
|
|
3563
|
-
/**
|
|
3564
|
-
* Constructs a `Graph-CNE` (Bohm et al., 2025) contrastive neighbor embedding solver.
|
|
3565
|
-
*/
|
|
3566
|
-
static graphCne(graph: CsrGraph, options: any): SgdSolver;
|
|
3567
|
-
/**
|
|
3568
|
-
* Constructs a single-threaded deterministic `LargeVis` (Tang et al., 2016) solver.
|
|
3569
|
-
*/
|
|
3570
|
-
static largevis(graph: CsrGraph, options: any): SgdSolver;
|
|
3598
|
+
static full(graph: CsrGraph, options: any): SgdSolver;
|
|
3571
3599
|
/**
|
|
3572
3600
|
* Constructs a full all-pairs shortest-path SGD solver from `graph`.
|
|
3573
3601
|
*/
|
|
3574
3602
|
constructor(graph: CsrGraph, options: any);
|
|
3575
3603
|
/**
|
|
3576
|
-
* Constructs an Omega SGD solver from a flat row-major `(numNodes, dims)` spectral embedding.
|
|
3577
|
-
*/
|
|
3578
|
-
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;
|
|
3579
|
-
/**
|
|
3580
|
-
* Constructs an Ortmann et al. (2016) Sparse Stress SGD solver.
|
|
3581
|
-
*/
|
|
3582
|
-
static ortmannSparseStress(graph: CsrGraph, options: any): SgdSolver;
|
|
3583
|
-
/**
|
|
3584
|
-
* Constructs a 3-tier `PaCMAP-Graph` solver coupled with a coarse Louvain area-reserved
|
|
3585
|
-
* backbone initialization and `num_landmarks`-BFS Mid-Near (`MN`) landmarks.
|
|
3586
|
-
*/
|
|
3587
|
-
static pacmapGraphWithBackbone(graph: CsrGraph, options: any): PacmapBackboneResult;
|
|
3588
|
-
/**
|
|
3589
|
-
* Constructs a 3-tier `PaCMAP-Graph` Adam layout solver using a flat row-major
|
|
3590
|
-
* `(num_nodes, num_landmarks)` landmark distance table.
|
|
3591
|
-
*/
|
|
3592
|
-
static pacmapGraphWithLandmarkDistances(graph: CsrGraph, landmark_distances: Float64Array | number[], num_landmarks: number, options: any): SgdSolver;
|
|
3593
|
-
/**
|
|
3594
|
-
* Constructs a 3-tier `PaCMAP-Graph` Adam layout solver using precomputed `DogVaradhanLandmarks`.
|
|
3604
|
+
* Constructs an Omega SGD solver from a flat row-major `(numNodes, dims)` spectral embedding.
|
|
3595
3605
|
*/
|
|
3596
|
-
static
|
|
3606
|
+
static omega(graph: CsrGraph, embedding: Float64Array | number[], dims: number, options: any): SgdSolver;
|
|
3597
3607
|
/**
|
|
3598
|
-
* Constructs
|
|
3608
|
+
* Constructs an Ortmann et al. (2016) Sparse Stress SGD solver.
|
|
3599
3609
|
*/
|
|
3600
|
-
static
|
|
3610
|
+
static ortmannSparseStress(graph: CsrGraph, options: any): SgdSolver;
|
|
3601
3611
|
/**
|
|
3602
3612
|
* Constructs a random-pair sparse SGD solver combining 1-hop edges with sampled random pairs.
|
|
3603
3613
|
*/
|
|
3604
|
-
static randomPair(graph: CsrGraph,
|
|
3614
|
+
static randomPair(graph: CsrGraph, options: any): SgdSolver;
|
|
3605
3615
|
/**
|
|
3606
3616
|
* Resets the SGD learning-rate schedule and RNG without reallocating stored pair buffers.
|
|
3607
3617
|
*/
|
|
3608
|
-
resetSchedule(
|
|
3609
|
-
/**
|
|
3610
|
-
* Constructs a doubly-stochastic mini-batch diagonal-preconditioned stress SGD solver
|
|
3611
|
-
* (`SgdScheduleKind::Squared`, distinct from Ahmed et al. 2021 multi-criteria `(SGD)^2`).
|
|
3612
|
-
*/
|
|
3613
|
-
static sgd2(graph: CsrGraph, options: any): SgdSolver;
|
|
3614
|
-
/**
|
|
3615
|
-
* Constructs a compact-memory edge-incident negative sampling `SNAP-tFDP` solver.
|
|
3616
|
-
*/
|
|
3617
|
-
static snapTFdp(graph: CsrGraph, options: any): SgdSolver;
|
|
3618
|
+
resetSchedule(options: any): void;
|
|
3618
3619
|
/**
|
|
3619
3620
|
* Computes regularized Chebyshev DoG Varadhan landmarks and constructs a 3-tier Sparse Barrier SGD solver.
|
|
3620
3621
|
*/
|
|
3621
|
-
static sparseBarrierDog(graph: CsrGraph,
|
|
3622
|
+
static sparseBarrierDog(graph: CsrGraph, options: any): SgdSolver;
|
|
3622
3623
|
/**
|
|
3623
3624
|
* Constructs a 3-tier Sparse Barrier SGD solver from precomputed `DogVaradhanLandmarks`.
|
|
3624
3625
|
*/
|
|
3625
|
-
static sparseBarrierFromLandmarks(graph: CsrGraph, landmarks: DogVaradhanLandmarks,
|
|
3626
|
+
static sparseBarrierFromLandmarks(graph: CsrGraph, landmarks: DogVaradhanLandmarks, options: any): SgdSolver;
|
|
3626
3627
|
/**
|
|
3627
3628
|
* Returns `SparseBarrierStats` when constructed via `sparseBarrierFromLandmarks` or
|
|
3628
3629
|
* `sparseBarrierDog`, or `undefined` otherwise.
|
|
@@ -3631,13 +3632,13 @@ export class SgdSolver {
|
|
|
3631
3632
|
/**
|
|
3632
3633
|
* Constructs a minimal-RAM SGD solver storing 1-hop springs and streaming non-edge negatives.
|
|
3633
3634
|
*/
|
|
3634
|
-
static streamingNegatives(graph: CsrGraph,
|
|
3635
|
+
static streamingNegatives(graph: CsrGraph, options: any): SgdSolver;
|
|
3635
3636
|
/**
|
|
3636
|
-
* Returns the learning rate
|
|
3637
|
+
* Returns the learning rate `eta` for the upcoming iteration (`0.0` once finished).
|
|
3637
3638
|
*/
|
|
3638
3639
|
readonly currentEta: number;
|
|
3639
3640
|
/**
|
|
3640
|
-
* Returns `true` when the solver has converged or
|
|
3641
|
+
* Returns `true` when the solver has converged, completed, or failed.
|
|
3641
3642
|
*/
|
|
3642
3643
|
readonly isFinished: boolean;
|
|
3643
3644
|
/**
|
|
@@ -3665,13 +3666,48 @@ export class SgdSolver {
|
|
|
3665
3666
|
*/
|
|
3666
3667
|
readonly status: string;
|
|
3667
3668
|
/**
|
|
3668
|
-
* Returns `true` when this solver
|
|
3669
|
+
* Returns `true` when this solver targets `ManifoldLayout2d`.
|
|
3669
3670
|
*/
|
|
3670
3671
|
readonly supportsManifold: boolean;
|
|
3671
3672
|
/**
|
|
3672
|
-
* Returns the
|
|
3673
|
+
* Returns the configured layout target kind (`'layout2d' | 'layout3d' | 'layoutNd' | 'manifold2d'`).
|
|
3673
3674
|
*/
|
|
3674
|
-
readonly
|
|
3675
|
+
readonly target: string;
|
|
3676
|
+
/**
|
|
3677
|
+
* Returns the scheduled maximum iteration count (`iterations`), if fixed.
|
|
3678
|
+
*/
|
|
3679
|
+
readonly totalIterations: number | undefined;
|
|
3680
|
+
}
|
|
3681
|
+
|
|
3682
|
+
/**
|
|
3683
|
+
* Cooperative compact-memory edge-incident negative sampling `SNAP-tFDP` solver (`f32`).
|
|
3684
|
+
*/
|
|
3685
|
+
export class SnapTFdpSolver {
|
|
3686
|
+
free(): void;
|
|
3687
|
+
[Symbol.dispose](): void;
|
|
3688
|
+
_run2d(layout: Layout2d): string;
|
|
3689
|
+
_run3d(layout: Layout3d): string;
|
|
3690
|
+
_runManifold(layout: ManifoldLayout2d): string;
|
|
3691
|
+
_runNd(layout: LayoutNd): string;
|
|
3692
|
+
_runSteps2d(layout: Layout2d, steps: number): string;
|
|
3693
|
+
_runSteps3d(layout: Layout3d, steps: number): string;
|
|
3694
|
+
_runStepsManifold(layout: ManifoldLayout2d, steps: number): string;
|
|
3695
|
+
_runStepsNd(layout: LayoutNd, steps: number): string;
|
|
3696
|
+
_step2d(layout: Layout2d): string;
|
|
3697
|
+
_step3d(layout: Layout3d): string;
|
|
3698
|
+
_stepManifold(layout: ManifoldLayout2d): string;
|
|
3699
|
+
_stepNd(layout: LayoutNd): string;
|
|
3700
|
+
/**
|
|
3701
|
+
* Constructs a `SnapTFdpSolver` from `graph` and `SnapTFdpOptions`.
|
|
3702
|
+
*/
|
|
3703
|
+
constructor(graph: CsrGraph, options: any);
|
|
3704
|
+
readonly isFinished: boolean;
|
|
3705
|
+
readonly iteration: number;
|
|
3706
|
+
readonly numNodes: number;
|
|
3707
|
+
readonly numSprings: number;
|
|
3708
|
+
readonly status: string;
|
|
3709
|
+
readonly target: string;
|
|
3710
|
+
readonly totalIterations: number | undefined;
|
|
3675
3711
|
}
|
|
3676
3712
|
|
|
3677
3713
|
/**
|
|
@@ -3747,7 +3783,7 @@ export class SparseBarrierStats {
|
|
|
3747
3783
|
*/
|
|
3748
3784
|
readonly perNodeNegUsed: number;
|
|
3749
3785
|
/**
|
|
3750
|
-
* Returns `"
|
|
3786
|
+
* Returns `"adaptive2hop"` or `"explicit"`.
|
|
3751
3787
|
*/
|
|
3752
3788
|
readonly perplexitySource: string;
|
|
3753
3789
|
/**
|
|
@@ -3798,7 +3834,7 @@ export class SpatialIntruderRefiner {
|
|
|
3798
3834
|
/**
|
|
3799
3835
|
* Precomputes canonical 1-hop topology and hub-safe 2-hop structures for `graph`.
|
|
3800
3836
|
*/
|
|
3801
|
-
constructor(graph: CsrGraph,
|
|
3837
|
+
constructor(graph: CsrGraph, options: any);
|
|
3802
3838
|
/**
|
|
3803
3839
|
* Executes up to `steps` refinement rounds on `layout` in place.
|
|
3804
3840
|
*/
|
|
@@ -3842,7 +3878,7 @@ export class SpatialIntruderRefiner {
|
|
|
3842
3878
|
/**
|
|
3843
3879
|
* Returns the maximum scheduled refinement rounds.
|
|
3844
3880
|
*/
|
|
3845
|
-
readonly totalIterations: number;
|
|
3881
|
+
readonly totalIterations: number | undefined;
|
|
3846
3882
|
}
|
|
3847
3883
|
|
|
3848
3884
|
/**
|
|
@@ -4078,158 +4114,84 @@ export class StressEvaluation {
|
|
|
4078
4114
|
|
|
4079
4115
|
/**
|
|
4080
4116
|
* Cooperative Gansner-Koren-North (2004) Stress Majorization layout solver (`f32`)
|
|
4081
|
-
* across `Layout2d`, `LayoutNd`, and `ManifoldLayout2d`.
|
|
4117
|
+
* across `Layout2d`, `Layout3d`, `LayoutNd`, and `ManifoldLayout2d`.
|
|
4082
4118
|
*/
|
|
4083
4119
|
export class StressMajorizationSolver {
|
|
4084
4120
|
free(): void;
|
|
4085
4121
|
[Symbol.dispose](): void;
|
|
4086
|
-
/**
|
|
4087
|
-
* Evaluates weighted stress for a `Layout2d`.
|
|
4088
|
-
*/
|
|
4089
4122
|
_computeStress2d(layout: Layout2d): number;
|
|
4090
|
-
|
|
4091
|
-
* Evaluates weighted geodesic stress for a `ManifoldLayout2d`.
|
|
4092
|
-
*/
|
|
4123
|
+
_computeStress3d(layout: Layout3d): number;
|
|
4093
4124
|
_computeStressManifold(layout: ManifoldLayout2d): number;
|
|
4094
|
-
/**
|
|
4095
|
-
* Evaluates weighted stress for a `LayoutNd`.
|
|
4096
|
-
*/
|
|
4097
4125
|
_computeStressNd(layout: LayoutNd): number;
|
|
4098
|
-
/**
|
|
4099
|
-
* Runs majorization to completion on `Layout2d` in place.
|
|
4100
|
-
*/
|
|
4101
4126
|
_run2d(layout: Layout2d): string;
|
|
4102
|
-
|
|
4103
|
-
* Runs geodesic majorization to completion on `ManifoldLayout2d` in place.
|
|
4104
|
-
*/
|
|
4127
|
+
_run3d(layout: Layout3d): string;
|
|
4105
4128
|
_runManifold(layout: ManifoldLayout2d): string;
|
|
4106
|
-
/**
|
|
4107
|
-
* Runs majorization to completion on `LayoutNd` in place.
|
|
4108
|
-
*/
|
|
4109
4129
|
_runNd(layout: LayoutNd): string;
|
|
4110
|
-
/**
|
|
4111
|
-
* Executes up to `steps` majorization steps on `Layout2d` in place.
|
|
4112
|
-
*/
|
|
4113
4130
|
_runSteps2d(layout: Layout2d, steps: number): string;
|
|
4114
|
-
|
|
4115
|
-
* Executes up to `steps` geodesic majorization steps on `ManifoldLayout2d` in place.
|
|
4116
|
-
*/
|
|
4131
|
+
_runSteps3d(layout: Layout3d, steps: number): string;
|
|
4117
4132
|
_runStepsManifold(layout: ManifoldLayout2d, steps: number): string;
|
|
4118
|
-
/**
|
|
4119
|
-
* Executes up to `steps` majorization steps on `LayoutNd` in place.
|
|
4120
|
-
*/
|
|
4121
4133
|
_runStepsNd(layout: LayoutNd, steps: number): string;
|
|
4122
|
-
/**
|
|
4123
|
-
* Executes one majorization step on `Layout2d` in place.
|
|
4124
|
-
*/
|
|
4125
4134
|
_step2d(layout: Layout2d): string;
|
|
4126
|
-
|
|
4127
|
-
* Executes one geodesic majorization step on `ManifoldLayout2d` in place.
|
|
4128
|
-
*/
|
|
4135
|
+
_step3d(layout: Layout3d): string;
|
|
4129
4136
|
_stepManifold(layout: ManifoldLayout2d): string;
|
|
4130
|
-
/**
|
|
4131
|
-
* Executes one majorization step on `LayoutNd` in place.
|
|
4132
|
-
*/
|
|
4133
4137
|
_stepNd(layout: LayoutNd): string;
|
|
4134
4138
|
/**
|
|
4135
4139
|
* Constructs a `StressMajorizationSolver` from a flat row-major `(numNodes, numNodes)` distance matrix.
|
|
4136
4140
|
*/
|
|
4137
|
-
static fromDistanceMatrix(num_nodes: number, dists_flat: Float64Array | number[],
|
|
4141
|
+
static fromDistanceMatrix(num_nodes: number, dists_flat: Float64Array | number[], options: any): StressMajorizationSolver;
|
|
4138
4142
|
/**
|
|
4139
4143
|
* Constructs a `StressMajorizationSolver` by computing APSP distances from `graph`.
|
|
4140
4144
|
*/
|
|
4141
|
-
static fromGraph(graph: CsrGraph,
|
|
4145
|
+
static fromGraph(graph: CsrGraph, options: any): StressMajorizationSolver;
|
|
4142
4146
|
/**
|
|
4143
4147
|
* Constructs a `StressMajorizationSolver` by computing APSP distances from `graph`.
|
|
4144
4148
|
*/
|
|
4145
4149
|
constructor(graph: CsrGraph, options: any);
|
|
4146
|
-
|
|
4147
|
-
* Returns `true` when the solver has converged or completed.
|
|
4148
|
-
*/
|
|
4150
|
+
readonly backend: string;
|
|
4149
4151
|
readonly isFinished: boolean;
|
|
4150
|
-
/**
|
|
4151
|
-
* Returns the number of iterations executed so far.
|
|
4152
|
-
*/
|
|
4153
4152
|
readonly iteration: number;
|
|
4154
|
-
/**
|
|
4155
|
-
* Returns the stress recorded after the most recent step, or `undefined`.
|
|
4156
|
-
*/
|
|
4157
4153
|
readonly lastStress: number | undefined;
|
|
4158
|
-
/**
|
|
4159
|
-
* Returns the expected vertex count.
|
|
4160
|
-
*/
|
|
4161
4154
|
readonly numNodes: number;
|
|
4162
|
-
/**
|
|
4163
|
-
* Returns the solver lifecycle status string.
|
|
4164
|
-
*/
|
|
4165
4155
|
readonly status: string;
|
|
4166
|
-
|
|
4167
|
-
|
|
4168
|
-
*/
|
|
4169
|
-
readonly totalIterations: number;
|
|
4156
|
+
readonly target: string;
|
|
4157
|
+
readonly totalIterations: number | undefined;
|
|
4170
4158
|
}
|
|
4171
4159
|
|
|
4172
4160
|
/**
|
|
4173
4161
|
* Cooperative bounded Student-$t$ force-directed placement (`t-FDP`) solver (`f32`)
|
|
4174
|
-
* supporting `
|
|
4162
|
+
* supporting `ibFft`, `barnesHut`, and `exact` repulsion backends across 2D, 3D, and N-D.
|
|
4175
4163
|
*/
|
|
4176
4164
|
export class TFdpSolver {
|
|
4177
4165
|
free(): void;
|
|
4178
4166
|
[Symbol.dispose](): void;
|
|
4167
|
+
_run2d(layout: Layout2d): string;
|
|
4168
|
+
_run3d(layout: Layout3d): string;
|
|
4169
|
+
_runNd(layout: LayoutNd): string;
|
|
4170
|
+
_runSteps2d(layout: Layout2d, steps: number): string;
|
|
4171
|
+
_runSteps3d(layout: Layout3d, steps: number): string;
|
|
4172
|
+
_runStepsNd(layout: LayoutNd, steps: number): string;
|
|
4173
|
+
_step2d(layout: Layout2d): string;
|
|
4174
|
+
_step3d(layout: Layout3d): string;
|
|
4175
|
+
_stepNd(layout: LayoutNd): string;
|
|
4179
4176
|
/**
|
|
4180
|
-
* Constructs a `TFdpSolver` from
|
|
4181
|
-
*
|
|
4182
|
-
* (`fromKnn(indptr, indices, weights?, options?)`, where `weights` defaults to uniform `0.0`).
|
|
4177
|
+
* Constructs a `TFdpSolver` from a `KnnGraph` (`fromKnn(knn, options?)`) or CSR slices
|
|
4178
|
+
* (`fromKnn(indptr, indices, weights?, options?)`).
|
|
4183
4179
|
*/
|
|
4184
4180
|
static fromKnn(knn_or_indptr: any, indices_or_options: any, weights_or_options: any, options: any): TFdpSolver;
|
|
4185
4181
|
/**
|
|
4186
4182
|
* Constructs a `TFdpSolver` directly from a `CsrGraph`.
|
|
4187
4183
|
*/
|
|
4188
4184
|
constructor(graph: CsrGraph, options: any);
|
|
4189
|
-
|
|
4190
|
-
* Executes up to `steps` `t-FDP` iterations on `layout` in place.
|
|
4191
|
-
*/
|
|
4192
|
-
runSteps(layout: Layout2d, steps: number): string;
|
|
4193
|
-
/**
|
|
4194
|
-
* Runs `t-FDP` optimization to completion on `layout` in place.
|
|
4195
|
-
*/
|
|
4196
|
-
run(layout: Layout2d): string;
|
|
4197
|
-
/**
|
|
4198
|
-
* Executes one `t-FDP` iteration on `layout` in place.
|
|
4199
|
-
*/
|
|
4200
|
-
step(layout: Layout2d): string;
|
|
4201
|
-
/**
|
|
4202
|
-
* Returns the current $\rho(t)$ repulsion schedule weight.
|
|
4203
|
-
*/
|
|
4185
|
+
readonly backend: string;
|
|
4204
4186
|
readonly currentRho: number;
|
|
4205
|
-
/**
|
|
4206
|
-
* Returns `true` when the solver has converged or completed.
|
|
4207
|
-
*/
|
|
4208
4187
|
readonly isFinished: boolean;
|
|
4209
|
-
/**
|
|
4210
|
-
* Returns the number of iterations executed so far.
|
|
4211
|
-
*/
|
|
4212
4188
|
readonly iteration: number;
|
|
4213
|
-
/**
|
|
4214
|
-
* Returns the number of directed positive attraction edges stored.
|
|
4215
|
-
*/
|
|
4216
4189
|
readonly numEdges: number;
|
|
4217
|
-
/**
|
|
4218
|
-
* Returns the expected vertex count.
|
|
4219
|
-
*/
|
|
4220
4190
|
readonly numNodes: number;
|
|
4221
|
-
/**
|
|
4222
|
-
* Returns the solver lifecycle status string.
|
|
4223
|
-
*/
|
|
4224
4191
|
readonly status: string;
|
|
4225
|
-
|
|
4226
|
-
* Returns the cumulative number of `fft_2d` calls executed across all steps.
|
|
4227
|
-
*/
|
|
4192
|
+
readonly target: string;
|
|
4228
4193
|
readonly totalFft2dCalls: number;
|
|
4229
|
-
|
|
4230
|
-
* Returns the total scheduled iteration count.
|
|
4231
|
-
*/
|
|
4232
|
-
readonly totalIterations: number;
|
|
4194
|
+
readonly totalIterations: number | undefined;
|
|
4233
4195
|
}
|
|
4234
4196
|
|
|
4235
4197
|
/**
|
|
@@ -4264,119 +4226,46 @@ export class TorusCrossing {
|
|
|
4264
4226
|
export class TsNetSolver {
|
|
4265
4227
|
free(): void;
|
|
4266
4228
|
[Symbol.dispose](): void;
|
|
4267
|
-
/**
|
|
4268
|
-
* Runs optimization to completion on `Layout2d` in place.
|
|
4269
|
-
*/
|
|
4270
4229
|
_run2d(layout: Layout2d): string;
|
|
4271
|
-
|
|
4272
|
-
* Runs optimization to completion on `ManifoldLayout2d` in place.
|
|
4273
|
-
*/
|
|
4230
|
+
_run3d(layout: Layout3d): string;
|
|
4274
4231
|
_runManifold(layout: ManifoldLayout2d): string;
|
|
4275
|
-
/**
|
|
4276
|
-
* Runs optimization to completion on `LayoutNd` in place.
|
|
4277
|
-
*/
|
|
4278
4232
|
_runNd(layout: LayoutNd): string;
|
|
4279
|
-
/**
|
|
4280
|
-
* Executes up to `steps` iterations on `Layout2d` in place.
|
|
4281
|
-
*/
|
|
4282
4233
|
_runSteps2d(layout: Layout2d, steps: number): string;
|
|
4283
|
-
|
|
4284
|
-
* Executes up to `steps` iterations on `ManifoldLayout2d` in place.
|
|
4285
|
-
*/
|
|
4234
|
+
_runSteps3d(layout: Layout3d, steps: number): string;
|
|
4286
4235
|
_runStepsManifold(layout: ManifoldLayout2d, steps: number): string;
|
|
4287
|
-
/**
|
|
4288
|
-
* Executes up to `steps` iterations on `LayoutNd` in place.
|
|
4289
|
-
*/
|
|
4290
4236
|
_runStepsNd(layout: LayoutNd, steps: number): string;
|
|
4291
|
-
/**
|
|
4292
|
-
* Executes one optimization iteration on `Layout2d` in place.
|
|
4293
|
-
*/
|
|
4294
4237
|
_step2d(layout: Layout2d): string;
|
|
4295
|
-
|
|
4296
|
-
* Executes one optimization iteration on `ManifoldLayout2d` in place.
|
|
4297
|
-
*/
|
|
4238
|
+
_step3d(layout: Layout3d): string;
|
|
4298
4239
|
_stepManifold(layout: ManifoldLayout2d): string;
|
|
4299
|
-
/**
|
|
4300
|
-
* Executes one optimization iteration on `LayoutNd` in place.
|
|
4301
|
-
*/
|
|
4302
4240
|
_stepNd(layout: LayoutNd): string;
|
|
4303
|
-
|
|
4304
|
-
* Constructs a `TsNetSolver` from a `CsrGraph` using Partial BFS $k$-NN and a uniform perplexity.
|
|
4305
|
-
*/
|
|
4306
|
-
static fromGraphPartialBfs(graph: CsrGraph, k: number | null | undefined, uniform_perplexity: number | null | undefined, backend_or_options: any, stage_iterations: any, learning_rate: number | null | undefined, exaggeration: number | null | undefined, lambda_c_stage1: number | null | undefined, lambda_c_stage2: number | null | undefined, lambda_c_stage3: number | null | undefined, lambda_r_stage3: number | null | undefined, momentum: number | null | undefined, epsilon_r: number | null | undefined, theta: number | null | undefined, power: number | null | undefined, sigma_iters: number | null | undefined, sigma_tolerance: number | null | undefined, row_normalize: boolean | null | undefined, seed: number | null | undefined, intervals: number | null | undefined, interpolation_order: any, min_grid_dim?: number | null, max_grid_dim?: number | null): TsNetSolver;
|
|
4241
|
+
static fromGraphPartialBfs(graph: CsrGraph, options: any): TsNetSolver;
|
|
4307
4242
|
/**
|
|
4308
4243
|
* Constructs a `TsNetSolver` from `graph` using direct row-normalized `A1 + w2 * A2`
|
|
4309
4244
|
* affinity with configurable 2-hop sampling `mode` and optional `maxBridgeDegree`.
|
|
4310
4245
|
*/
|
|
4311
4246
|
static fromGraphRowNormalizedWithOptions(graph: CsrGraph, options: any): TsNetSolver;
|
|
4312
|
-
|
|
4313
|
-
|
|
4314
|
-
*/
|
|
4315
|
-
static fromGraphRowNormalized(graph: CsrGraph, w2_or_options: any, max_2hop_per_node: number | null | undefined, backend_or_options: any, stage_iterations: any, learning_rate: number | null | undefined, exaggeration: number | null | undefined, lambda_c_stage1: number | null | undefined, lambda_c_stage2: number | null | undefined, lambda_c_stage3: number | null | undefined, lambda_r_stage3: number | null | undefined, momentum: number | null | undefined, epsilon_r: number | null | undefined, theta: number | null | undefined, seed: number | null | undefined, intervals: number | null | undefined, interpolation_order: any, min_grid_dim?: number | null, max_grid_dim?: number | null, degree_beta?: number | null): TsNetSolver;
|
|
4316
|
-
/**
|
|
4317
|
-
* Constructs a `TsNetSolver` from a `KnnGraph` and optional per-node `perplexities`.
|
|
4318
|
-
*/
|
|
4319
|
-
static fromKnn(knn: KnnGraph, perplexities: Float64Array | number[] | null | undefined, uniform_perplexity: number | null | undefined, backend_or_options: any, stage_iterations: any, learning_rate: number | null | undefined, exaggeration: number | null | undefined, lambda_c_stage1: number | null | undefined, lambda_c_stage2: number | null | undefined, lambda_c_stage3: number | null | undefined, lambda_r_stage3: number | null | undefined, momentum: number | null | undefined, epsilon_r: number | null | undefined, theta: number | null | undefined, power: number | null | undefined, sigma_iters: number | null | undefined, sigma_tolerance: number | null | undefined, row_normalize: boolean | null | undefined, seed: number | null | undefined, intervals: number | null | undefined, interpolation_order: any, min_grid_dim?: number | null, max_grid_dim?: number | null): TsNetSolver;
|
|
4247
|
+
static fromGraphRowNormalized(graph: CsrGraph, options: any): TsNetSolver;
|
|
4248
|
+
static fromKnn(knn: KnnGraph, options: any): TsNetSolver;
|
|
4320
4249
|
/**
|
|
4321
4250
|
* Constructs a `TsNetSolver` from precomputed symmetric `SparseProbabilities` and explicit `stages`.
|
|
4322
4251
|
*/
|
|
4323
4252
|
static fromProbabilitiesWithStages(probs: SparseProbabilities, stages: any, options: any): TsNetSolver;
|
|
4324
|
-
|
|
4325
|
-
* Constructs a `TsNetSolver` directly from precomputed symmetric `SparseProbabilities`.
|
|
4326
|
-
*/
|
|
4327
|
-
static fromProbabilities(probs: SparseProbabilities, backend_or_options: any, stage_iterations: any, learning_rate: number | null | undefined, exaggeration: number | null | undefined, lambda_c_stage1: number | null | undefined, lambda_c_stage2: number | null | undefined, lambda_c_stage3: number | null | undefined, lambda_r_stage3: number | null | undefined, momentum: number | null | undefined, epsilon_r: number | null | undefined, theta: number | null | undefined, seed: number | null | undefined, intervals: number | null | undefined, interpolation_order: any, min_grid_dim?: number | null, max_grid_dim?: number | null): TsNetSolver;
|
|
4328
|
-
/**
|
|
4329
|
-
* Returns telemetry counters from the most recent FFT field evaluation, or `undefined`.
|
|
4330
|
-
*/
|
|
4253
|
+
static fromProbabilities(probs: SparseProbabilities, options: any): TsNetSolver;
|
|
4331
4254
|
lastFftStats(): FitFieldStats | undefined;
|
|
4332
|
-
/**
|
|
4333
|
-
* Constructs a `TsNetSolver` using the Pure 1+2-Hop node-wise adaptive perplexity preset.
|
|
4334
|
-
*/
|
|
4335
4255
|
constructor(graph: CsrGraph, options: any);
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
*/
|
|
4339
|
-
static pure2Hop(graph: CsrGraph, backend_or_options: any, stage_iterations: any, learning_rate: number | null | undefined, perplexity_c: number | null | undefined, min_perplexity: number | null | undefined, max_perplexity: number | null | undefined, exaggeration: number | null | undefined, lambda_c_stage1: number | null | undefined, lambda_c_stage2: number | null | undefined, lambda_c_stage3: number | null | undefined, lambda_r_stage3: number | null | undefined, momentum: number | null | undefined, epsilon_r: number | null | undefined, theta: number | null | undefined, power: number | null | undefined, sigma_iters: number | null | undefined, sigma_tolerance: number | null | undefined, row_normalize: boolean | null | undefined, seed: number | null | undefined, intervals: number | null | undefined, interpolation_order: any, min_grid_dim?: number | null, max_grid_dim?: number | null): TsNetSolver;
|
|
4340
|
-
/**
|
|
4341
|
-
* Returns the stability-capped learning rate of the current stage.
|
|
4342
|
-
*/
|
|
4256
|
+
static pure2Hop(graph: CsrGraph, options: any): TsNetSolver;
|
|
4257
|
+
readonly backend: string;
|
|
4343
4258
|
readonly currentStageLr: number;
|
|
4344
|
-
/**
|
|
4345
|
-
* Returns `true` when the solver has converged or completed.
|
|
4346
|
-
*/
|
|
4347
4259
|
readonly isFinished: boolean;
|
|
4348
|
-
/**
|
|
4349
|
-
* Returns the number of iterations executed so far.
|
|
4350
|
-
*/
|
|
4351
4260
|
readonly iteration: number;
|
|
4352
|
-
/**
|
|
4353
|
-
* Returns the expected vertex count.
|
|
4354
|
-
*/
|
|
4355
4261
|
readonly numNodes: number;
|
|
4356
|
-
/**
|
|
4357
|
-
* Returns the resolved concrete backend string (`"exact"`, `"barnes_hut"`, `"fft"`, or `"linear_fft"`).
|
|
4358
|
-
*/
|
|
4359
4262
|
readonly resolvedBackend: string;
|
|
4360
|
-
/**
|
|
4361
|
-
* Returns the 2-hop sampling mode used by row-normalized constructors, or `undefined`.
|
|
4362
|
-
*/
|
|
4363
4263
|
readonly samplingMode: string | undefined;
|
|
4364
|
-
/**
|
|
4365
|
-
* Returns the active (or final) 0-based stage index.
|
|
4366
|
-
*/
|
|
4367
4264
|
readonly stageIndex: number;
|
|
4368
|
-
/**
|
|
4369
|
-
* Returns the solver lifecycle status string.
|
|
4370
|
-
*/
|
|
4371
4265
|
readonly status: string;
|
|
4372
|
-
|
|
4373
|
-
* Returns the cumulative number of `fft_2d` calls executed across all steps.
|
|
4374
|
-
*/
|
|
4266
|
+
readonly target: string;
|
|
4375
4267
|
readonly totalFft2dCalls: number;
|
|
4376
|
-
|
|
4377
|
-
* Returns the total scheduled iteration count across all stages.
|
|
4378
|
-
*/
|
|
4379
|
-
readonly totalIterations: number;
|
|
4268
|
+
readonly totalIterations: number | undefined;
|
|
4380
4269
|
}
|
|
4381
4270
|
|
|
4382
4271
|
/**
|
|
@@ -4386,9 +4275,9 @@ export class TsNetStage {
|
|
|
4386
4275
|
free(): void;
|
|
4387
4276
|
[Symbol.dispose](): void;
|
|
4388
4277
|
/**
|
|
4389
|
-
* Constructs a validated `TsNetStage`.
|
|
4278
|
+
* Constructs a validated `TsNetStage` from `(iterations, options?)` or `{ iterations, ... }`.
|
|
4390
4279
|
*/
|
|
4391
|
-
constructor(
|
|
4280
|
+
constructor(iterations_or_options: any, options: any);
|
|
4392
4281
|
readonly exaggeration: number;
|
|
4393
4282
|
readonly iterations: number;
|
|
4394
4283
|
readonly lambdaC: number;
|
|
@@ -4397,33 +4286,22 @@ export class TsNetStage {
|
|
|
4397
4286
|
}
|
|
4398
4287
|
|
|
4399
4288
|
/**
|
|
4400
|
-
*
|
|
4289
|
+
* 2D layout transform resolving exact duplicate and near-twin node overlaps (`f32`).
|
|
4401
4290
|
*/
|
|
4402
4291
|
export class TwinDeclutterer {
|
|
4403
4292
|
free(): void;
|
|
4404
4293
|
[Symbol.dispose](): void;
|
|
4405
4294
|
/**
|
|
4406
|
-
*
|
|
4407
|
-
*/
|
|
4408
|
-
constructor(options: any);
|
|
4409
|
-
/**
|
|
4410
|
-
* Executes up to `steps` twin-decluttering passes on `layout` in place.
|
|
4411
|
-
*/
|
|
4412
|
-
runSteps(layout: Layout2d, steps: number): string;
|
|
4413
|
-
/**
|
|
4414
|
-
* Runs twin-decluttering passes to completion on `layout` in place.
|
|
4295
|
+
* Applies twin-decluttering in place on `layout`.
|
|
4415
4296
|
*/
|
|
4416
|
-
|
|
4297
|
+
apply(layout: Layout2d): void;
|
|
4417
4298
|
/**
|
|
4418
|
-
*
|
|
4299
|
+
* Constructs a `TwinDeclutterer` validated against `options`.
|
|
4419
4300
|
*/
|
|
4420
|
-
|
|
4421
|
-
readonly isFinished: boolean;
|
|
4422
|
-
readonly iteration: number;
|
|
4301
|
+
constructor(options: any);
|
|
4423
4302
|
readonly lastClusterCount: number;
|
|
4424
4303
|
readonly lastMovedCount: number;
|
|
4425
|
-
readonly
|
|
4426
|
-
readonly totalIterations: number;
|
|
4304
|
+
readonly lastPassCount: number;
|
|
4427
4305
|
}
|
|
4428
4306
|
|
|
4429
4307
|
/**
|
|
@@ -4490,81 +4368,53 @@ export class TwoHopKnnResult {
|
|
|
4490
4368
|
export class YifanHuSolver {
|
|
4491
4369
|
free(): void;
|
|
4492
4370
|
[Symbol.dispose](): void;
|
|
4493
|
-
/**
|
|
4494
|
-
* Runs Yifan Hu multilevel optimization to completion on `Layout2d` in place.
|
|
4495
|
-
*/
|
|
4496
4371
|
_run2d(layout: Layout2d): string;
|
|
4497
|
-
|
|
4498
|
-
* Runs Yifan Hu multilevel optimization to completion on `LayoutNd` in place.
|
|
4499
|
-
*/
|
|
4372
|
+
_run3d(layout: Layout3d): string;
|
|
4500
4373
|
_runNd(layout: LayoutNd): string;
|
|
4501
|
-
/**
|
|
4502
|
-
* Executes up to `steps` Yifan Hu iterations on `Layout2d` in place.
|
|
4503
|
-
*/
|
|
4504
4374
|
_runSteps2d(layout: Layout2d, steps: number): string;
|
|
4505
|
-
|
|
4506
|
-
* Executes up to `steps` Yifan Hu iterations on `LayoutNd` in place.
|
|
4507
|
-
*/
|
|
4375
|
+
_runSteps3d(layout: Layout3d, steps: number): string;
|
|
4508
4376
|
_runStepsNd(layout: LayoutNd, steps: number): string;
|
|
4509
|
-
/**
|
|
4510
|
-
* Executes one Yifan Hu iteration on `Layout2d` in place.
|
|
4511
|
-
*/
|
|
4512
4377
|
_step2d(layout: Layout2d): string;
|
|
4513
|
-
|
|
4514
|
-
* Executes one Yifan Hu iteration on `LayoutNd` in place.
|
|
4515
|
-
*/
|
|
4378
|
+
_step3d(layout: Layout3d): string;
|
|
4516
4379
|
_stepNd(layout: LayoutNd): string;
|
|
4517
4380
|
/**
|
|
4518
4381
|
* Constructs a `YifanHuSolver` from `graph` and optional `YifanHuOptions`.
|
|
4519
4382
|
*/
|
|
4520
4383
|
constructor(graph: CsrGraph, options: any);
|
|
4521
|
-
|
|
4522
|
-
* Returns the currently active level index (`numLevels - 1` coarsest down to `0` finest).
|
|
4523
|
-
*/
|
|
4384
|
+
readonly backend: string;
|
|
4524
4385
|
readonly currentLevel: number;
|
|
4525
|
-
/**
|
|
4526
|
-
* Returns `true` when the solver has converged or completed.
|
|
4527
|
-
*/
|
|
4528
4386
|
readonly isFinished: boolean;
|
|
4529
|
-
/**
|
|
4530
|
-
* Returns the total iterations executed so far across all levels.
|
|
4531
|
-
*/
|
|
4532
4387
|
readonly iteration: number;
|
|
4533
|
-
/**
|
|
4534
|
-
* Returns the number of levels in the `EC + MIVS` coarsening hierarchy (`>= 1`).
|
|
4535
|
-
*/
|
|
4536
4388
|
readonly numLevels: number;
|
|
4537
|
-
/**
|
|
4538
|
-
* Returns the expected vertex count.
|
|
4539
|
-
*/
|
|
4540
4389
|
readonly numNodes: number;
|
|
4541
|
-
/**
|
|
4542
|
-
* Returns the solver lifecycle status string.
|
|
4543
|
-
*/
|
|
4544
4390
|
readonly status: string;
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
*/
|
|
4548
|
-
readonly totalIterations: number;
|
|
4391
|
+
readonly target: string;
|
|
4392
|
+
readonly totalIterations: number | undefined;
|
|
4549
4393
|
}
|
|
4550
4394
|
|
|
4551
4395
|
export function _calinskiHarabaszScore2d(layout: Layout2d, labels: any): number;
|
|
4552
4396
|
|
|
4397
|
+
export function _calinskiHarabaszScore3d(layout: Layout3d, labels: any): number;
|
|
4398
|
+
|
|
4553
4399
|
export function _calinskiHarabaszScoreManifold(layout: ManifoldLayout2d, labels: any): number;
|
|
4554
4400
|
|
|
4555
4401
|
export function _calinskiHarabaszScoreNd(layout: LayoutNd, labels: any): number;
|
|
4556
4402
|
|
|
4557
4403
|
export function _cqHac2d(layout: Layout2d, labels: any): PartitionAgreementResult;
|
|
4558
4404
|
|
|
4405
|
+
export function _cqHac3d(layout: Layout3d, labels: any): PartitionAgreementResult;
|
|
4406
|
+
|
|
4559
4407
|
export function _cqHacManifold(layout: ManifoldLayout2d, labels: any): PartitionAgreementResult;
|
|
4560
4408
|
|
|
4561
4409
|
export function _cqHacNd(layout: LayoutNd, labels: any): PartitionAgreementResult;
|
|
4562
4410
|
|
|
4563
|
-
export function _cqKmeans2d(layout: Layout2d, labels: any,
|
|
4411
|
+
export function _cqKmeans2d(layout: Layout2d, labels: any, options: any): PartitionAgreementResult;
|
|
4412
|
+
|
|
4413
|
+
export function _cqKmeans3d(layout: Layout3d, labels: any, options: any): PartitionAgreementResult;
|
|
4564
4414
|
|
|
4565
|
-
export function _cqKmeansManifold(layout: ManifoldLayout2d, labels: any,
|
|
4415
|
+
export function _cqKmeansManifold(layout: ManifoldLayout2d, labels: any, options: any): PartitionAgreementResult;
|
|
4566
4416
|
|
|
4567
|
-
export function _cqKmeansNd(layout: LayoutNd, labels: any,
|
|
4417
|
+
export function _cqKmeansNd(layout: LayoutNd, labels: any, options: any): PartitionAgreementResult;
|
|
4568
4418
|
|
|
4569
4419
|
/**
|
|
4570
4420
|
* Finds all crossing edge sub-segment pairs on the unit torus `[0, 1)^2` for `Layout2d`.
|
|
@@ -4572,12 +4422,14 @@ export function _cqKmeansNd(layout: LayoutNd, labels: any, n_init?: number | nul
|
|
|
4572
4422
|
export function _crossingEdgesTorus2d(graph: CsrGraph, layout: Layout2d): TorusCrossing[];
|
|
4573
4423
|
|
|
4574
4424
|
/**
|
|
4575
|
-
* Finds all crossing edge sub-segment pairs on the flat torus for `ManifoldLayout2d` (`
|
|
4425
|
+
* Finds all crossing edge sub-segment pairs on the flat torus for `ManifoldLayout2d` (`torus2d`).
|
|
4576
4426
|
*/
|
|
4577
4427
|
export function _crossingEdgesTorusManifold(graph: CsrGraph, layout: ManifoldLayout2d): TorusCrossing[];
|
|
4578
4428
|
|
|
4579
4429
|
export function _daviesBouldinScore2d(layout: Layout2d, labels: any): number;
|
|
4580
4430
|
|
|
4431
|
+
export function _daviesBouldinScore3d(layout: Layout3d, labels: any): number;
|
|
4432
|
+
|
|
4581
4433
|
export function _daviesBouldinScoreManifold(layout: ManifoldLayout2d, labels: any): number;
|
|
4582
4434
|
|
|
4583
4435
|
export function _daviesBouldinScoreNd(layout: LayoutNd, labels: any): number;
|
|
@@ -4587,27 +4439,35 @@ export function _daviesBouldinScoreNd(layout: LayoutNd, labels: any): number;
|
|
|
4587
4439
|
*/
|
|
4588
4440
|
export function _dggPreservation2d(graph: CsrGraph, layout: Layout2d): number;
|
|
4589
4441
|
|
|
4442
|
+
export function _dggPreservation3d(graph: CsrGraph, layout: Layout3d): number;
|
|
4443
|
+
|
|
4590
4444
|
export function _dggPreservationManifold(graph: CsrGraph, layout: ManifoldLayout2d): number;
|
|
4591
4445
|
|
|
4592
4446
|
export function _dggPreservationNd(graph: CsrGraph, layout: LayoutNd): number;
|
|
4593
4447
|
|
|
4594
4448
|
export function _distanceConsistency2d(layout: Layout2d, labels: any): number;
|
|
4595
4449
|
|
|
4450
|
+
export function _distanceConsistency3d(layout: Layout3d, labels: any): number;
|
|
4451
|
+
|
|
4596
4452
|
export function _distanceConsistencyManifold(layout: ManifoldLayout2d, labels: any): number;
|
|
4597
4453
|
|
|
4598
4454
|
export function _distanceConsistencyNd(layout: LayoutNd, labels: any): number;
|
|
4599
4455
|
|
|
4600
|
-
export function _distributionConsistency2d(layout: Layout2d, labels: any,
|
|
4456
|
+
export function _distributionConsistency2d(layout: Layout2d, labels: any, options: any): number;
|
|
4457
|
+
|
|
4458
|
+
export function _distributionConsistency3d(layout: Layout3d, labels: any, options: any): number;
|
|
4601
4459
|
|
|
4602
|
-
export function _distributionConsistencyManifold(layout: ManifoldLayout2d, labels: any,
|
|
4460
|
+
export function _distributionConsistencyManifold(layout: ManifoldLayout2d, labels: any, options: any): number;
|
|
4603
4461
|
|
|
4604
|
-
export function _distributionConsistencyNd(layout: LayoutNd, labels: any,
|
|
4462
|
+
export function _distributionConsistencyNd(layout: LayoutNd, labels: any, options: any): number;
|
|
4605
4463
|
|
|
4606
4464
|
/**
|
|
4607
4465
|
* Computes Eades et al. (2017) unweighted shape-based Relative Neighborhood Graph preservation (`S_RNG`).
|
|
4608
4466
|
*/
|
|
4609
4467
|
export function _drngPreservation2d(graph: CsrGraph, layout: Layout2d): number;
|
|
4610
4468
|
|
|
4469
|
+
export function _drngPreservation3d(graph: CsrGraph, layout: Layout3d): number;
|
|
4470
|
+
|
|
4611
4471
|
export function _drngPreservationManifold(graph: CsrGraph, layout: ManifoldLayout2d): number;
|
|
4612
4472
|
|
|
4613
4473
|
export function _drngPreservationNd(graph: CsrGraph, layout: LayoutNd): number;
|
|
@@ -4615,28 +4475,35 @@ export function _drngPreservationNd(graph: CsrGraph, layout: LayoutNd): number;
|
|
|
4615
4475
|
/**
|
|
4616
4476
|
* Selectively evaluates quality metrics on `Layout2d` without an `originalLayout`.
|
|
4617
4477
|
*/
|
|
4618
|
-
export function _evaluateMetrics2d(graph: CsrGraph, layout: Layout2d, targets: any,
|
|
4478
|
+
export function _evaluateMetrics2d(graph: CsrGraph, layout: Layout2d, targets: any, options: any): MetricReport;
|
|
4619
4479
|
|
|
4620
4480
|
/**
|
|
4621
4481
|
* Selectively evaluates quality metrics on `Layout2d` with a reference `originalLayout`.
|
|
4622
4482
|
*/
|
|
4623
|
-
export function _evaluateMetrics2dWithOriginal(graph: CsrGraph, layout: Layout2d, targets: any,
|
|
4483
|
+
export function _evaluateMetrics2dWithOriginal(graph: CsrGraph, layout: Layout2d, targets: any, options: any, original_layout: Layout2d): MetricReport;
|
|
4484
|
+
|
|
4485
|
+
/**
|
|
4486
|
+
* Selectively evaluates quality metrics on `Layout3d`, skipping unrequested work.
|
|
4487
|
+
*/
|
|
4488
|
+
export function _evaluateMetrics3d(graph: CsrGraph, layout: Layout3d, targets: any, options: any): MetricReport;
|
|
4624
4489
|
|
|
4625
4490
|
/**
|
|
4626
4491
|
* Selectively evaluates quality metrics on `ManifoldLayout2d`, skipping unrequested work.
|
|
4627
4492
|
*/
|
|
4628
|
-
export function _evaluateMetricsManifold(graph: CsrGraph, layout: ManifoldLayout2d, targets: any,
|
|
4493
|
+
export function _evaluateMetricsManifold(graph: CsrGraph, layout: ManifoldLayout2d, targets: any, options: any): MetricReport;
|
|
4629
4494
|
|
|
4630
4495
|
/**
|
|
4631
4496
|
* Selectively evaluates quality metrics on `LayoutNd`, skipping unrequested work.
|
|
4632
4497
|
*/
|
|
4633
|
-
export function _evaluateMetricsNd(graph: CsrGraph, layout: LayoutNd, targets: any,
|
|
4498
|
+
export function _evaluateMetricsNd(graph: CsrGraph, layout: LayoutNd, targets: any, options: any): MetricReport;
|
|
4634
4499
|
|
|
4635
4500
|
/**
|
|
4636
4501
|
* Extracts exact undirected Gabriel Graph (`GG`) edges as flat `[u0, v0, ...]` (`Uint32Array`).
|
|
4637
4502
|
*/
|
|
4638
4503
|
export function _gabrielGraphEdges2d(layout: Layout2d): Uint32Array;
|
|
4639
4504
|
|
|
4505
|
+
export function _gabrielGraphEdges3d(layout: Layout3d): Uint32Array;
|
|
4506
|
+
|
|
4640
4507
|
export function _gabrielGraphEdgesManifold(layout: ManifoldLayout2d): Uint32Array;
|
|
4641
4508
|
|
|
4642
4509
|
export function _gabrielGraphEdgesNd(layout: LayoutNd): Uint32Array;
|
|
@@ -4646,6 +4513,8 @@ export function _gabrielGraphEdgesNd(layout: LayoutNd): Uint32Array;
|
|
|
4646
4513
|
*/
|
|
4647
4514
|
export function _gabrielGraphProperty2d(graph: CsrGraph, layout: Layout2d): number;
|
|
4648
4515
|
|
|
4516
|
+
export function _gabrielGraphProperty3d(graph: CsrGraph, layout: Layout3d): number;
|
|
4517
|
+
|
|
4649
4518
|
export function _gabrielGraphPropertyManifold(graph: CsrGraph, layout: ManifoldLayout2d): number;
|
|
4650
4519
|
|
|
4651
4520
|
export function _gabrielGraphPropertyNd(graph: CsrGraph, layout: LayoutNd): number;
|
|
@@ -4655,6 +4524,8 @@ export function _gabrielGraphPropertyNd(graph: CsrGraph, layout: LayoutNd): numb
|
|
|
4655
4524
|
*/
|
|
4656
4525
|
export function _idealEdgeLengths2d(graph: CsrGraph, layout: Layout2d): number;
|
|
4657
4526
|
|
|
4527
|
+
export function _idealEdgeLengths3d(graph: CsrGraph, layout: Layout3d): number;
|
|
4528
|
+
|
|
4658
4529
|
export function _idealEdgeLengthsManifold(graph: CsrGraph, layout: ManifoldLayout2d): number;
|
|
4659
4530
|
|
|
4660
4531
|
export function _idealEdgeLengthsNd(graph: CsrGraph, layout: LayoutNd): number;
|
|
@@ -4664,48 +4535,62 @@ export function _idealEdgeLengthsNd(graph: CsrGraph, layout: LayoutNd): number;
|
|
|
4664
4535
|
*/
|
|
4665
4536
|
export function _idealEdgeLengthsWithUnit2d(graph: CsrGraph, layout: Layout2d, unit_edge_length: number): number;
|
|
4666
4537
|
|
|
4538
|
+
export function _idealEdgeLengthsWithUnit3d(graph: CsrGraph, layout: Layout3d, unit_edge_length: number): number;
|
|
4539
|
+
|
|
4667
4540
|
export function _idealEdgeLengthsWithUnitManifold(graph: CsrGraph, layout: ManifoldLayout2d, unit_edge_length: number): number;
|
|
4668
4541
|
|
|
4669
4542
|
export function _idealEdgeLengthsWithUnitNd(graph: CsrGraph, layout: LayoutNd, unit_edge_length: number): number;
|
|
4670
4543
|
|
|
4671
|
-
export function _landmarkStratifiedRta2d(graph: CsrGraph, layout: Layout2d,
|
|
4544
|
+
export function _landmarkStratifiedRta2d(graph: CsrGraph, layout: Layout2d, options: any): number;
|
|
4545
|
+
|
|
4546
|
+
export function _landmarkStratifiedRta3d(graph: CsrGraph, layout: Layout3d, options: any): number;
|
|
4547
|
+
|
|
4548
|
+
export function _landmarkStratifiedRtaDetail2d(graph: CsrGraph, layout: Layout2d, options: any): RtaEvaluation;
|
|
4672
4549
|
|
|
4673
|
-
export function
|
|
4550
|
+
export function _landmarkStratifiedRtaDetail3d(graph: CsrGraph, layout: Layout3d, options: any): RtaEvaluation;
|
|
4674
4551
|
|
|
4675
|
-
export function _landmarkStratifiedRtaDetailManifold(graph: CsrGraph, layout: ManifoldLayout2d,
|
|
4552
|
+
export function _landmarkStratifiedRtaDetailManifold(graph: CsrGraph, layout: ManifoldLayout2d, options: any): RtaEvaluation;
|
|
4676
4553
|
|
|
4677
|
-
export function _landmarkStratifiedRtaDetailNd(graph: CsrGraph, layout: LayoutNd,
|
|
4554
|
+
export function _landmarkStratifiedRtaDetailNd(graph: CsrGraph, layout: LayoutNd, options: any): RtaEvaluation;
|
|
4678
4555
|
|
|
4679
|
-
export function _landmarkStratifiedRtaFromLandmarks2d(layout: Layout2d, landmark_ids: any, landmark_dists: any,
|
|
4556
|
+
export function _landmarkStratifiedRtaFromLandmarks2d(layout: Layout2d, landmark_ids: any, landmark_dists: any, options: any): RtaEvaluation;
|
|
4680
4557
|
|
|
4681
|
-
export function
|
|
4558
|
+
export function _landmarkStratifiedRtaFromLandmarks3d(layout: Layout3d, landmark_ids: any, landmark_dists: any, options: any): RtaEvaluation;
|
|
4682
4559
|
|
|
4683
|
-
export function
|
|
4560
|
+
export function _landmarkStratifiedRtaFromLandmarksManifold(layout: ManifoldLayout2d, landmark_ids: any, landmark_dists: any, options: any): RtaEvaluation;
|
|
4684
4561
|
|
|
4685
|
-
export function
|
|
4562
|
+
export function _landmarkStratifiedRtaFromLandmarksNd(layout: LayoutNd, landmark_ids: any, landmark_dists: any, options: any): RtaEvaluation;
|
|
4686
4563
|
|
|
4687
|
-
export function
|
|
4564
|
+
export function _landmarkStratifiedRtaManifold(graph: CsrGraph, layout: ManifoldLayout2d, options: any): number;
|
|
4565
|
+
|
|
4566
|
+
export function _landmarkStratifiedRtaNd(graph: CsrGraph, layout: LayoutNd, options: any): number;
|
|
4688
4567
|
|
|
4689
4568
|
/**
|
|
4690
4569
|
* Evaluates duplicate-node (`f32`/`f64`), zero-length edge, and bounding-box degeneracies.
|
|
4691
4570
|
*/
|
|
4692
4571
|
export function _layoutDegeneracy2d(graph: CsrGraph, layout: Layout2d): LayoutDegeneracy;
|
|
4693
4572
|
|
|
4573
|
+
export function _layoutDegeneracy3d(graph: CsrGraph, layout: Layout3d): LayoutDegeneracy;
|
|
4574
|
+
|
|
4694
4575
|
export function _layoutDegeneracyManifold(graph: CsrGraph, layout: ManifoldLayout2d): LayoutDegeneracy;
|
|
4695
4576
|
|
|
4696
4577
|
export function _layoutDegeneracyNd(graph: CsrGraph, layout: LayoutNd): LayoutDegeneracy;
|
|
4697
4578
|
|
|
4698
|
-
export function _neighborhoodHit2d(layout: Layout2d, labels: any,
|
|
4579
|
+
export function _neighborhoodHit2d(layout: Layout2d, labels: any, options: any): number;
|
|
4699
4580
|
|
|
4700
|
-
export function
|
|
4581
|
+
export function _neighborhoodHit3d(layout: Layout3d, labels: any, options: any): number;
|
|
4701
4582
|
|
|
4702
|
-
export function
|
|
4583
|
+
export function _neighborhoodHitManifold(layout: ManifoldLayout2d, labels: any, options: any): number;
|
|
4584
|
+
|
|
4585
|
+
export function _neighborhoodHitNd(layout: LayoutNd, labels: any, options: any): number;
|
|
4703
4586
|
|
|
4704
4587
|
/**
|
|
4705
4588
|
* Computes `StaticKdTree`-accelerated 1-hop neighborhood preservation (`NP1`) in `[0.0, 1.0]`.
|
|
4706
4589
|
*/
|
|
4707
4590
|
export function _neighborhoodPreservation1Hop2d(graph: CsrGraph, layout: Layout2d): number;
|
|
4708
4591
|
|
|
4592
|
+
export function _neighborhoodPreservation1Hop3d(graph: CsrGraph, layout: Layout3d): number;
|
|
4593
|
+
|
|
4709
4594
|
export function _neighborhoodPreservation1HopManifold(graph: CsrGraph, layout: ManifoldLayout2d): number;
|
|
4710
4595
|
|
|
4711
4596
|
export function _neighborhoodPreservation1HopNd(graph: CsrGraph, layout: LayoutNd): number;
|
|
@@ -4715,6 +4600,8 @@ export function _neighborhoodPreservation1HopNd(graph: CsrGraph, layout: LayoutN
|
|
|
4715
4600
|
*/
|
|
4716
4601
|
export function _neighborhoodPreservation2Hop2d(graph: CsrGraph, layout: Layout2d): number;
|
|
4717
4602
|
|
|
4603
|
+
export function _neighborhoodPreservation2Hop3d(graph: CsrGraph, layout: Layout3d): number;
|
|
4604
|
+
|
|
4718
4605
|
export function _neighborhoodPreservation2HopManifold(graph: CsrGraph, layout: ManifoldLayout2d): number;
|
|
4719
4606
|
|
|
4720
4607
|
export function _neighborhoodPreservation2HopNd(graph: CsrGraph, layout: LayoutNd): number;
|
|
@@ -4724,63 +4611,78 @@ export function _neighborhoodPreservation2HopNd(graph: CsrGraph, layout: LayoutN
|
|
|
4724
4611
|
*/
|
|
4725
4612
|
export function _nodeResolution2d(layout: Layout2d): number;
|
|
4726
4613
|
|
|
4614
|
+
export function _nodeResolution3d(layout: Layout3d): number;
|
|
4615
|
+
|
|
4727
4616
|
export function _nodeResolutionManifold(layout: ManifoldLayout2d): number;
|
|
4728
4617
|
|
|
4729
4618
|
export function _nodeResolutionNd(layout: LayoutNd): number;
|
|
4730
4619
|
|
|
4731
|
-
export function _pairwiseDistanceOverlapError2d(layout: Layout2d, labels: any,
|
|
4620
|
+
export function _pairwiseDistanceOverlapError2d(layout: Layout2d, labels: any, options: any): number;
|
|
4732
4621
|
|
|
4733
|
-
export function
|
|
4622
|
+
export function _pairwiseDistanceOverlapError3d(layout: Layout3d, labels: any, options: any): number;
|
|
4734
4623
|
|
|
4735
|
-
export function
|
|
4624
|
+
export function _pairwiseDistanceOverlapErrorManifold(layout: ManifoldLayout2d, labels: any, options: any): number;
|
|
4625
|
+
|
|
4626
|
+
export function _pairwiseDistanceOverlapErrorNd(layout: LayoutNd, labels: any, options: any): number;
|
|
4736
4627
|
|
|
4737
4628
|
/**
|
|
4738
4629
|
* Extracts exact undirected Relative Neighborhood Graph (`RNG`) edges as flat `[u0, v0, ...]` (`Uint32Array`).
|
|
4739
4630
|
*/
|
|
4740
4631
|
export function _relativeNeighborhoodEdges2d(layout: Layout2d): Uint32Array;
|
|
4741
4632
|
|
|
4633
|
+
export function _relativeNeighborhoodEdges3d(layout: Layout3d): Uint32Array;
|
|
4634
|
+
|
|
4742
4635
|
export function _relativeNeighborhoodEdgesManifold(layout: ManifoldLayout2d): Uint32Array;
|
|
4743
4636
|
|
|
4744
4637
|
export function _relativeNeighborhoodEdgesNd(layout: LayoutNd): Uint32Array;
|
|
4745
4638
|
|
|
4746
4639
|
/**
|
|
4747
|
-
* Estimates 1-hop neighborhood preservation (`NP1`) via vertex sampling (`numSamples
|
|
4640
|
+
* Estimates 1-hop neighborhood preservation (`NP1`) via vertex sampling (`options?: { numSamples?, seed? }`).
|
|
4748
4641
|
*/
|
|
4749
|
-
export function _sampledNp12d(graph: CsrGraph, layout: Layout2d,
|
|
4642
|
+
export function _sampledNp12d(graph: CsrGraph, layout: Layout2d, options: any): number;
|
|
4750
4643
|
|
|
4751
|
-
export function
|
|
4644
|
+
export function _sampledNp13d(graph: CsrGraph, layout: Layout3d, options: any): number;
|
|
4752
4645
|
|
|
4753
|
-
export function
|
|
4646
|
+
export function _sampledNp1Manifold(graph: CsrGraph, layout: ManifoldLayout2d, options: any): number;
|
|
4647
|
+
|
|
4648
|
+
export function _sampledNp1Nd(graph: CsrGraph, layout: LayoutNd, options: any): number;
|
|
4754
4649
|
|
|
4755
4650
|
/**
|
|
4756
|
-
* Estimates 2-hop neighborhood preservation (`NP2`) via vertex sampling (`numSamples
|
|
4651
|
+
* Estimates 2-hop neighborhood preservation (`NP2`) via vertex sampling (`options?: { numSamples?, seed? }`).
|
|
4757
4652
|
*/
|
|
4758
|
-
export function _sampledNp22d(graph: CsrGraph, layout: Layout2d,
|
|
4653
|
+
export function _sampledNp22d(graph: CsrGraph, layout: Layout2d, options: any): number;
|
|
4654
|
+
|
|
4655
|
+
export function _sampledNp23d(graph: CsrGraph, layout: Layout3d, options: any): number;
|
|
4759
4656
|
|
|
4760
|
-
export function _sampledNp2Manifold(graph: CsrGraph, layout: ManifoldLayout2d,
|
|
4657
|
+
export function _sampledNp2Manifold(graph: CsrGraph, layout: ManifoldLayout2d, options: any): number;
|
|
4761
4658
|
|
|
4762
|
-
export function _sampledNp2Nd(graph: CsrGraph, layout: LayoutNd,
|
|
4659
|
+
export function _sampledNp2Nd(graph: CsrGraph, layout: LayoutNd, options: any): number;
|
|
4763
4660
|
|
|
4764
4661
|
/**
|
|
4765
|
-
* Computes $O(kN)$ pivot-sampled Scale-Normalized Stress (`SNS`)
|
|
4766
|
-
* deterministic BFS sources with optional safe-integer `seed` (default `42`).
|
|
4662
|
+
* Computes $O(kN)$ pivot-sampled Scale-Normalized Stress (`SNS`) (`options?: { numPivots?, seed? }`).
|
|
4767
4663
|
*/
|
|
4768
|
-
export function _sampledScaleNormalizedStress2d(graph: CsrGraph, layout: Layout2d,
|
|
4664
|
+
export function _sampledScaleNormalizedStress2d(graph: CsrGraph, layout: Layout2d, options: any): number;
|
|
4769
4665
|
|
|
4770
|
-
export function
|
|
4666
|
+
export function _sampledScaleNormalizedStress3d(graph: CsrGraph, layout: Layout3d, options: any): number;
|
|
4771
4667
|
|
|
4772
|
-
export function
|
|
4668
|
+
export function _sampledScaleNormalizedStressManifold(graph: CsrGraph, layout: ManifoldLayout2d, options: any): number;
|
|
4669
|
+
|
|
4670
|
+
export function _sampledScaleNormalizedStressNd(graph: CsrGraph, layout: LayoutNd, options: any): number;
|
|
4773
4671
|
|
|
4774
4672
|
/**
|
|
4775
4673
|
* Computes closed-form Scale-Normalized Stress (`SNS`) in `[0.0, 1.0]` for `graph` and `layout`.
|
|
4776
4674
|
*/
|
|
4777
4675
|
export function _scaleNormalizedStress2d(graph: CsrGraph, layout: Layout2d): number;
|
|
4778
4676
|
|
|
4677
|
+
export function _scaleNormalizedStress3d(graph: CsrGraph, layout: Layout3d): number;
|
|
4678
|
+
|
|
4779
4679
|
/**
|
|
4780
4680
|
* Computes detailed closed-form Scale-Normalized Stress (`SNS`) diagnostics for `graph` and `layout`.
|
|
4781
4681
|
*/
|
|
4782
4682
|
export function _scaleNormalizedStressDetail2d(graph: CsrGraph, layout: Layout2d): StressEvaluation;
|
|
4783
4683
|
|
|
4684
|
+
export function _scaleNormalizedStressDetail3d(graph: CsrGraph, layout: Layout3d): StressEvaluation;
|
|
4685
|
+
|
|
4784
4686
|
export function _scaleNormalizedStressDetailManifold(graph: CsrGraph, layout: ManifoldLayout2d): StressEvaluation;
|
|
4785
4687
|
|
|
4786
4688
|
export function _scaleNormalizedStressDetailNd(graph: CsrGraph, layout: LayoutNd): StressEvaluation;
|
|
@@ -4791,6 +4693,8 @@ export function _scaleNormalizedStressDetailNd(graph: CsrGraph, layout: LayoutNd
|
|
|
4791
4693
|
*/
|
|
4792
4694
|
export function _scaleNormalizedStressFromDistances2d(layout: Layout2d, distances: Float64Array | number[], weights?: Float64Array | number[] | null): number;
|
|
4793
4695
|
|
|
4696
|
+
export function _scaleNormalizedStressFromDistances3d(layout: Layout3d, distances: Float64Array | number[], weights?: Float64Array | number[] | null): number;
|
|
4697
|
+
|
|
4794
4698
|
export function _scaleNormalizedStressFromDistancesManifold(layout: ManifoldLayout2d, distances: Float64Array | number[], weights?: Float64Array | number[] | null): number;
|
|
4795
4699
|
|
|
4796
4700
|
export function _scaleNormalizedStressFromDistancesNd(layout: LayoutNd, distances: Float64Array | number[], weights?: Float64Array | number[] | null): number;
|
|
@@ -4801,30 +4705,40 @@ export function _scaleNormalizedStressNd(graph: CsrGraph, layout: LayoutNd): num
|
|
|
4801
4705
|
|
|
4802
4706
|
export function _sepmeGab2d(layout: Layout2d, labels: any): number;
|
|
4803
4707
|
|
|
4708
|
+
export function _sepmeGab3d(layout: Layout3d, labels: any): number;
|
|
4709
|
+
|
|
4804
4710
|
export function _sepmeGabManifold(layout: ManifoldLayout2d, labels: any): number;
|
|
4805
4711
|
|
|
4806
4712
|
export function _sepmeGabNd(layout: LayoutNd, labels: any): number;
|
|
4807
4713
|
|
|
4808
|
-
export function _sepmeGong2d(layout: Layout2d, labels: any,
|
|
4714
|
+
export function _sepmeGong2d(layout: Layout2d, labels: any, options: any): number;
|
|
4715
|
+
|
|
4716
|
+
export function _sepmeGong3d(layout: Layout3d, labels: any, options: any): number;
|
|
4809
4717
|
|
|
4810
|
-
export function _sepmeGongManifold(layout: ManifoldLayout2d, labels: any,
|
|
4718
|
+
export function _sepmeGongManifold(layout: ManifoldLayout2d, labels: any, options: any): number;
|
|
4811
4719
|
|
|
4812
|
-
export function _sepmeGongNd(layout: LayoutNd, labels: any,
|
|
4720
|
+
export function _sepmeGongNd(layout: LayoutNd, labels: any, options: any): number;
|
|
4813
4721
|
|
|
4814
|
-
export function _sepmeKnng2d(layout: Layout2d, labels: any,
|
|
4722
|
+
export function _sepmeKnng2d(layout: Layout2d, labels: any, options: any): number;
|
|
4815
4723
|
|
|
4816
|
-
export function
|
|
4724
|
+
export function _sepmeKnng3d(layout: Layout3d, labels: any, options: any): number;
|
|
4817
4725
|
|
|
4818
|
-
export function
|
|
4726
|
+
export function _sepmeKnngManifold(layout: ManifoldLayout2d, labels: any, options: any): number;
|
|
4727
|
+
|
|
4728
|
+
export function _sepmeKnngNd(layout: LayoutNd, labels: any, options: any): number;
|
|
4819
4729
|
|
|
4820
4730
|
export function _sepmeRng2d(layout: Layout2d, labels: any): number;
|
|
4821
4731
|
|
|
4732
|
+
export function _sepmeRng3d(layout: Layout3d, labels: any): number;
|
|
4733
|
+
|
|
4822
4734
|
export function _sepmeRngManifold(layout: ManifoldLayout2d, labels: any): number;
|
|
4823
4735
|
|
|
4824
4736
|
export function _sepmeRngNd(layout: LayoutNd, labels: any): number;
|
|
4825
4737
|
|
|
4826
4738
|
export function _silhouetteScore2d(layout: Layout2d, labels: any): number;
|
|
4827
4739
|
|
|
4740
|
+
export function _silhouetteScore3d(layout: Layout3d, labels: any): number;
|
|
4741
|
+
|
|
4828
4742
|
export function _silhouetteScoreManifold(layout: ManifoldLayout2d, labels: any): number;
|
|
4829
4743
|
|
|
4830
4744
|
export function _silhouetteScoreNd(layout: LayoutNd, labels: any): number;
|
|
@@ -4835,7 +4749,7 @@ export function _silhouetteScoreNd(layout: LayoutNd, labels: any): number;
|
|
|
4835
4749
|
export function _torusCrossingNumber2d(graph: CsrGraph, layout: Layout2d): number;
|
|
4836
4750
|
|
|
4837
4751
|
/**
|
|
4838
|
-
* Counts non-adjacent edge sub-segment crossings on the flat torus for `ManifoldLayout2d` (`
|
|
4752
|
+
* Counts non-adjacent edge sub-segment crossings on the flat torus for `ManifoldLayout2d` (`torus2d`).
|
|
4839
4753
|
*/
|
|
4840
4754
|
export function _torusCrossingNumberManifold(graph: CsrGraph, layout: ManifoldLayout2d): number;
|
|
4841
4755
|
|
|
@@ -4861,24 +4775,30 @@ export function adaptiveChebyshevDegreeScaled(t: number, lambda_max?: number | n
|
|
|
4861
4775
|
|
|
4862
4776
|
/**
|
|
4863
4777
|
* Computes Adjusted Patch Normalized Information Gain (`Adjusted Patch-NIG`).
|
|
4778
|
+
*
|
|
4779
|
+
* `options?: { patchRadius?, canvasSize?, padFrac?, seed? }`.
|
|
4864
4780
|
*/
|
|
4865
|
-
export function adjustedPatchNig(layout: Layout2d, labels: any,
|
|
4781
|
+
export function adjustedPatchNig(layout: Layout2d, labels: any, options: any): number;
|
|
4866
4782
|
|
|
4867
4783
|
/**
|
|
4868
4784
|
* Computes single-scale Adjusted Patch-NIG with patch occupancy diagnostics (`AdjustedPatchNigDetail`).
|
|
4785
|
+
*
|
|
4786
|
+
* `options?: { patchRadius?, canvasSize?, padFrac?, seed? }`.
|
|
4869
4787
|
*/
|
|
4870
|
-
export function adjustedPatchNigDetail(layout: Layout2d, labels: any,
|
|
4788
|
+
export function adjustedPatchNigDetail(layout: Layout2d, labels: any, options: any): AdjustedPatchNigDetail;
|
|
4871
4789
|
|
|
4872
4790
|
/**
|
|
4873
|
-
* Computes multi-scale Adjusted Patch-NIG across `radii` (default `[2, 8, 32]`).
|
|
4791
|
+
* Computes multi-scale Adjusted Patch-NIG across `options.radii` (default `[2, 8, 32]`).
|
|
4792
|
+
*
|
|
4793
|
+
* `options?: { radii?, canvasSize?, padFrac?, seed? }`.
|
|
4874
4794
|
*/
|
|
4875
|
-
export function adjustedPatchNigMultiscale(layout: Layout2d, labels: any,
|
|
4795
|
+
export function adjustedPatchNigMultiscale(layout: Layout2d, labels: any, options: any): Float64Array;
|
|
4876
4796
|
|
|
4877
4797
|
/**
|
|
4878
4798
|
* Aligns fine-level cluster centroids toward `coarseLayout` via rigid per-cluster translation
|
|
4879
4799
|
* in place without rigid disk containment.
|
|
4880
4800
|
*/
|
|
4881
|
-
export function alignClusteredCentroids(fine_layout: Layout2d, coarse_layout: Layout2d, node_to_coarse: Uint32Array | number[],
|
|
4801
|
+
export function alignClusteredCentroids(fine_layout: Layout2d, coarse_layout: Layout2d, node_to_coarse: Uint32Array | number[], options: any): void;
|
|
4882
4802
|
|
|
4883
4803
|
/**
|
|
4884
4804
|
* Computes an all-pairs shortest-path flat row-major `N * N` distance matrix via BFS.
|
|
@@ -4898,13 +4818,13 @@ export function angularResolution(graph: CsrGraph, layout: Layout2d): number;
|
|
|
4898
4818
|
/**
|
|
4899
4819
|
* Constructs a symmetric PSD Coifman-Lafon anisotropic graph Laplacian `L_aniso`.
|
|
4900
4820
|
*/
|
|
4901
|
-
export function anisotropicLaplacian(graph: CsrGraph,
|
|
4821
|
+
export function anisotropicLaplacian(graph: CsrGraph, options: any): AnisotropicLaplacianResult;
|
|
4902
4822
|
|
|
4903
4823
|
/**
|
|
4904
4824
|
* Clamps pair distances `d1`, `d2`, and `d3` in place using `max(epsDist, minRatio * median_pos)`,
|
|
4905
4825
|
* returning the applied distance floor.
|
|
4906
4826
|
*/
|
|
4907
|
-
export function applyRelativeDistanceFloor(d1: Float64Array, d2: Float64Array, d3: Float64Array,
|
|
4827
|
+
export function applyRelativeDistanceFloor(d1: Float64Array, d2: Float64Array, d3: Float64Array, options: any): number;
|
|
4908
4828
|
|
|
4909
4829
|
/**
|
|
4910
4830
|
* Computes the PCA aspect ratio $\sigma_2 / \sigma_1 \in [0.0, 1.0]$ of `layout`.
|
|
@@ -4914,7 +4834,7 @@ export function aspectRatio(layout: Layout2d): number;
|
|
|
4914
4834
|
/**
|
|
4915
4835
|
* Assigns hierarchical layers (`0, 1, ...`) to all vertices of a directed `CsrGraph`.
|
|
4916
4836
|
*/
|
|
4917
|
-
export function assignLayers(graph: CsrGraph, method
|
|
4837
|
+
export function assignLayers(graph: CsrGraph, method: any): Uint32Array;
|
|
4918
4838
|
|
|
4919
4839
|
/**
|
|
4920
4840
|
* Runs single-source unweighted BFS from `source`, scaling each hop by `unitEdgeLength` (default `1.0`).
|
|
@@ -4924,23 +4844,23 @@ export function bfsSingleSource(graph: CsrGraph, source: number, unit_edge_lengt
|
|
|
4924
4844
|
/**
|
|
4925
4845
|
* Builds a hub-safe capped 1+2-hop CSR `KnnGraph` with `{1.0, 2.0}` distances and degree statistics.
|
|
4926
4846
|
*/
|
|
4927
|
-
export function buildCapped12hopKnn(graph: CsrGraph, max_2hop_per_node
|
|
4847
|
+
export function buildCapped12hopKnn(graph: CsrGraph, max_2hop_per_node: number | null | undefined, seed: any): TwoHopKnnResult;
|
|
4928
4848
|
|
|
4929
4849
|
/**
|
|
4930
4850
|
* Builds 2-term Difference-of-Gaussians filter terms `[[1 - betaFloor, t1], [-alpha * (1 - betaFloor), t2]]`.
|
|
4931
4851
|
*/
|
|
4932
|
-
export function buildDogTerms(t1: number, t2: number, alpha: number,
|
|
4852
|
+
export function buildDogTerms(t1: number, t2: number, alpha: number, options: any): Array<any>;
|
|
4933
4853
|
|
|
4934
4854
|
/**
|
|
4935
4855
|
* Builds a sorted symmetric CSR `KnnGraph` from 1-hop and 2-hop pair distances enforcing
|
|
4936
4856
|
* strict 1-hop priority ($d_1 < \mathrm{tier2Margin} \cdot d_2$ and $d_1 < d_2$).
|
|
4937
4857
|
*/
|
|
4938
|
-
export function buildGumap12hopPriorityCsr(num_nodes: number, u1: Uint32Array | number[], v1: Uint32Array | number[], d1: Float64Array | number[], u2: Uint32Array | number[], v2: Uint32Array | number[], d2: Float64Array | number[],
|
|
4858
|
+
export function buildGumap12hopPriorityCsr(num_nodes: number, u1: Uint32Array | number[], v1: Uint32Array | number[], d1: Float64Array | number[], u2: Uint32Array | number[], v2: Uint32Array | number[], d2: Float64Array | number[], options: any): KnnGraph;
|
|
4939
4859
|
|
|
4940
4860
|
/**
|
|
4941
4861
|
* Builds a hybrid 1+2-hop + two-step coarse `StaticKdTree` + full-$D$ reranked `KnnGraph`.
|
|
4942
4862
|
*/
|
|
4943
|
-
export function buildHybridAdaptiveKnn(graph: CsrGraph, coords: Float64Array | number[], dim: number, perplexities: Float64Array | number[],
|
|
4863
|
+
export function buildHybridAdaptiveKnn(graph: CsrGraph, coords: Float64Array | number[], dim: number, perplexities: Float64Array | number[], options: any): HybridKnnResult;
|
|
4944
4864
|
|
|
4945
4865
|
/**
|
|
4946
4866
|
* Builds a pure 1+2-hop CSR `KnnGraph` with `{1.0, 2.0}` distances and degree statistics.
|
|
@@ -4956,34 +4876,34 @@ export function buildRegularizedDogTerms(sigma_lambda: number, beta_floor?: numb
|
|
|
4956
4876
|
* Constructs a two-step coarse `StaticKdTree` + full-`dim` reranked `KnnGraph` from row-major
|
|
4957
4877
|
* `(numNodes, dim)` coordinates.
|
|
4958
4878
|
*/
|
|
4959
|
-
export function buildRerankKnn(coords: Float64Array | number[], num_nodes: number, dim: number, k: number,
|
|
4879
|
+
export function buildRerankKnn(coords: Float64Array | number[], num_nodes: number, dim: number, k: number, options: any): KnnGraph;
|
|
4960
4880
|
|
|
4961
4881
|
/**
|
|
4962
4882
|
* Computes a deterministic R1/R2 regularized DoG JL spectral embedding `(numNodes, jlDim)`.
|
|
4963
4883
|
*/
|
|
4964
|
-
export function chebyshevDogJlEmbedding(graph: CsrGraph,
|
|
4884
|
+
export function chebyshevDogJlEmbedding(graph: CsrGraph, options: any): Float64Array;
|
|
4965
4885
|
|
|
4966
4886
|
/**
|
|
4967
4887
|
* Computes a deterministic R1/R2 regularized DoG JL spectral embedding `(numNodes, jlDim)`
|
|
4968
4888
|
* on an arbitrary symmetric PSD `CsrMatrix` with dynamic `[0, lambdaMax]` scaling.
|
|
4969
4889
|
*/
|
|
4970
|
-
export function chebyshevDogJlEmbeddingMatrix(matrix: CsrMatrix,
|
|
4890
|
+
export function chebyshevDogJlEmbeddingMatrix(matrix: CsrMatrix, options: any): Float64Array;
|
|
4971
4891
|
|
|
4972
4892
|
/**
|
|
4973
4893
|
* Applies Chebyshev heat diffusion $\exp(-t L_{\mathrm{sym}})$ to a row-major `(numNodes, numCols)` buffer.
|
|
4974
4894
|
*/
|
|
4975
|
-
export function chebyshevHeatSpmv(graph: CsrGraph, vectors: Float64Array | number[], num_cols: number, t: number,
|
|
4895
|
+
export function chebyshevHeatSpmv(graph: CsrGraph, vectors: Float64Array | number[], num_cols: number, t: number, options: any): Float64Array;
|
|
4976
4896
|
|
|
4977
4897
|
/**
|
|
4978
4898
|
* Applies Chebyshev heat diffusion $\exp(-t A)$ to a row-major `(numNodes, numCols)` buffer
|
|
4979
4899
|
* for an arbitrary symmetric PSD `CsrMatrix` with dynamic `[0, lambdaMax]` scaling.
|
|
4980
4900
|
*/
|
|
4981
|
-
export function chebyshevHeatSpmvMatrix(matrix: CsrMatrix, vectors: Float64Array | number[], num_cols: number, t: number,
|
|
4901
|
+
export function chebyshevHeatSpmvMatrix(matrix: CsrMatrix, vectors: Float64Array | number[], num_cols: number, t: number, options: any): Float64Array;
|
|
4982
4902
|
|
|
4983
4903
|
/**
|
|
4984
4904
|
* Computes Class Density Measure (`CDM`) and 2D Histogram Density Measure (`2D-HDM`).
|
|
4985
4905
|
*/
|
|
4986
|
-
export function classDensityMeasure(layout: Layout2d, labels: any,
|
|
4906
|
+
export function classDensityMeasure(layout: Layout2d, labels: any, options: any): ClassDensityResult;
|
|
4987
4907
|
|
|
4988
4908
|
/**
|
|
4989
4909
|
* Computes a `dims`-dimensional Classical MDS `LayoutNd` (`f32`, default `dims = 2`).
|
|
@@ -5004,12 +4924,12 @@ export function classicalMdsFromDistances(distances_nn: Float64Array | number[],
|
|
|
5004
4924
|
/**
|
|
5005
4925
|
* Computes Grid-based Cluster Area Faithfulness (`G-CAF`) in `[0.0, 1.0]`.
|
|
5006
4926
|
*/
|
|
5007
|
-
export function clusterAreaFaithfulness(layout: Layout2d, labels: any,
|
|
4927
|
+
export function clusterAreaFaithfulness(layout: Layout2d, labels: any, options: any): number;
|
|
5008
4928
|
|
|
5009
4929
|
/**
|
|
5010
4930
|
* Computes Grid-based Cluster Area Faithfulness (`G-CAF`) with per-cluster diagnostics ([`ClusterAreaReport`]).
|
|
5011
4931
|
*/
|
|
5012
|
-
export function clusterAreaFaithfulnessDetail(layout: Layout2d, labels: any,
|
|
4932
|
+
export function clusterAreaFaithfulnessDetail(layout: Layout2d, labels: any, options: any): ClusterAreaReport;
|
|
5013
4933
|
|
|
5014
4934
|
/**
|
|
5015
4935
|
* Runs coarse Louvain edge-length-first area reservation and non-SPD backbone initialization.
|
|
@@ -5039,7 +4959,7 @@ export function computeChebyshevBandpassCoefficients(terms: any, lambda_max?: nu
|
|
|
5039
4959
|
/**
|
|
5040
4960
|
* Computes heat-diffusion spectral embedding $D^{-1/2} U \exp(-0.5 t \Lambda)$.
|
|
5041
4961
|
*/
|
|
5042
|
-
export function computeDiffusionEmbedding(graph: CsrGraph,
|
|
4962
|
+
export function computeDiffusionEmbedding(graph: CsrGraph, options: any): SpectralEmbeddingResult;
|
|
5043
4963
|
|
|
5044
4964
|
/**
|
|
5045
4965
|
* Computes effective edge resistances and Foster's theorem diagnostics via exact pseudoinverse
|
|
@@ -5060,17 +4980,17 @@ export function computeHorvitzThompsonGamma(gamma_non2: number, num_nodes: numbe
|
|
|
5060
4980
|
/**
|
|
5061
4981
|
* Computes sparse symmetric joint probabilities from a `KnnGraph` and per-node perplexities.
|
|
5062
4982
|
*/
|
|
5063
|
-
export function computeKnnProbabilities(knn: KnnGraph, perplexities: Float64Array | number[],
|
|
4983
|
+
export function computeKnnProbabilities(knn: KnnGraph, perplexities: Float64Array | number[], options: any): SparseProbabilities;
|
|
5064
4984
|
|
|
5065
4985
|
/**
|
|
5066
4986
|
* Computes scalar median 2-hop adaptive perplexity.
|
|
5067
4987
|
*/
|
|
5068
|
-
export function computeMedian2hopPerplexity(graph: CsrGraph,
|
|
4988
|
+
export function computeMedian2hopPerplexity(graph: CsrGraph, options: any): number;
|
|
5069
4989
|
|
|
5070
4990
|
/**
|
|
5071
4991
|
* Computes per-node 2-hop adaptive perplexities.
|
|
5072
4992
|
*/
|
|
5073
|
-
export function computeNodewise2hopPerplexities(graph: CsrGraph,
|
|
4993
|
+
export function computeNodewise2hopPerplexities(graph: CsrGraph, options: any): Float64Array;
|
|
5074
4994
|
|
|
5075
4995
|
/**
|
|
5076
4996
|
* Computes pure-Rust pivoted `RHGH` landmark tables via `AmgPcgSolver` + JL diagonal probes.
|
|
@@ -5085,18 +5005,18 @@ export function computePivotedRhghLandmarksResult(graph: CsrGraph, options: any)
|
|
|
5085
5005
|
/**
|
|
5086
5006
|
* Computes regularized DoG Varadhan landmark tables and optional coarse heat scaffold.
|
|
5087
5007
|
*/
|
|
5088
|
-
export function computeRegularizedDogVaradhanLandmarks(graph: CsrGraph,
|
|
5008
|
+
export function computeRegularizedDogVaradhanLandmarks(graph: CsrGraph, options: any): DogVaradhanLandmarks;
|
|
5089
5009
|
|
|
5090
5010
|
/**
|
|
5091
5011
|
* Computes regularized DoG Varadhan landmark tables from a custom symmetric PSD `CsrMatrix`
|
|
5092
5012
|
* with dynamic `[0, lambdaMax]` spectrum scaling.
|
|
5093
5013
|
*/
|
|
5094
|
-
export function computeRegularizedDogVaradhanLandmarksFromMatrix(graph: CsrGraph, matrix: CsrMatrix,
|
|
5014
|
+
export function computeRegularizedDogVaradhanLandmarksFromMatrix(graph: CsrGraph, matrix: CsrMatrix, options: any): DogVaradhanLandmarks;
|
|
5095
5015
|
|
|
5096
5016
|
/**
|
|
5097
5017
|
* Computes effective-resistance spectral embedding $D^{-1/2} U \Lambda^{-1/2}$.
|
|
5098
5018
|
*/
|
|
5099
|
-
export function computeResistanceEmbedding(graph: CsrGraph,
|
|
5019
|
+
export function computeResistanceEmbedding(graph: CsrGraph, options: any): SpectralEmbeddingResult;
|
|
5100
5020
|
|
|
5101
5021
|
/**
|
|
5102
5022
|
* Returns all non-adjacent crossing edge pairs in `graph` under `layout`.
|
|
@@ -5150,7 +5070,7 @@ export function declutterTwins2d(layout: Layout2d, options: any): number;
|
|
|
5150
5070
|
export function delaunayToCsr(layout: Layout2d): CsrGraph;
|
|
5151
5071
|
|
|
5152
5072
|
/**
|
|
5153
|
-
* Computes the deterministic 2D Delaunay triangulation of `layout
|
|
5073
|
+
* Computes the deterministic 2D Delaunay triangulation of `layout`.
|
|
5154
5074
|
*/
|
|
5155
5075
|
export function delaunayTriangulation(layout: Layout2d): DelaunayResult;
|
|
5156
5076
|
|
|
@@ -5178,12 +5098,12 @@ export function extractQuadrilateralBackbone(graph: CsrGraph, options: any): Bac
|
|
|
5178
5098
|
/**
|
|
5179
5099
|
* Extracts canonical undirected 1-hop and hub-safe capped 2-hop vertex pair arrays `Sparse12HopPairs`.
|
|
5180
5100
|
*/
|
|
5181
|
-
export function extractSparse1hop2hopPairs(graph: CsrGraph, max_2hop_per_node
|
|
5101
|
+
export function extractSparse1hop2hopPairs(graph: CsrGraph, max_2hop_per_node: number | null | undefined, seed: any): Sparse12HopPairs;
|
|
5182
5102
|
|
|
5183
5103
|
/**
|
|
5184
5104
|
* Extracts canonical 1-hop and 2-hop pairs using an explicit `TwoHopSamplingMode` and optional `maxBridgeDegree`.
|
|
5185
5105
|
*/
|
|
5186
|
-
export function extractSparse1hop2hopPairsWithMode(graph: CsrGraph,
|
|
5106
|
+
export function extractSparse1hop2hopPairsWithMode(graph: CsrGraph, options: any): Sparse12HopPairs;
|
|
5187
5107
|
|
|
5188
5108
|
/**
|
|
5189
5109
|
* Fits low-dimensional UMAP parameters `[a, b]` from `minDist` and `spread`.
|
|
@@ -5204,12 +5124,12 @@ export function generateLayeredConstraints(graph: CsrGraph, layers: Uint32Array
|
|
|
5204
5124
|
/**
|
|
5205
5125
|
* Generates a deterministic layered Directed Acyclic Graph (`CsrGraph`).
|
|
5206
5126
|
*/
|
|
5207
|
-
export function generateLayeredDag(num_layers: number, nodes_per_layer: number,
|
|
5127
|
+
export function generateLayeredDag(num_layers: number, nodes_per_layer: number, options: any): CsrGraph;
|
|
5208
5128
|
|
|
5209
5129
|
/**
|
|
5210
5130
|
* Generates a deterministic Stochastic Block Model graph returning `{ graph, labels }`.
|
|
5211
5131
|
*/
|
|
5212
|
-
export function generateSbmGraph(block_sizes: Uint32Array | number[],
|
|
5132
|
+
export function generateSbmGraph(block_sizes: Uint32Array | number[], options: any): any;
|
|
5213
5133
|
|
|
5214
5134
|
/**
|
|
5215
5135
|
* Generates a closed UV spherical grid mesh `CsrGraph` with poles and `latitudes x longitudes` rings.
|
|
@@ -5229,7 +5149,7 @@ export function generateTorusGrid(rows: number, cols: number, triangulated?: boo
|
|
|
5229
5149
|
/**
|
|
5230
5150
|
* Generates a deterministic undirected weighted `CsrGraph` with edge weights in `[minWeight, maxWeight]`.
|
|
5231
5151
|
*/
|
|
5232
|
-
export function generateWeightedGraph(num_nodes: number,
|
|
5152
|
+
export function generateWeightedGraph(num_nodes: number, options: any): CsrGraph;
|
|
5233
5153
|
|
|
5234
5154
|
/**
|
|
5235
5155
|
* Computes Miller et al. (2024) Eq. (2) Geodesic Distortion without post-hoc rescaling
|
|
@@ -5240,12 +5160,12 @@ export function geodesicDistortion(graph: CsrGraph, layout: ManifoldLayout2d): n
|
|
|
5240
5160
|
/**
|
|
5241
5161
|
* Computes row-normalized symmetrized 1+2-hop probabilities with optional capping and `(d_i d_j)^(-degreeBeta)` decay.
|
|
5242
5162
|
*/
|
|
5243
|
-
export function graph12hopRowNormalizedProbabilities(graph: CsrGraph,
|
|
5163
|
+
export function graph12hopRowNormalizedProbabilities(graph: CsrGraph, options: any): SparseProbabilities;
|
|
5244
5164
|
|
|
5245
5165
|
/**
|
|
5246
5166
|
* Computes row-normalized symmetrized 1+2-hop probabilities with explicit `TwoHopSamplingMode` and `maxBridgeDegree`.
|
|
5247
5167
|
*/
|
|
5248
|
-
export function graph12hopRowNormalizedProbabilitiesWithOptions(graph: CsrGraph,
|
|
5168
|
+
export function graph12hopRowNormalizedProbabilitiesWithOptions(graph: CsrGraph, options: any): SparseProbabilities;
|
|
5249
5169
|
|
|
5250
5170
|
/**
|
|
5251
5171
|
* Computes row-normalized symmetrized graph probabilities from a `CsrGraph`.
|
|
@@ -5270,25 +5190,22 @@ export function hyperbolicCrossingNumber(graph: CsrGraph, layout: ManifoldLayout
|
|
|
5270
5190
|
/**
|
|
5271
5191
|
* Clusters flat row-major `(numNodes, dims)` points with deterministic K-Means++.
|
|
5272
5192
|
*/
|
|
5273
|
-
export function kmeansPlusPlus(points: Float64Array | number[], num_nodes: number, dims: number,
|
|
5193
|
+
export function kmeansPlusPlus(points: Float64Array | number[], num_nodes: number, dims: number, options: any): KMeansResult;
|
|
5274
5194
|
|
|
5275
5195
|
/**
|
|
5276
5196
|
* Computes Koren's degree-normalized 2D spectral initialization `Layout2d` (`f32`).
|
|
5277
|
-
*
|
|
5278
|
-
* When `targetStd` is omitted or `undefined`, coordinates are normalized to `targetStd = 1.0`.
|
|
5279
|
-
* Pass `null` to disable isotropic standard-deviation normalization.
|
|
5280
5197
|
*/
|
|
5281
|
-
export function korenSpectralInit(graph: CsrGraph,
|
|
5198
|
+
export function korenSpectralInit(graph: CsrGraph, options: any): Layout2d;
|
|
5282
5199
|
|
|
5283
5200
|
/**
|
|
5284
5201
|
* Detects communities on an undirected `CsrGraph` via asynchronous Label Propagation.
|
|
5285
5202
|
*/
|
|
5286
|
-
export function labelPropagation(graph: CsrGraph, max_iterations
|
|
5203
|
+
export function labelPropagation(graph: CsrGraph, max_iterations: number | null | undefined, seed: any): LabelPropagationResult;
|
|
5287
5204
|
|
|
5288
5205
|
/**
|
|
5289
5206
|
* Builds a `CsrMatrix` graph Laplacian of the requested `kind` (default `"symmetricNormalized"`).
|
|
5290
5207
|
*/
|
|
5291
|
-
export function laplacian(graph: CsrGraph, kind
|
|
5208
|
+
export function laplacian(graph: CsrGraph, kind: any): CsrMatrix;
|
|
5292
5209
|
|
|
5293
5210
|
/**
|
|
5294
5211
|
* Detects communities on an undirected `CsrGraph` via the Leiden algorithm (`Modularity` or `CPM`).
|
|
@@ -5333,7 +5250,7 @@ export function louvainCoarsen(graph: CsrGraph, options: any): CoarsenedHierarch
|
|
|
5333
5250
|
/**
|
|
5334
5251
|
* Detects communities on an undirected `CsrGraph` via multi-level Louvain modularity optimization.
|
|
5335
5252
|
*/
|
|
5336
|
-
export function louvainCommunities(graph: CsrGraph,
|
|
5253
|
+
export function louvainCommunities(graph: CsrGraph, options: any): LouvainResult;
|
|
5337
5254
|
|
|
5338
5255
|
/**
|
|
5339
5256
|
* Computes DRGraph Eq. (19) strict minimum-angle resolution (`A2`) in `[0.0, 1.0]`.
|
|
@@ -5358,7 +5275,7 @@ export function norMetricsWithoutGraph(orig_layout: Layout2d, adjusted_layout: L
|
|
|
5358
5275
|
/**
|
|
5359
5276
|
* Sanitizes non-finite entries, centers `layout` in place, and scales isotropically to `targetStd` (default `1.0`).
|
|
5360
5277
|
*/
|
|
5361
|
-
export function normalizeLayout2d(layout: Layout2d, target_std
|
|
5278
|
+
export function normalizeLayout2d(layout: Layout2d, target_std: number | null | undefined, seed: any): void;
|
|
5362
5279
|
|
|
5363
5280
|
/**
|
|
5364
5281
|
* Parses an edge-list CSV string (`num_nodes,num_edges` header + `u,v` or weighted `u,v,w` rows) into a `CsrGraph`.
|
|
@@ -5368,7 +5285,7 @@ export function parseCsrCsv(csv: string, directed?: boolean | null, sanitize?: b
|
|
|
5368
5285
|
/**
|
|
5369
5286
|
* Computes a $k$-NN graph via Partial BFS with deterministic Fisher-Yates tie-breaking.
|
|
5370
5287
|
*/
|
|
5371
|
-
export function partialBfsKnn(graph: CsrGraph, k
|
|
5288
|
+
export function partialBfsKnn(graph: CsrGraph, k: number | null | undefined, seed: any): KnnGraph;
|
|
5372
5289
|
|
|
5373
5290
|
/**
|
|
5374
5291
|
* Computes `ARI`, `AMI`, `homogeneity`, `completeness`, `vMeasure`, and `fmi` between two labelings.
|
|
@@ -5378,25 +5295,22 @@ export function partitionAgreement(labels_true: any, labels_pred: any): Partitio
|
|
|
5378
5295
|
/**
|
|
5379
5296
|
* Computes a 2D `Layout2d` (`f32`) via Core-First MaxMin PivotMDS.
|
|
5380
5297
|
*/
|
|
5381
|
-
export function pivotMds(graph: CsrGraph,
|
|
5298
|
+
export function pivotMds(graph: CsrGraph, options: any): Layout2d;
|
|
5382
5299
|
|
|
5383
5300
|
/**
|
|
5384
5301
|
* Computes a 2D `Layout2d` (`f32`) via PivotMDS from a flat `(numNodes, numPivots)` distance matrix.
|
|
5385
5302
|
*/
|
|
5386
|
-
export function pivotMdsFromDistances(distances_nk: Float64Array | number[], num_nodes: number, num_pivots: number,
|
|
5303
|
+
export function pivotMdsFromDistances(distances_nk: Float64Array | number[], num_nodes: number, num_pivots: number, options: any): Layout2d;
|
|
5387
5304
|
|
|
5388
5305
|
/**
|
|
5389
5306
|
* Computes a 2D `Layout2d` (`f32`) via Core-First MaxMin PivotMDS.
|
|
5390
|
-
*
|
|
5391
|
-
* When `targetStd` is omitted or `undefined`, coordinates are normalized to `targetStd = 1.0`.
|
|
5392
|
-
* Pass `null` to disable isotropic standard-deviation normalization.
|
|
5393
5307
|
*/
|
|
5394
|
-
export function pivotMdsInit(graph: CsrGraph,
|
|
5308
|
+
export function pivotMdsInit(graph: CsrGraph, options: any): Layout2d;
|
|
5395
5309
|
|
|
5396
5310
|
/**
|
|
5397
5311
|
* Computes a 2D `Layout2d` (`f32`) via PivotMDS from an explicit slice of `pivots`.
|
|
5398
5312
|
*/
|
|
5399
|
-
export function pivotMdsWithPivots(graph: CsrGraph, pivots: Uint32Array | number[],
|
|
5313
|
+
export function pivotMdsWithPivots(graph: CsrGraph, pivots: Uint32Array | number[], options: any): Layout2d;
|
|
5400
5314
|
|
|
5401
5315
|
/**
|
|
5402
5316
|
* Computes the Poincaré disk hyperbolic geodesic distance between `(x1, y1)` and `(x2, y2)`.
|
|
@@ -5432,12 +5346,12 @@ export function project1d(coords: Float32Array, constraints: any): void;
|
|
|
5432
5346
|
/**
|
|
5433
5347
|
* Projects a coarse 2D `Layout2d` (`f32`) back onto fine vertices via `nodeToCoarse`.
|
|
5434
5348
|
*/
|
|
5435
|
-
export function projectClusteredLayout(coarse_layout: Layout2d, node_to_coarse: Uint32Array | number[],
|
|
5349
|
+
export function projectClusteredLayout(coarse_layout: Layout2d, node_to_coarse: Uint32Array | number[], options: any): Layout2d;
|
|
5436
5350
|
|
|
5437
5351
|
/**
|
|
5438
5352
|
* Projects a coarse 2D `Layout2d` (`f32`) onto fine vertices using per-cluster `clusterRadii`.
|
|
5439
5353
|
*/
|
|
5440
|
-
export function projectClusteredLayoutWithRadii(coarse_layout: Layout2d, node_to_coarse: Uint32Array | number[], cluster_radii: Float64Array | number[],
|
|
5354
|
+
export function projectClusteredLayoutWithRadii(coarse_layout: Layout2d, node_to_coarse: Uint32Array | number[], cluster_radii: Float64Array | number[], options: any): Layout2d;
|
|
5441
5355
|
|
|
5442
5356
|
/**
|
|
5443
5357
|
* One-shot post-processing pass that eliminates overlaps between axis-aligned cluster bounding
|
|
@@ -5457,7 +5371,7 @@ export function projectLayoutAxis(layout: Layout2d, axis: any, constraints: any)
|
|
|
5457
5371
|
/**
|
|
5458
5372
|
* Projects spectral filter `terms` onto the PSD cone, returning `{ termsPsd, deltaPsd, hMin }`.
|
|
5459
5373
|
*/
|
|
5460
|
-
export function projectPsdSpectralFilter(terms: any,
|
|
5374
|
+
export function projectPsdSpectralFilter(terms: any, options: any): any;
|
|
5461
5375
|
|
|
5462
5376
|
/**
|
|
5463
5377
|
* Projects 2D rectangle positions in `layout` in place to eliminate all axis-aligned overlaps
|
|
@@ -5473,7 +5387,7 @@ export function randomWalkLaplacian(graph: CsrGraph): CsrMatrix;
|
|
|
5473
5387
|
/**
|
|
5474
5388
|
* Computes a `LayoutNd` (`f32`) zero-guarded resistance-distance spectral embedding (`RdMds`).
|
|
5475
5389
|
*/
|
|
5476
|
-
export function rdMds(graph: CsrGraph,
|
|
5390
|
+
export function rdMds(graph: CsrGraph, options: any): LayoutNd;
|
|
5477
5391
|
|
|
5478
5392
|
/**
|
|
5479
5393
|
* Finds all overlapping rectangle pairs `[i0, j0, i1, j1, ...]` (`i < j`) for `layout`
|
|
@@ -5492,7 +5406,7 @@ export function refineClusterLayout(layout: Layout2d, labels: any, options: any)
|
|
|
5492
5406
|
export function removeCycles(graph: CsrGraph): CsrGraph;
|
|
5493
5407
|
|
|
5494
5408
|
/**
|
|
5495
|
-
* Computes a `
|
|
5409
|
+
* Computes a `dims`-dimensional Representative / Landmark MDS `LayoutNd` (`f32`) from a flat
|
|
5496
5410
|
* row-major `(numNodes, numReps)` distance matrix.
|
|
5497
5411
|
*/
|
|
5498
5412
|
export function representativeMds(distances_to_reps: Float64Array | number[], num_nodes: number, num_reps: number, dims: number): LayoutNd;
|
|
@@ -5505,23 +5419,23 @@ export function resistanceCurvatureFlow(graph: CsrGraph, options: any): Resistan
|
|
|
5505
5419
|
/**
|
|
5506
5420
|
* Median-centers and Gaussian-calibrated radial quantile-scales `layout` in place so core spread matches `targetStd` (default `1.0`).
|
|
5507
5421
|
*/
|
|
5508
|
-
export function robustNormalizeLayout2d(layout: Layout2d,
|
|
5422
|
+
export function robustNormalizeLayout2d(layout: Layout2d, options: any): void;
|
|
5509
5423
|
|
|
5510
5424
|
/**
|
|
5511
|
-
* Estimates edge crossings in $O(\text{numSamples})$ time (`
|
|
5425
|
+
* Estimates edge crossings in $O(\text{numSamples})$ time (`options?: { numSamples?, seed? }`).
|
|
5512
5426
|
*/
|
|
5513
|
-
export function sampledCrossingNumber(graph: CsrGraph, layout: Layout2d,
|
|
5427
|
+
export function sampledCrossingNumber(graph: CsrGraph, layout: Layout2d, options: any): number;
|
|
5514
5428
|
|
|
5515
5429
|
/**
|
|
5516
5430
|
* Estimates DRGraph Eq. (17) crosslessness $1 - \sqrt{\hat{c} / c_{\max}} \in [0.0, 1.0]$
|
|
5517
|
-
* (`
|
|
5431
|
+
* (`options?: { numSamples?, seed? }`).
|
|
5518
5432
|
*/
|
|
5519
|
-
export function sampledCrosslessness(graph: CsrGraph, layout: Layout2d,
|
|
5433
|
+
export function sampledCrosslessness(graph: CsrGraph, layout: Layout2d, options: any): number;
|
|
5520
5434
|
|
|
5521
5435
|
/**
|
|
5522
5436
|
* Selects well-spaced shortest-path pivots via Core-First MaxMin BFS.
|
|
5523
5437
|
*/
|
|
5524
|
-
export function selectMaxminSpPivots(graph: CsrGraph,
|
|
5438
|
+
export function selectMaxminSpPivots(graph: CsrGraph, options: any): Uint32Array;
|
|
5525
5439
|
|
|
5526
5440
|
/**
|
|
5527
5441
|
* Installs `console_error_panic_hook` once so any Rust panic reports a readable stack trace
|
|
@@ -5537,12 +5451,12 @@ export function shiftedNormalizedLaplacian(l_sym: CsrMatrix, lambda_max?: number
|
|
|
5537
5451
|
/**
|
|
5538
5452
|
* Computes the smallest `nModes` nontrivial eigenpairs of $L_{\mathrm{sym}}$.
|
|
5539
5453
|
*/
|
|
5540
|
-
export function smallestLaplacianEigenpairs(graph: CsrGraph,
|
|
5454
|
+
export function smallestLaplacianEigenpairs(graph: CsrGraph, options: any): EigenResult;
|
|
5541
5455
|
|
|
5542
5456
|
/**
|
|
5543
5457
|
* Performs Ng-Jordan-Weiss spectral clustering on an undirected `CsrGraph`.
|
|
5544
5458
|
*/
|
|
5545
|
-
export function spectralClustering(graph: CsrGraph,
|
|
5459
|
+
export function spectralClustering(graph: CsrGraph, options: any): SpectralClusteringResult;
|
|
5546
5460
|
|
|
5547
5461
|
/**
|
|
5548
5462
|
* Computes exact $O(|E|)$ spectral variance and degree summary statistics of $L_{\mathrm{sym}}$.
|
|
@@ -5572,7 +5486,7 @@ export function sprawlterNnRadii(layout: Layout2d, radii: Float32Array | number[
|
|
|
5572
5486
|
/**
|
|
5573
5487
|
* Computes a Squarified Treemap partition returning flat `[xMin0, xMax0, yMin0, yMax0, ...]` (`Float64Array`).
|
|
5574
5488
|
*/
|
|
5575
|
-
export function squarifiedTreemap(weights: any,
|
|
5489
|
+
export function squarifiedTreemap(weights: any, options: any): Float64Array;
|
|
5576
5490
|
|
|
5577
5491
|
/**
|
|
5578
5492
|
* Computes the exact sweep-line crossing-angle penalty $\sum \cos^2(\theta)$.
|
|
@@ -5588,7 +5502,7 @@ export function sweepCrossingNumber(graph: CsrGraph, layout: Layout2d): number;
|
|
|
5588
5502
|
* Computes ascending symmetric eigenpairs `(lambdas, vectors)` of an `n x n` row-major matrix
|
|
5589
5503
|
* via dense cyclic Jacobi rotations in `f64`, optionally truncated to the smallest `nModes`.
|
|
5590
5504
|
*/
|
|
5591
|
-
export function symmetricEigenJacobi(a_row_major: Float64Array | number[], n: number,
|
|
5505
|
+
export function symmetricEigenJacobi(a_row_major: Float64Array | number[], n: number, options: any): EigenResult;
|
|
5592
5506
|
|
|
5593
5507
|
/**
|
|
5594
5508
|
* Builds the symmetric normalized Laplacian $L_{\mathrm{sym}} = I - D^{-1/2} A D^{-1/2}$
|
|
@@ -5614,7 +5528,7 @@ export function torusEdgeSegments(x1: number, y1: number, x2: number, y2: number
|
|
|
5614
5528
|
/**
|
|
5615
5529
|
* Initializes a flat 2D torus `ManifoldLayout2d` via 4-mode spectral phase coordinates of $L_{\mathrm{sym}}$.
|
|
5616
5530
|
*/
|
|
5617
|
-
export function torusSpectralPhaseInit(graph: CsrGraph, seed
|
|
5531
|
+
export function torusSpectralPhaseInit(graph: CsrGraph, seed: any): ManifoldLayout2d;
|
|
5618
5532
|
|
|
5619
5533
|
/**
|
|
5620
5534
|
* Computes the exact transitive reduction of a directed acyclic `CsrGraph`.
|
|
@@ -5625,7 +5539,7 @@ export function transitiveReduction(graph: CsrGraph): CsrGraph;
|
|
|
5625
5539
|
* Returns the active WebAssembly linear `WebAssembly.Memory` instance.
|
|
5626
5540
|
*
|
|
5627
5541
|
* The JavaScript wrapper uses `wasmMemory().buffer` to detect `memory.grow` buffer detachments
|
|
5628
|
-
* in $O(1)$ time before returning a cached `Float32Array` view from `
|
|
5542
|
+
* in $O(1)$ time before returning a cached `Float32Array` view from `Layout*.coordsView()`.
|
|
5629
5543
|
*/
|
|
5630
5544
|
export function wasmMemory(): WebAssembly.Memory;
|
|
5631
5545
|
|
|
@@ -5650,8 +5564,10 @@ export interface InitOutput {
|
|
|
5650
5564
|
readonly __wbg_backbonesolver_free: (a: number, b: number) => void;
|
|
5651
5565
|
readonly __wbg_chebyshevdogkernel_free: (a: number, b: number) => void;
|
|
5652
5566
|
readonly __wbg_classdensityresult_free: (a: number, b: number) => void;
|
|
5567
|
+
readonly __wbg_classicalmds_free: (a: number, b: number) => void;
|
|
5653
5568
|
readonly __wbg_clusterareareport_free: (a: number, b: number) => void;
|
|
5654
5569
|
readonly __wbg_clusterrefinesolver_free: (a: number, b: number) => void;
|
|
5570
|
+
readonly __wbg_coarsebackbone_free: (a: number, b: number) => void;
|
|
5655
5571
|
readonly __wbg_coarsebackboneresult_free: (a: number, b: number) => void;
|
|
5656
5572
|
readonly __wbg_coarsenedgraphresult_free: (a: number, b: number) => void;
|
|
5657
5573
|
readonly __wbg_coarsenedhierarchyresult_free: (a: number, b: number) => void;
|
|
@@ -5664,7 +5580,9 @@ export interface InitOutput {
|
|
|
5664
5580
|
readonly __wbg_dijkstraworkspace_free: (a: number, b: number) => void;
|
|
5665
5581
|
readonly __wbg_dogstats_free: (a: number, b: number) => void;
|
|
5666
5582
|
readonly __wbg_dogvaradhanlandmarks_free: (a: number, b: number) => void;
|
|
5583
|
+
readonly __wbg_drgraphsolver_free: (a: number, b: number) => void;
|
|
5667
5584
|
readonly __wbg_dynamickdtree_free: (a: number, b: number) => void;
|
|
5585
|
+
readonly __wbg_edgepolylines_free: (a: number, b: number) => void;
|
|
5668
5586
|
readonly __wbg_effectiveresistanceresult_free: (a: number, b: number) => void;
|
|
5669
5587
|
readonly __wbg_eigenresult_free: (a: number, b: number) => void;
|
|
5670
5588
|
readonly __wbg_fdebsolver_free: (a: number, b: number) => void;
|
|
@@ -5673,18 +5591,23 @@ export interface InitOutput {
|
|
|
5673
5591
|
readonly __wbg_forceatlas2solver_free: (a: number, b: number) => void;
|
|
5674
5592
|
readonly __wbg_fruchtermanreingoldsolver_free: (a: number, b: number) => void;
|
|
5675
5593
|
readonly __wbg_gemsolver_free: (a: number, b: number) => void;
|
|
5594
|
+
readonly __wbg_graphcnesolver_free: (a: number, b: number) => void;
|
|
5676
5595
|
readonly __wbg_gripsolver_free: (a: number, b: number) => void;
|
|
5677
5596
|
readonly __wbg_groupinaboxsolver_free: (a: number, b: number) => void;
|
|
5678
5597
|
readonly __wbg_gtreeoverlapremoval_free: (a: number, b: number) => void;
|
|
5679
5598
|
readonly __wbg_gumapsolver_free: (a: number, b: number) => void;
|
|
5599
|
+
readonly __wbg_hde_free: (a: number, b: number) => void;
|
|
5680
5600
|
readonly __wbg_hybridknnresult_free: (a: number, b: number) => void;
|
|
5681
5601
|
readonly __wbg_ibumapsolver_free: (a: number, b: number) => void;
|
|
5682
5602
|
readonly __wbg_kamadakawaisolver_free: (a: number, b: number) => void;
|
|
5683
5603
|
readonly __wbg_kmeansresult_free: (a: number, b: number) => void;
|
|
5684
5604
|
readonly __wbg_knngraph_free: (a: number, b: number) => void;
|
|
5605
|
+
readonly __wbg_korenspectral_free: (a: number, b: number) => void;
|
|
5685
5606
|
readonly __wbg_labelpropagationresult_free: (a: number, b: number) => void;
|
|
5686
5607
|
readonly __wbg_largestconnectedcomponentresult_free: (a: number, b: number) => void;
|
|
5608
|
+
readonly __wbg_largevissolver_free: (a: number, b: number) => void;
|
|
5687
5609
|
readonly __wbg_layout2d_free: (a: number, b: number) => void;
|
|
5610
|
+
readonly __wbg_layout3d_free: (a: number, b: number) => void;
|
|
5688
5611
|
readonly __wbg_layoutdegeneracy_free: (a: number, b: number) => void;
|
|
5689
5612
|
readonly __wbg_layoutnd_free: (a: number, b: number) => void;
|
|
5690
5613
|
readonly __wbg_leidenresult_free: (a: number, b: number) => void;
|
|
@@ -5696,10 +5619,13 @@ export interface InitOutput {
|
|
|
5696
5619
|
readonly __wbg_minimumanglesummary_free: (a: number, b: number) => void;
|
|
5697
5620
|
readonly __wbg_normetricsresult_free: (a: number, b: number) => void;
|
|
5698
5621
|
readonly __wbg_pacmapbackboneresult_free: (a: number, b: number) => void;
|
|
5622
|
+
readonly __wbg_pacmapgraphsolver_free: (a: number, b: number) => void;
|
|
5699
5623
|
readonly __wbg_partitionagreementresult_free: (a: number, b: number) => void;
|
|
5700
5624
|
readonly __wbg_pfsprimeoverlapremoval_free: (a: number, b: number) => void;
|
|
5625
|
+
readonly __wbg_pivotmds_free: (a: number, b: number) => void;
|
|
5701
5626
|
readonly __wbg_prismdistortion_free: (a: number, b: number) => void;
|
|
5702
5627
|
readonly __wbg_prismoverlapremoval_free: (a: number, b: number) => void;
|
|
5628
|
+
readonly __wbg_rdmds_free: (a: number, b: number) => void;
|
|
5703
5629
|
readonly __wbg_resistancecurvatureflowresult_free: (a: number, b: number) => void;
|
|
5704
5630
|
readonly __wbg_resistancecurvaturestep_free: (a: number, b: number) => void;
|
|
5705
5631
|
readonly __wbg_rhghlandmarks_free: (a: number, b: number) => void;
|
|
@@ -5710,8 +5636,10 @@ export interface InitOutput {
|
|
|
5710
5636
|
readonly __wbg_screenedpoissonresult_free: (a: number, b: number) => void;
|
|
5711
5637
|
readonly __wbg_sellayoutsolver_free: (a: number, b: number) => void;
|
|
5712
5638
|
readonly __wbg_separationconstraint_free: (a: number, b: number) => void;
|
|
5713
|
-
readonly
|
|
5639
|
+
readonly __wbg_sfclayout_free: (a: number, b: number) => void;
|
|
5640
|
+
readonly __wbg_sgd2solver_free: (a: number, b: number) => void;
|
|
5714
5641
|
readonly __wbg_sgdsolver_free: (a: number, b: number) => void;
|
|
5642
|
+
readonly __wbg_snaptfdpsolver_free: (a: number, b: number) => void;
|
|
5715
5643
|
readonly __wbg_sparse12hoppairs_free: (a: number, b: number) => void;
|
|
5716
5644
|
readonly __wbg_sparsebarrierstats_free: (a: number, b: number) => void;
|
|
5717
5645
|
readonly __wbg_sparseprobabilities_free: (a: number, b: number) => void;
|
|
@@ -5732,108 +5660,142 @@ export interface InitOutput {
|
|
|
5732
5660
|
readonly __wbg_twohopknnresult_free: (a: number, b: number) => void;
|
|
5733
5661
|
readonly __wbg_yifanhusolver_free: (a: number, b: number) => void;
|
|
5734
5662
|
readonly _calinskiHarabaszScore2d: (a: number, b: number, c: any) => void;
|
|
5663
|
+
readonly _calinskiHarabaszScore3d: (a: number, b: number, c: any) => void;
|
|
5735
5664
|
readonly _calinskiHarabaszScoreManifold: (a: number, b: number, c: any) => void;
|
|
5736
5665
|
readonly _calinskiHarabaszScoreNd: (a: number, b: number, c: any) => void;
|
|
5737
5666
|
readonly _cqHac2d: (a: number, b: number, c: any) => void;
|
|
5667
|
+
readonly _cqHac3d: (a: number, b: number, c: any) => void;
|
|
5738
5668
|
readonly _cqHacManifold: (a: number, b: number, c: any) => void;
|
|
5739
5669
|
readonly _cqHacNd: (a: number, b: number, c: any) => void;
|
|
5740
|
-
readonly _cqKmeans2d: (a: number, b: number, c: any, d:
|
|
5741
|
-
readonly
|
|
5742
|
-
readonly
|
|
5670
|
+
readonly _cqKmeans2d: (a: number, b: number, c: any, d: any) => void;
|
|
5671
|
+
readonly _cqKmeans3d: (a: number, b: number, c: any, d: any) => void;
|
|
5672
|
+
readonly _cqKmeansManifold: (a: number, b: number, c: any, d: any) => void;
|
|
5673
|
+
readonly _cqKmeansNd: (a: number, b: number, c: any, d: any) => void;
|
|
5743
5674
|
readonly _crossingEdgesTorus2d: (a: number, b: number, c: number) => void;
|
|
5744
5675
|
readonly _crossingEdgesTorusManifold: (a: number, b: number, c: number) => void;
|
|
5745
5676
|
readonly _daviesBouldinScore2d: (a: number, b: number, c: any) => void;
|
|
5677
|
+
readonly _daviesBouldinScore3d: (a: number, b: number, c: any) => void;
|
|
5746
5678
|
readonly _daviesBouldinScoreManifold: (a: number, b: number, c: any) => void;
|
|
5747
5679
|
readonly _daviesBouldinScoreNd: (a: number, b: number, c: any) => void;
|
|
5748
5680
|
readonly _dggPreservation2d: (a: number, b: number, c: number) => void;
|
|
5681
|
+
readonly _dggPreservation3d: (a: number, b: number, c: number) => void;
|
|
5749
5682
|
readonly _dggPreservationManifold: (a: number, b: number, c: number) => void;
|
|
5750
5683
|
readonly _dggPreservationNd: (a: number, b: number, c: number) => void;
|
|
5751
5684
|
readonly _distanceConsistency2d: (a: number, b: number, c: any) => void;
|
|
5685
|
+
readonly _distanceConsistency3d: (a: number, b: number, c: any) => void;
|
|
5752
5686
|
readonly _distanceConsistencyManifold: (a: number, b: number, c: any) => void;
|
|
5753
5687
|
readonly _distanceConsistencyNd: (a: number, b: number, c: any) => void;
|
|
5754
|
-
readonly _distributionConsistency2d: (a: number, b: number, c: any, d:
|
|
5755
|
-
readonly
|
|
5756
|
-
readonly
|
|
5688
|
+
readonly _distributionConsistency2d: (a: number, b: number, c: any, d: any) => void;
|
|
5689
|
+
readonly _distributionConsistency3d: (a: number, b: number, c: any, d: any) => void;
|
|
5690
|
+
readonly _distributionConsistencyManifold: (a: number, b: number, c: any, d: any) => void;
|
|
5691
|
+
readonly _distributionConsistencyNd: (a: number, b: number, c: any, d: any) => void;
|
|
5757
5692
|
readonly _drngPreservation2d: (a: number, b: number, c: number) => void;
|
|
5693
|
+
readonly _drngPreservation3d: (a: number, b: number, c: number) => void;
|
|
5758
5694
|
readonly _drngPreservationManifold: (a: number, b: number, c: number) => void;
|
|
5759
5695
|
readonly _drngPreservationNd: (a: number, b: number, c: number) => void;
|
|
5760
|
-
readonly _evaluateMetrics2d: (a: number, b: number, c: number, d: any, e: any
|
|
5696
|
+
readonly _evaluateMetrics2d: (a: number, b: number, c: number, d: any, e: any) => void;
|
|
5761
5697
|
readonly _evaluateMetrics2dWithOriginal: (a: number, b: number, c: number, d: any, e: any, f: number) => void;
|
|
5762
|
-
readonly
|
|
5763
|
-
readonly
|
|
5698
|
+
readonly _evaluateMetrics3d: (a: number, b: number, c: number, d: any, e: any) => void;
|
|
5699
|
+
readonly _evaluateMetricsManifold: (a: number, b: number, c: number, d: any, e: any) => void;
|
|
5700
|
+
readonly _evaluateMetricsNd: (a: number, b: number, c: number, d: any, e: any) => void;
|
|
5764
5701
|
readonly _gabrielGraphEdges2d: (a: number, b: number) => void;
|
|
5702
|
+
readonly _gabrielGraphEdges3d: (a: number, b: number) => void;
|
|
5765
5703
|
readonly _gabrielGraphEdgesManifold: (a: number, b: number) => void;
|
|
5766
5704
|
readonly _gabrielGraphEdgesNd: (a: number, b: number) => void;
|
|
5767
5705
|
readonly _gabrielGraphProperty2d: (a: number, b: number, c: number) => void;
|
|
5706
|
+
readonly _gabrielGraphProperty3d: (a: number, b: number, c: number) => void;
|
|
5768
5707
|
readonly _gabrielGraphPropertyManifold: (a: number, b: number, c: number) => void;
|
|
5769
5708
|
readonly _gabrielGraphPropertyNd: (a: number, b: number, c: number) => void;
|
|
5770
5709
|
readonly _idealEdgeLengths2d: (a: number, b: number, c: number) => void;
|
|
5710
|
+
readonly _idealEdgeLengths3d: (a: number, b: number, c: number) => void;
|
|
5771
5711
|
readonly _idealEdgeLengthsManifold: (a: number, b: number, c: number) => void;
|
|
5772
5712
|
readonly _idealEdgeLengthsNd: (a: number, b: number, c: number) => void;
|
|
5773
5713
|
readonly _idealEdgeLengthsWithUnit2d: (a: number, b: number, c: number, d: number) => void;
|
|
5714
|
+
readonly _idealEdgeLengthsWithUnit3d: (a: number, b: number, c: number, d: number) => void;
|
|
5774
5715
|
readonly _idealEdgeLengthsWithUnitManifold: (a: number, b: number, c: number, d: number) => void;
|
|
5775
5716
|
readonly _idealEdgeLengthsWithUnitNd: (a: number, b: number, c: number, d: number) => void;
|
|
5776
|
-
readonly _landmarkStratifiedRta2d: (a: number, b: number, c: number, d:
|
|
5777
|
-
readonly
|
|
5778
|
-
readonly
|
|
5779
|
-
readonly
|
|
5780
|
-
readonly
|
|
5781
|
-
readonly
|
|
5782
|
-
readonly
|
|
5783
|
-
readonly
|
|
5784
|
-
readonly
|
|
5717
|
+
readonly _landmarkStratifiedRta2d: (a: number, b: number, c: number, d: any) => void;
|
|
5718
|
+
readonly _landmarkStratifiedRta3d: (a: number, b: number, c: number, d: any) => void;
|
|
5719
|
+
readonly _landmarkStratifiedRtaDetail2d: (a: number, b: number, c: number, d: any) => void;
|
|
5720
|
+
readonly _landmarkStratifiedRtaDetail3d: (a: number, b: number, c: number, d: any) => void;
|
|
5721
|
+
readonly _landmarkStratifiedRtaDetailManifold: (a: number, b: number, c: number, d: any) => void;
|
|
5722
|
+
readonly _landmarkStratifiedRtaDetailNd: (a: number, b: number, c: number, d: any) => void;
|
|
5723
|
+
readonly _landmarkStratifiedRtaFromLandmarks2d: (a: number, b: number, c: any, d: any, e: any) => void;
|
|
5724
|
+
readonly _landmarkStratifiedRtaFromLandmarks3d: (a: number, b: number, c: any, d: any, e: any) => void;
|
|
5725
|
+
readonly _landmarkStratifiedRtaFromLandmarksManifold: (a: number, b: number, c: any, d: any, e: any) => void;
|
|
5726
|
+
readonly _landmarkStratifiedRtaFromLandmarksNd: (a: number, b: number, c: any, d: any, e: any) => void;
|
|
5727
|
+
readonly _landmarkStratifiedRtaManifold: (a: number, b: number, c: number, d: any) => void;
|
|
5728
|
+
readonly _landmarkStratifiedRtaNd: (a: number, b: number, c: number, d: any) => void;
|
|
5785
5729
|
readonly _layoutDegeneracy2d: (a: number, b: number, c: number) => void;
|
|
5730
|
+
readonly _layoutDegeneracy3d: (a: number, b: number, c: number) => void;
|
|
5786
5731
|
readonly _layoutDegeneracyManifold: (a: number, b: number, c: number) => void;
|
|
5787
5732
|
readonly _layoutDegeneracyNd: (a: number, b: number, c: number) => void;
|
|
5788
|
-
readonly _neighborhoodHit2d: (a: number, b: number, c: any, d:
|
|
5789
|
-
readonly
|
|
5790
|
-
readonly
|
|
5733
|
+
readonly _neighborhoodHit2d: (a: number, b: number, c: any, d: any) => void;
|
|
5734
|
+
readonly _neighborhoodHit3d: (a: number, b: number, c: any, d: any) => void;
|
|
5735
|
+
readonly _neighborhoodHitManifold: (a: number, b: number, c: any, d: any) => void;
|
|
5736
|
+
readonly _neighborhoodHitNd: (a: number, b: number, c: any, d: any) => void;
|
|
5791
5737
|
readonly _neighborhoodPreservation1Hop2d: (a: number, b: number, c: number) => void;
|
|
5738
|
+
readonly _neighborhoodPreservation1Hop3d: (a: number, b: number, c: number) => void;
|
|
5792
5739
|
readonly _neighborhoodPreservation1HopManifold: (a: number, b: number, c: number) => void;
|
|
5793
5740
|
readonly _neighborhoodPreservation1HopNd: (a: number, b: number, c: number) => void;
|
|
5794
5741
|
readonly _neighborhoodPreservation2Hop2d: (a: number, b: number, c: number) => void;
|
|
5742
|
+
readonly _neighborhoodPreservation2Hop3d: (a: number, b: number, c: number) => void;
|
|
5795
5743
|
readonly _neighborhoodPreservation2HopManifold: (a: number, b: number, c: number) => void;
|
|
5796
5744
|
readonly _neighborhoodPreservation2HopNd: (a: number, b: number, c: number) => void;
|
|
5797
5745
|
readonly _nodeResolution2d: (a: number, b: number) => void;
|
|
5746
|
+
readonly _nodeResolution3d: (a: number, b: number) => void;
|
|
5798
5747
|
readonly _nodeResolutionManifold: (a: number, b: number) => void;
|
|
5799
5748
|
readonly _nodeResolutionNd: (a: number, b: number) => void;
|
|
5800
|
-
readonly _pairwiseDistanceOverlapError2d: (a: number, b: number, c: any, d:
|
|
5801
|
-
readonly
|
|
5802
|
-
readonly
|
|
5749
|
+
readonly _pairwiseDistanceOverlapError2d: (a: number, b: number, c: any, d: any) => void;
|
|
5750
|
+
readonly _pairwiseDistanceOverlapError3d: (a: number, b: number, c: any, d: any) => void;
|
|
5751
|
+
readonly _pairwiseDistanceOverlapErrorManifold: (a: number, b: number, c: any, d: any) => void;
|
|
5752
|
+
readonly _pairwiseDistanceOverlapErrorNd: (a: number, b: number, c: any, d: any) => void;
|
|
5803
5753
|
readonly _relativeNeighborhoodEdges2d: (a: number, b: number) => void;
|
|
5754
|
+
readonly _relativeNeighborhoodEdges3d: (a: number, b: number) => void;
|
|
5804
5755
|
readonly _relativeNeighborhoodEdgesManifold: (a: number, b: number) => void;
|
|
5805
5756
|
readonly _relativeNeighborhoodEdgesNd: (a: number, b: number) => void;
|
|
5806
|
-
readonly _sampledNp12d: (a: number, b: number, c: number, d:
|
|
5807
|
-
readonly
|
|
5808
|
-
readonly
|
|
5809
|
-
readonly
|
|
5810
|
-
readonly
|
|
5811
|
-
readonly
|
|
5812
|
-
readonly
|
|
5813
|
-
readonly
|
|
5814
|
-
readonly
|
|
5757
|
+
readonly _sampledNp12d: (a: number, b: number, c: number, d: any) => void;
|
|
5758
|
+
readonly _sampledNp13d: (a: number, b: number, c: number, d: any) => void;
|
|
5759
|
+
readonly _sampledNp1Manifold: (a: number, b: number, c: number, d: any) => void;
|
|
5760
|
+
readonly _sampledNp1Nd: (a: number, b: number, c: number, d: any) => void;
|
|
5761
|
+
readonly _sampledNp22d: (a: number, b: number, c: number, d: any) => void;
|
|
5762
|
+
readonly _sampledNp23d: (a: number, b: number, c: number, d: any) => void;
|
|
5763
|
+
readonly _sampledNp2Manifold: (a: number, b: number, c: number, d: any) => void;
|
|
5764
|
+
readonly _sampledNp2Nd: (a: number, b: number, c: number, d: any) => void;
|
|
5765
|
+
readonly _sampledScaleNormalizedStress2d: (a: number, b: number, c: number, d: any) => void;
|
|
5766
|
+
readonly _sampledScaleNormalizedStress3d: (a: number, b: number, c: number, d: any) => void;
|
|
5767
|
+
readonly _sampledScaleNormalizedStressManifold: (a: number, b: number, c: number, d: any) => void;
|
|
5768
|
+
readonly _sampledScaleNormalizedStressNd: (a: number, b: number, c: number, d: any) => void;
|
|
5815
5769
|
readonly _scaleNormalizedStress2d: (a: number, b: number, c: number) => void;
|
|
5770
|
+
readonly _scaleNormalizedStress3d: (a: number, b: number, c: number) => void;
|
|
5816
5771
|
readonly _scaleNormalizedStressDetail2d: (a: number, b: number, c: number) => void;
|
|
5772
|
+
readonly _scaleNormalizedStressDetail3d: (a: number, b: number, c: number) => void;
|
|
5817
5773
|
readonly _scaleNormalizedStressDetailManifold: (a: number, b: number, c: number) => void;
|
|
5818
5774
|
readonly _scaleNormalizedStressDetailNd: (a: number, b: number, c: number) => void;
|
|
5819
5775
|
readonly _scaleNormalizedStressFromDistances2d: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
5776
|
+
readonly _scaleNormalizedStressFromDistances3d: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
5820
5777
|
readonly _scaleNormalizedStressFromDistancesManifold: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
5821
5778
|
readonly _scaleNormalizedStressFromDistancesNd: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
5822
5779
|
readonly _scaleNormalizedStressManifold: (a: number, b: number, c: number) => void;
|
|
5823
5780
|
readonly _scaleNormalizedStressNd: (a: number, b: number, c: number) => void;
|
|
5824
5781
|
readonly _sepmeGab2d: (a: number, b: number, c: any) => void;
|
|
5782
|
+
readonly _sepmeGab3d: (a: number, b: number, c: any) => void;
|
|
5825
5783
|
readonly _sepmeGabManifold: (a: number, b: number, c: any) => void;
|
|
5826
5784
|
readonly _sepmeGabNd: (a: number, b: number, c: any) => void;
|
|
5827
|
-
readonly _sepmeGong2d: (a: number, b: number, c: any, d:
|
|
5828
|
-
readonly
|
|
5829
|
-
readonly
|
|
5830
|
-
readonly
|
|
5831
|
-
readonly
|
|
5832
|
-
readonly
|
|
5785
|
+
readonly _sepmeGong2d: (a: number, b: number, c: any, d: any) => void;
|
|
5786
|
+
readonly _sepmeGong3d: (a: number, b: number, c: any, d: any) => void;
|
|
5787
|
+
readonly _sepmeGongManifold: (a: number, b: number, c: any, d: any) => void;
|
|
5788
|
+
readonly _sepmeGongNd: (a: number, b: number, c: any, d: any) => void;
|
|
5789
|
+
readonly _sepmeKnng2d: (a: number, b: number, c: any, d: any) => void;
|
|
5790
|
+
readonly _sepmeKnng3d: (a: number, b: number, c: any, d: any) => void;
|
|
5791
|
+
readonly _sepmeKnngManifold: (a: number, b: number, c: any, d: any) => void;
|
|
5792
|
+
readonly _sepmeKnngNd: (a: number, b: number, c: any, d: any) => void;
|
|
5833
5793
|
readonly _sepmeRng2d: (a: number, b: number, c: any) => void;
|
|
5794
|
+
readonly _sepmeRng3d: (a: number, b: number, c: any) => void;
|
|
5834
5795
|
readonly _sepmeRngManifold: (a: number, b: number, c: any) => void;
|
|
5835
5796
|
readonly _sepmeRngNd: (a: number, b: number, c: any) => void;
|
|
5836
5797
|
readonly _silhouetteScore2d: (a: number, b: number, c: any) => void;
|
|
5798
|
+
readonly _silhouetteScore3d: (a: number, b: number, c: any) => void;
|
|
5837
5799
|
readonly _silhouetteScoreManifold: (a: number, b: number, c: any) => void;
|
|
5838
5800
|
readonly _silhouetteScoreNd: (a: number, b: number, c: any) => void;
|
|
5839
5801
|
readonly _torusCrossingNumber2d: (a: number, b: number, c: number) => void;
|
|
@@ -5842,9 +5804,9 @@ export interface InitOutput {
|
|
|
5842
5804
|
readonly _torusLayoutEdgeSegmentsManifold: (a: number, b: number, c: number) => void;
|
|
5843
5805
|
readonly adaptiveChebyshevDegree: (a: number) => number;
|
|
5844
5806
|
readonly adaptiveChebyshevDegreeScaled: (a: number, b: number, c: number) => number;
|
|
5845
|
-
readonly adjustedPatchNig: (a: number, b: number, c: any, d:
|
|
5846
|
-
readonly adjustedPatchNigDetail: (a: number, b: number, c: any, d:
|
|
5847
|
-
readonly adjustedPatchNigMultiscale: (a: number, b: number, c: any, d:
|
|
5807
|
+
readonly adjustedPatchNig: (a: number, b: number, c: any, d: any) => void;
|
|
5808
|
+
readonly adjustedPatchNigDetail: (a: number, b: number, c: any, d: any) => void;
|
|
5809
|
+
readonly adjustedPatchNigMultiscale: (a: number, b: number, c: any, d: any) => void;
|
|
5848
5810
|
readonly adjustedpatchnigdetail_hNull: (a: number) => number;
|
|
5849
5811
|
readonly adjustedpatchnigdetail_hObs: (a: number) => number;
|
|
5850
5812
|
readonly adjustedpatchnigdetail_isDegenerate: (a: number) => number;
|
|
@@ -5853,7 +5815,7 @@ export interface InitOutput {
|
|
|
5853
5815
|
readonly adjustedpatchnigdetail_recommendedPatchRadius: (a: number) => number;
|
|
5854
5816
|
readonly adjustedpatchnigdetail_singletonPatchRatio: (a: number) => number;
|
|
5855
5817
|
readonly adjustedpatchnigdetail_toRecord: (a: number, b: number) => void;
|
|
5856
|
-
readonly alignClusteredCentroids: (a: number, b: number, c: number, d: number, e: number, f:
|
|
5818
|
+
readonly alignClusteredCentroids: (a: number, b: number, c: number, d: number, e: number, f: any) => void;
|
|
5857
5819
|
readonly allPairsBfs: (a: number, b: number, c: number, d: number) => void;
|
|
5858
5820
|
readonly allPairsDijkstra: (a: number, b: number) => void;
|
|
5859
5821
|
readonly amgpcgbatchresult_allConverged: (a: number) => number;
|
|
@@ -5873,7 +5835,7 @@ export interface InitOutput {
|
|
|
5873
5835
|
readonly amgpcgsolver_converged: (a: number) => number;
|
|
5874
5836
|
readonly amgpcgsolver_fromCsr: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: any) => void;
|
|
5875
5837
|
readonly amgpcgsolver_fromCsrMatrix: (a: number, b: number, c: any) => void;
|
|
5876
|
-
readonly amgpcgsolver_fromGraphLaplacian: (a: number, b: number, c:
|
|
5838
|
+
readonly amgpcgsolver_fromGraphLaplacian: (a: number, b: number, c: any, d: number, e: number, f: any) => void;
|
|
5877
5839
|
readonly amgpcgsolver_fromGraphRegularizedLaplacian: (a: number, b: number, c: number, d: number, e: any) => void;
|
|
5878
5840
|
readonly amgpcgsolver_isFinished: (a: number) => number;
|
|
5879
5841
|
readonly amgpcgsolver_iteration: (a: number) => number;
|
|
@@ -5899,14 +5861,16 @@ export interface InitOutput {
|
|
|
5899
5861
|
readonly amgpcgsolveresult_status: (a: number, b: number) => void;
|
|
5900
5862
|
readonly amgpcgsolveresult_x: (a: number, b: number) => void;
|
|
5901
5863
|
readonly angularResolution: (a: number, b: number, c: number) => void;
|
|
5902
|
-
readonly anisotropicLaplacian: (a: number, b: number, c:
|
|
5864
|
+
readonly anisotropicLaplacian: (a: number, b: number, c: any) => void;
|
|
5903
5865
|
readonly anisotropiclaplacianresult_matrix: (a: number) => number;
|
|
5904
5866
|
readonly anisotropiclaplacianresult_nullspace: (a: number, b: number) => void;
|
|
5905
5867
|
readonly anisotropiclaplacianresult_outerScale: (a: number, b: number) => void;
|
|
5906
|
-
readonly applyRelativeDistanceFloor: (a: number, b: number, c: number, d: any, e: number, f: number, g: any, h: number, i: number, j: any, k:
|
|
5868
|
+
readonly applyRelativeDistanceFloor: (a: number, b: number, c: number, d: any, e: number, f: number, g: any, h: number, i: number, j: any, k: any) => void;
|
|
5907
5869
|
readonly arenaoctree3d__buildFlat: (a: number, b: number, c: any) => void;
|
|
5908
5870
|
readonly arenaoctree3d__buildWeightedFlat: (a: number, b: number, c: any, d: any) => void;
|
|
5871
|
+
readonly arenaoctree3d_build3d: (a: number, b: number, c: number) => void;
|
|
5909
5872
|
readonly arenaoctree3d_buildNd: (a: number, b: number, c: number) => void;
|
|
5873
|
+
readonly arenaoctree3d_buildWeighted3d: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
5910
5874
|
readonly arenaoctree3d_buildWeightedNd: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
5911
5875
|
readonly arenaoctree3d_buildXyz: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
|
|
5912
5876
|
readonly arenaoctree3d_clear: (a: number) => void;
|
|
@@ -5918,7 +5882,7 @@ export interface InitOutput {
|
|
|
5918
5882
|
readonly arenaoctree3d_nodeCount: (a: number) => number;
|
|
5919
5883
|
readonly arenaoctree3d_pointCount: (a: number) => number;
|
|
5920
5884
|
readonly aspectRatio: (a: number, b: number) => void;
|
|
5921
|
-
readonly assignLayers: (a: number, b: number, c:
|
|
5885
|
+
readonly assignLayers: (a: number, b: number, c: any) => void;
|
|
5922
5886
|
readonly backboneresult_backboneCsr: (a: number) => number;
|
|
5923
5887
|
readonly backboneresult_backboneEdges: (a: number, b: number) => void;
|
|
5924
5888
|
readonly backboneresult_edgeWeights: (a: number, b: number) => void;
|
|
@@ -5936,17 +5900,17 @@ export interface InitOutput {
|
|
|
5936
5900
|
readonly backbonesolver_step: (a: number, b: number, c: number) => void;
|
|
5937
5901
|
readonly backbonesolver_totalIterations: (a: number) => number;
|
|
5938
5902
|
readonly bfsSingleSource: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
5939
|
-
readonly buildCapped12hopKnn: (a: number, b: number, c: number, d: number, e:
|
|
5940
|
-
readonly buildDogTerms: (a: number, b: number, c: number, d: number, e:
|
|
5941
|
-
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:
|
|
5942
|
-
readonly buildHybridAdaptiveKnn: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h:
|
|
5903
|
+
readonly buildCapped12hopKnn: (a: number, b: number, c: number, d: number, e: any) => void;
|
|
5904
|
+
readonly buildDogTerms: (a: number, b: number, c: number, d: number, e: any) => void;
|
|
5905
|
+
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: any) => void;
|
|
5906
|
+
readonly buildHybridAdaptiveKnn: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: any) => void;
|
|
5943
5907
|
readonly buildPure2hopKnn: (a: number, b: number) => void;
|
|
5944
5908
|
readonly buildRegularizedDogTerms: (a: number, b: number, c: number, d: number) => void;
|
|
5945
|
-
readonly buildRerankKnn: (a: number, b: number, c: number, d: number, e: number, f: number, g:
|
|
5946
|
-
readonly chebyshevDogJlEmbedding: (a: number, b: number, c:
|
|
5947
|
-
readonly chebyshevDogJlEmbeddingMatrix: (a: number, b: number, c:
|
|
5948
|
-
readonly chebyshevHeatSpmv: (a: number, b: number, c: number, d: number, e: number, f: number, g:
|
|
5949
|
-
readonly chebyshevHeatSpmvMatrix: (a: number, b: number, c: number, d: number, e: number, f: number, g:
|
|
5909
|
+
readonly buildRerankKnn: (a: number, b: number, c: number, d: number, e: number, f: number, g: any) => void;
|
|
5910
|
+
readonly chebyshevDogJlEmbedding: (a: number, b: number, c: any) => void;
|
|
5911
|
+
readonly chebyshevDogJlEmbeddingMatrix: (a: number, b: number, c: any) => void;
|
|
5912
|
+
readonly chebyshevHeatSpmv: (a: number, b: number, c: number, d: number, e: number, f: number, g: any) => void;
|
|
5913
|
+
readonly chebyshevHeatSpmvMatrix: (a: number, b: number, c: number, d: number, e: number, f: number, g: any) => void;
|
|
5950
5914
|
readonly chebyshevdogkernel_alpha: (a: number) => number;
|
|
5951
5915
|
readonly chebyshevdogkernel_applyBatch: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
5952
5916
|
readonly chebyshevdogkernel_betaAuto: (a: number) => number;
|
|
@@ -5968,15 +5932,17 @@ export interface InitOutput {
|
|
|
5968
5932
|
readonly chebyshevdogkernel_termsPsd: (a: number) => any;
|
|
5969
5933
|
readonly chebyshevdogkernel_varadhanLandmarkTable: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
5970
5934
|
readonly chebyshevdogkernel_withLandmarks: (a: number, b: number, c: number, d: number, e: any) => void;
|
|
5971
|
-
readonly classDensityMeasure: (a: number, b: number, c: any, d:
|
|
5935
|
+
readonly classDensityMeasure: (a: number, b: number, c: any, d: any) => void;
|
|
5972
5936
|
readonly classdensityresult_cdm: (a: number) => number;
|
|
5973
5937
|
readonly classdensityresult_hdm: (a: number) => number;
|
|
5974
5938
|
readonly classdensityresult_toRecord: (a: number, b: number) => void;
|
|
5975
5939
|
readonly classicalMds: (a: number, b: number, c: number, d: number) => void;
|
|
5976
5940
|
readonly classicalMds2d: (a: number, b: number) => void;
|
|
5977
5941
|
readonly classicalMdsFromDistances: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
5978
|
-
readonly
|
|
5979
|
-
readonly
|
|
5942
|
+
readonly classicalmds_generate: (a: number, b: number, c: number) => void;
|
|
5943
|
+
readonly classicalmds_new: (a: number, b: any) => void;
|
|
5944
|
+
readonly clusterAreaFaithfulness: (a: number, b: number, c: any, d: any) => void;
|
|
5945
|
+
readonly clusterAreaFaithfulnessDetail: (a: number, b: number, c: any, d: any) => void;
|
|
5980
5946
|
readonly clusterareareport_caf: (a: number) => number;
|
|
5981
5947
|
readonly clusterareareport_cafPerCluster: (a: number, b: number) => void;
|
|
5982
5948
|
readonly clusterareareport_clusterIds: (a: number, b: number) => void;
|
|
@@ -6013,6 +5979,9 @@ export interface InitOutput {
|
|
|
6013
5979
|
readonly clusterrefinesolver_step: (a: number, b: number, c: number) => void;
|
|
6014
5980
|
readonly clusterrefinesolver_totalIterations: (a: number) => number;
|
|
6015
5981
|
readonly coarseBackboneInit: (a: number, b: number, c: any) => void;
|
|
5982
|
+
readonly coarsebackbone_generate: (a: number, b: number) => void;
|
|
5983
|
+
readonly coarsebackbone_generateResult: (a: number, b: number) => void;
|
|
5984
|
+
readonly coarsebackbone_new: (a: number, b: number, c: any) => void;
|
|
6016
5985
|
readonly coarsebackboneresult_coarseGraph: (a: number) => number;
|
|
6017
5986
|
readonly coarsebackboneresult_coarseLayout: (a: number) => number;
|
|
6018
5987
|
readonly coarsebackboneresult_coarseOverlapPairsFinal: (a: number) => number;
|
|
@@ -6046,18 +6015,18 @@ export interface InitOutput {
|
|
|
6046
6015
|
readonly combinatorialLaplacian: (a: number) => number;
|
|
6047
6016
|
readonly compute2hopNeighborhoodSizes: (a: number, b: number) => void;
|
|
6048
6017
|
readonly computeChebyshevBandpassCoefficients: (a: number, b: any, c: number, d: number, e: number, f: number) => void;
|
|
6049
|
-
readonly computeDiffusionEmbedding: (a: number, b: number, c:
|
|
6018
|
+
readonly computeDiffusionEmbedding: (a: number, b: number, c: any) => void;
|
|
6050
6019
|
readonly computeEffectiveResistances: (a: number, b: number, c: any) => void;
|
|
6051
6020
|
readonly computeFuzzySimplicialSet: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
6052
6021
|
readonly computeHorvitzThompsonGamma: (a: number, b: number, c: number, d: number) => void;
|
|
6053
|
-
readonly computeKnnProbabilities: (a: number, b: number, c: number, d: number, e:
|
|
6054
|
-
readonly computeMedian2hopPerplexity: (a: number, b: number, c:
|
|
6055
|
-
readonly computeNodewise2hopPerplexities: (a: number, b: number, c:
|
|
6022
|
+
readonly computeKnnProbabilities: (a: number, b: number, c: number, d: number, e: any) => void;
|
|
6023
|
+
readonly computeMedian2hopPerplexity: (a: number, b: number, c: any) => void;
|
|
6024
|
+
readonly computeNodewise2hopPerplexities: (a: number, b: number, c: any) => void;
|
|
6056
6025
|
readonly computePivotedRhghLandmarks: (a: number, b: number, c: any) => void;
|
|
6057
6026
|
readonly computePivotedRhghLandmarksResult: (a: number, b: number, c: any) => void;
|
|
6058
|
-
readonly computeRegularizedDogVaradhanLandmarks: (a: number, b: number, c:
|
|
6059
|
-
readonly computeRegularizedDogVaradhanLandmarksFromMatrix: (a: number, b: number, c: number, d:
|
|
6060
|
-
readonly computeResistanceEmbedding: (a: number, b: number, c:
|
|
6027
|
+
readonly computeRegularizedDogVaradhanLandmarks: (a: number, b: number, c: any) => void;
|
|
6028
|
+
readonly computeRegularizedDogVaradhanLandmarksFromMatrix: (a: number, b: number, c: number, d: any) => void;
|
|
6029
|
+
readonly computeResistanceEmbedding: (a: number, b: number, c: any) => void;
|
|
6061
6030
|
readonly crossingEdges: (a: number, b: number, c: number) => void;
|
|
6062
6031
|
readonly crossingEdgesHyperbolic: (a: number, b: number, c: number) => void;
|
|
6063
6032
|
readonly crossingEdgesSpherical: (a: number, b: number, c: number) => void;
|
|
@@ -6098,8 +6067,8 @@ export interface InitOutput {
|
|
|
6098
6067
|
readonly csrgraph_weightDtype: (a: number, b: number) => void;
|
|
6099
6068
|
readonly csrgraph_weights: (a: number, b: number) => void;
|
|
6100
6069
|
readonly csrmatrix_diagonal: (a: number, b: number) => void;
|
|
6101
|
-
readonly csrmatrix_estimateLambdaMax: (a: number, b: number, c: number, d: number, e: number, f: number, g:
|
|
6102
|
-
readonly csrmatrix_estimateLambdaMaxLanczos: (a: number, b: number, c: number, d: number, e: number, f: number, g:
|
|
6070
|
+
readonly csrmatrix_estimateLambdaMax: (a: number, b: number, c: number, d: number, e: number, f: number, g: any) => void;
|
|
6071
|
+
readonly csrmatrix_estimateLambdaMaxLanczos: (a: number, b: number, c: number, d: number, e: number, f: number, g: any) => void;
|
|
6103
6072
|
readonly csrmatrix_fromCsr: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
6104
6073
|
readonly csrmatrix_gershgorinSpectralBound: (a: number) => number;
|
|
6105
6074
|
readonly csrmatrix_indices: (a: number, b: number) => void;
|
|
@@ -6159,6 +6128,28 @@ export interface InitOutput {
|
|
|
6159
6128
|
readonly dogvaradhanlandmarks_t2: (a: number) => number;
|
|
6160
6129
|
readonly dogvaradhanlandmarks_table: (a: number, b: number) => void;
|
|
6161
6130
|
readonly dogvaradhanlandmarks_usedCoarseScaffold: (a: number) => number;
|
|
6131
|
+
readonly drgraphsolver__run2d: (a: number, b: number, c: number) => void;
|
|
6132
|
+
readonly drgraphsolver__run3d: (a: number, b: number, c: number) => void;
|
|
6133
|
+
readonly drgraphsolver__runManifold: (a: number, b: number, c: number) => void;
|
|
6134
|
+
readonly drgraphsolver__runNd: (a: number, b: number, c: number) => void;
|
|
6135
|
+
readonly drgraphsolver__runSteps2d: (a: number, b: number, c: number, d: number) => void;
|
|
6136
|
+
readonly drgraphsolver__runSteps3d: (a: number, b: number, c: number, d: number) => void;
|
|
6137
|
+
readonly drgraphsolver__runStepsManifold: (a: number, b: number, c: number, d: number) => void;
|
|
6138
|
+
readonly drgraphsolver__runStepsNd: (a: number, b: number, c: number, d: number) => void;
|
|
6139
|
+
readonly drgraphsolver__step2d: (a: number, b: number, c: number) => void;
|
|
6140
|
+
readonly drgraphsolver__step3d: (a: number, b: number, c: number) => void;
|
|
6141
|
+
readonly drgraphsolver__stepManifold: (a: number, b: number, c: number) => void;
|
|
6142
|
+
readonly drgraphsolver__stepNd: (a: number, b: number, c: number) => void;
|
|
6143
|
+
readonly drgraphsolver_currentLr: (a: number) => number;
|
|
6144
|
+
readonly drgraphsolver_isFinished: (a: number) => number;
|
|
6145
|
+
readonly drgraphsolver_iteration: (a: number) => number;
|
|
6146
|
+
readonly drgraphsolver_new: (a: number, b: number, c: any) => void;
|
|
6147
|
+
readonly drgraphsolver_numLevels: (a: number) => number;
|
|
6148
|
+
readonly drgraphsolver_numNodes: (a: number) => number;
|
|
6149
|
+
readonly drgraphsolver_numSprings: (a: number) => number;
|
|
6150
|
+
readonly drgraphsolver_status: (a: number, b: number) => void;
|
|
6151
|
+
readonly drgraphsolver_target: (a: number, b: number) => void;
|
|
6152
|
+
readonly drgraphsolver_totalIterations: (a: number) => number;
|
|
6162
6153
|
readonly dynamickdtree_dims: (a: number) => number;
|
|
6163
6154
|
readonly dynamickdtree_fromFlat: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
6164
6155
|
readonly dynamickdtree_fromLayoutNd: (a: number, b: number) => void;
|
|
@@ -6173,6 +6164,26 @@ export interface InitOutput {
|
|
|
6173
6164
|
readonly dynamickdtree_withinRadius: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
6174
6165
|
readonly dynamickdtree_withinRadiusSq: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
6175
6166
|
readonly edgeAngle: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
6167
|
+
readonly edgepolylines__fromParts2d: (a: number, b: number, c: number, d: number) => void;
|
|
6168
|
+
readonly edgepolylines__fromParts3d: (a: number, b: number, c: number, d: number) => void;
|
|
6169
|
+
readonly edgepolylines__fromPartsNd: (a: number, b: number, c: number, d: number) => void;
|
|
6170
|
+
readonly edgepolylines__straightLineFromGraph2d: (a: number, b: number, c: number) => void;
|
|
6171
|
+
readonly edgepolylines__straightLineFromGraph3d: (a: number, b: number, c: number) => void;
|
|
6172
|
+
readonly edgepolylines__straightLineFromGraphNd: (a: number, b: number, c: number) => void;
|
|
6173
|
+
readonly edgepolylines_copy: (a: number) => number;
|
|
6174
|
+
readonly edgepolylines_copyEdgeOffsets: (a: number, b: number) => void;
|
|
6175
|
+
readonly edgepolylines_copyPoints: (a: number, b: number) => void;
|
|
6176
|
+
readonly edgepolylines_dims: (a: number) => number;
|
|
6177
|
+
readonly edgepolylines_edgeOffsetsLen: (a: number) => number;
|
|
6178
|
+
readonly edgepolylines_edgeOffsetsPtr: (a: number) => number;
|
|
6179
|
+
readonly edgepolylines_edgePointRange: (a: number, b: number, c: number) => void;
|
|
6180
|
+
readonly edgepolylines_isAllFinite: (a: number) => number;
|
|
6181
|
+
readonly edgepolylines_isEmpty: (a: number) => number;
|
|
6182
|
+
readonly edgepolylines_numEdges: (a: number) => number;
|
|
6183
|
+
readonly edgepolylines_pointsLen: (a: number) => number;
|
|
6184
|
+
readonly edgepolylines_pointsPtr: (a: number) => number;
|
|
6185
|
+
readonly edgepolylines_target: (a: number, b: number) => void;
|
|
6186
|
+
readonly edgepolylines_totalPoints: (a: number) => number;
|
|
6176
6187
|
readonly effectiveresistanceresult_amgAllConverged: (a: number) => number;
|
|
6177
6188
|
readonly effectiveresistanceresult_amgMaxRelativeResidual: (a: number) => number;
|
|
6178
6189
|
readonly effectiveresistanceresult_amgTotalIterations: (a: number) => number;
|
|
@@ -6196,27 +6207,21 @@ export interface InitOutput {
|
|
|
6196
6207
|
readonly eigenresult_vectors: (a: number, b: number) => void;
|
|
6197
6208
|
readonly extract1hop2hopCsr: (a: number, b: number) => void;
|
|
6198
6209
|
readonly extractQuadrilateralBackbone: (a: number, b: number, c: any) => void;
|
|
6199
|
-
readonly extractSparse1hop2hopPairs: (a: number, b: number, c: number, d: number, e:
|
|
6200
|
-
readonly extractSparse1hop2hopPairsWithMode: (a: number, b: number, c:
|
|
6201
|
-
readonly
|
|
6202
|
-
readonly
|
|
6203
|
-
readonly fdebsolver__runSteps2d: (a: number, b: number, c: number, d: number) => void;
|
|
6204
|
-
readonly fdebsolver__runStepsNd: (a: number, b: number, c: number, d: number) => void;
|
|
6205
|
-
readonly fdebsolver__step2d: (a: number, b: number, c: number) => void;
|
|
6206
|
-
readonly fdebsolver__stepNd: (a: number, b: number, c: number) => void;
|
|
6207
|
-
readonly fdebsolver_edgeOffsets: (a: number, b: number) => void;
|
|
6210
|
+
readonly extractSparse1hop2hopPairs: (a: number, b: number, c: number, d: number, e: any) => void;
|
|
6211
|
+
readonly extractSparse1hop2hopPairsWithMode: (a: number, b: number, c: any) => void;
|
|
6212
|
+
readonly fdebsolver_currentCycle: (a: number) => number;
|
|
6213
|
+
readonly fdebsolver_dims: (a: number) => number;
|
|
6208
6214
|
readonly fdebsolver_isFinished: (a: number) => number;
|
|
6209
6215
|
readonly fdebsolver_iteration: (a: number) => number;
|
|
6210
6216
|
readonly fdebsolver_new: (a: number, b: number, c: any) => void;
|
|
6217
|
+
readonly fdebsolver_numCompatiblePairs: (a: number) => number;
|
|
6211
6218
|
readonly fdebsolver_numEdges: (a: number) => number;
|
|
6212
|
-
readonly
|
|
6213
|
-
readonly
|
|
6214
|
-
readonly
|
|
6215
|
-
readonly fdebsolver_pointsAxis: (a: number, b: number, c: number) => void;
|
|
6216
|
-
readonly fdebsolver_pointsNd: (a: number, b: number) => void;
|
|
6217
|
-
readonly fdebsolver_pointsZ: (a: number, b: number) => void;
|
|
6219
|
+
readonly fdebsolver_ptsPerEdge: (a: number) => number;
|
|
6220
|
+
readonly fdebsolver_run: (a: number, b: number, c: number) => void;
|
|
6221
|
+
readonly fdebsolver_runSteps: (a: number, b: number, c: number, d: number) => void;
|
|
6218
6222
|
readonly fdebsolver_status: (a: number, b: number) => void;
|
|
6219
|
-
readonly
|
|
6223
|
+
readonly fdebsolver_step: (a: number, b: number, c: number) => void;
|
|
6224
|
+
readonly fdebsolver_target: (a: number, b: number) => void;
|
|
6220
6225
|
readonly fdebsolver_totalIterations: (a: number) => number;
|
|
6221
6226
|
readonly findAbParams: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
6222
6227
|
readonly fitfieldstats_inverseFfts: (a: number) => number;
|
|
@@ -6235,11 +6240,15 @@ export interface InitOutput {
|
|
|
6235
6240
|
readonly forbidoverlapremoval_step: (a: number, b: number, c: number) => void;
|
|
6236
6241
|
readonly forbidoverlapremoval_totalIterations: (a: number) => number;
|
|
6237
6242
|
readonly forceatlas2solver__run2d: (a: number, b: number, c: number) => void;
|
|
6243
|
+
readonly forceatlas2solver__run3d: (a: number, b: number, c: number) => void;
|
|
6238
6244
|
readonly forceatlas2solver__runNd: (a: number, b: number, c: number) => void;
|
|
6239
6245
|
readonly forceatlas2solver__runSteps2d: (a: number, b: number, c: number, d: number) => void;
|
|
6246
|
+
readonly forceatlas2solver__runSteps3d: (a: number, b: number, c: number, d: number) => void;
|
|
6240
6247
|
readonly forceatlas2solver__runStepsNd: (a: number, b: number, c: number, d: number) => void;
|
|
6241
6248
|
readonly forceatlas2solver__step2d: (a: number, b: number, c: number) => void;
|
|
6249
|
+
readonly forceatlas2solver__step3d: (a: number, b: number, c: number) => void;
|
|
6242
6250
|
readonly forceatlas2solver__stepNd: (a: number, b: number, c: number) => void;
|
|
6251
|
+
readonly forceatlas2solver_backend: (a: number, b: number) => void;
|
|
6243
6252
|
readonly forceatlas2solver_isFinished: (a: number) => number;
|
|
6244
6253
|
readonly forceatlas2solver_iteration: (a: number) => number;
|
|
6245
6254
|
readonly forceatlas2solver_maxDisplacement: (a: number) => number;
|
|
@@ -6247,16 +6256,21 @@ export interface InitOutput {
|
|
|
6247
6256
|
readonly forceatlas2solver_nodeRadii: (a: number, b: number) => void;
|
|
6248
6257
|
readonly forceatlas2solver_numNodes: (a: number) => number;
|
|
6249
6258
|
readonly forceatlas2solver_status: (a: number, b: number) => void;
|
|
6259
|
+
readonly forceatlas2solver_target: (a: number, b: number) => void;
|
|
6250
6260
|
readonly forceatlas2solver_totalIterations: (a: number) => number;
|
|
6251
6261
|
readonly fruchtermanreingoldsolver__run2d: (a: number, b: number, c: number) => void;
|
|
6262
|
+
readonly fruchtermanreingoldsolver__run3d: (a: number, b: number, c: number) => void;
|
|
6252
6263
|
readonly fruchtermanreingoldsolver__runManifold: (a: number, b: number, c: number) => void;
|
|
6253
6264
|
readonly fruchtermanreingoldsolver__runNd: (a: number, b: number, c: number) => void;
|
|
6254
6265
|
readonly fruchtermanreingoldsolver__runSteps2d: (a: number, b: number, c: number, d: number) => void;
|
|
6266
|
+
readonly fruchtermanreingoldsolver__runSteps3d: (a: number, b: number, c: number, d: number) => void;
|
|
6255
6267
|
readonly fruchtermanreingoldsolver__runStepsManifold: (a: number, b: number, c: number, d: number) => void;
|
|
6256
6268
|
readonly fruchtermanreingoldsolver__runStepsNd: (a: number, b: number, c: number, d: number) => void;
|
|
6257
6269
|
readonly fruchtermanreingoldsolver__step2d: (a: number, b: number, c: number) => void;
|
|
6270
|
+
readonly fruchtermanreingoldsolver__step3d: (a: number, b: number, c: number) => void;
|
|
6258
6271
|
readonly fruchtermanreingoldsolver__stepManifold: (a: number, b: number, c: number) => void;
|
|
6259
6272
|
readonly fruchtermanreingoldsolver__stepNd: (a: number, b: number, c: number) => void;
|
|
6273
|
+
readonly fruchtermanreingoldsolver_backend: (a: number, b: number) => void;
|
|
6260
6274
|
readonly fruchtermanreingoldsolver_currentTemperature: (a: number) => number;
|
|
6261
6275
|
readonly fruchtermanreingoldsolver_isFinished: (a: number) => number;
|
|
6262
6276
|
readonly fruchtermanreingoldsolver_iteration: (a: number) => number;
|
|
@@ -6264,6 +6278,7 @@ export interface InitOutput {
|
|
|
6264
6278
|
readonly fruchtermanreingoldsolver_numNodes: (a: number) => number;
|
|
6265
6279
|
readonly fruchtermanreingoldsolver_optimalDistance: (a: number) => number;
|
|
6266
6280
|
readonly fruchtermanreingoldsolver_status: (a: number, b: number) => void;
|
|
6281
|
+
readonly fruchtermanreingoldsolver_target: (a: number, b: number) => void;
|
|
6267
6282
|
readonly fruchtermanreingoldsolver_totalIterations: (a: number) => number;
|
|
6268
6283
|
readonly gemsolver_isFinished: (a: number) => number;
|
|
6269
6284
|
readonly gemsolver_iteration: (a: number) => number;
|
|
@@ -6276,16 +6291,37 @@ export interface InitOutput {
|
|
|
6276
6291
|
readonly gemsolver_totalIterations: (a: number) => number;
|
|
6277
6292
|
readonly generateHyperbolicTree: (a: number, b: number, c: number) => void;
|
|
6278
6293
|
readonly generateLayeredConstraints: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
6279
|
-
readonly generateLayeredDag: (a: number, b: number, c: number, d:
|
|
6280
|
-
readonly generateSbmGraph: (a: number, b: number, c: number, d:
|
|
6294
|
+
readonly generateLayeredDag: (a: number, b: number, c: number, d: any) => void;
|
|
6295
|
+
readonly generateSbmGraph: (a: number, b: number, c: number, d: any) => void;
|
|
6281
6296
|
readonly generateSphericalGrid: (a: number, b: number, c: number) => void;
|
|
6282
6297
|
readonly generateSphericalIcosphere: (a: number, b: number, c: number) => void;
|
|
6283
6298
|
readonly generateTorusGrid: (a: number, b: number, c: number, d: number) => void;
|
|
6284
|
-
readonly generateWeightedGraph: (a: number, b: number, c:
|
|
6299
|
+
readonly generateWeightedGraph: (a: number, b: number, c: any) => void;
|
|
6285
6300
|
readonly geodesicDistortion: (a: number, b: number, c: number) => void;
|
|
6286
|
-
readonly graph12hopRowNormalizedProbabilities: (a: number, b: number, c:
|
|
6287
|
-
readonly graph12hopRowNormalizedProbabilitiesWithOptions: (a: number, b: number, c:
|
|
6301
|
+
readonly graph12hopRowNormalizedProbabilities: (a: number, b: number, c: any) => void;
|
|
6302
|
+
readonly graph12hopRowNormalizedProbabilitiesWithOptions: (a: number, b: number, c: any) => void;
|
|
6288
6303
|
readonly graphRowNormalizedProbabilities: (a: number, b: number) => void;
|
|
6304
|
+
readonly graphcnesolver__run2d: (a: number, b: number, c: number) => void;
|
|
6305
|
+
readonly graphcnesolver__run3d: (a: number, b: number, c: number) => void;
|
|
6306
|
+
readonly graphcnesolver__runManifold: (a: number, b: number, c: number) => void;
|
|
6307
|
+
readonly graphcnesolver__runNd: (a: number, b: number, c: number) => void;
|
|
6308
|
+
readonly graphcnesolver__runSteps2d: (a: number, b: number, c: number, d: number) => void;
|
|
6309
|
+
readonly graphcnesolver__runSteps3d: (a: number, b: number, c: number, d: number) => void;
|
|
6310
|
+
readonly graphcnesolver__runStepsManifold: (a: number, b: number, c: number, d: number) => void;
|
|
6311
|
+
readonly graphcnesolver__runStepsNd: (a: number, b: number, c: number, d: number) => void;
|
|
6312
|
+
readonly graphcnesolver__step2d: (a: number, b: number, c: number) => void;
|
|
6313
|
+
readonly graphcnesolver__step3d: (a: number, b: number, c: number) => void;
|
|
6314
|
+
readonly graphcnesolver__stepManifold: (a: number, b: number, c: number) => void;
|
|
6315
|
+
readonly graphcnesolver__stepNd: (a: number, b: number, c: number) => void;
|
|
6316
|
+
readonly graphcnesolver_currentLr: (a: number) => number;
|
|
6317
|
+
readonly graphcnesolver_isFinished: (a: number) => number;
|
|
6318
|
+
readonly graphcnesolver_iteration: (a: number) => number;
|
|
6319
|
+
readonly graphcnesolver_new: (a: number, b: number, c: any) => void;
|
|
6320
|
+
readonly graphcnesolver_numNodes: (a: number) => number;
|
|
6321
|
+
readonly graphcnesolver_numSprings: (a: number) => number;
|
|
6322
|
+
readonly graphcnesolver_status: (a: number, b: number) => void;
|
|
6323
|
+
readonly graphcnesolver_target: (a: number, b: number) => void;
|
|
6324
|
+
readonly graphcnesolver_totalIterations: (a: number) => number;
|
|
6289
6325
|
readonly gripsolver_isFinished: (a: number) => number;
|
|
6290
6326
|
readonly gripsolver_iteration: (a: number) => number;
|
|
6291
6327
|
readonly gripsolver_new: (a: number, b: number, c: any) => void;
|
|
@@ -6318,30 +6354,36 @@ export interface InitOutput {
|
|
|
6318
6354
|
readonly gtreeoverlapremoval_step: (a: number, b: number, c: number) => void;
|
|
6319
6355
|
readonly gtreeoverlapremoval_totalIterations: (a: number) => number;
|
|
6320
6356
|
readonly gumapsolver__run2d: (a: number, b: number, c: number) => void;
|
|
6357
|
+
readonly gumapsolver__run3d: (a: number, b: number, c: number) => void;
|
|
6321
6358
|
readonly gumapsolver__runManifold: (a: number, b: number, c: number) => void;
|
|
6322
6359
|
readonly gumapsolver__runNd: (a: number, b: number, c: number) => void;
|
|
6323
6360
|
readonly gumapsolver__runSteps2d: (a: number, b: number, c: number, d: number) => void;
|
|
6361
|
+
readonly gumapsolver__runSteps3d: (a: number, b: number, c: number, d: number) => void;
|
|
6324
6362
|
readonly gumapsolver__runStepsManifold: (a: number, b: number, c: number, d: number) => void;
|
|
6325
6363
|
readonly gumapsolver__runStepsNd: (a: number, b: number, c: number, d: number) => void;
|
|
6326
6364
|
readonly gumapsolver__step2d: (a: number, b: number, c: number) => void;
|
|
6365
|
+
readonly gumapsolver__step3d: (a: number, b: number, c: number) => void;
|
|
6327
6366
|
readonly gumapsolver__stepManifold: (a: number, b: number, c: number) => void;
|
|
6328
6367
|
readonly gumapsolver__stepNd: (a: number, b: number, c: number) => void;
|
|
6329
6368
|
readonly gumapsolver_a: (a: number) => number;
|
|
6330
6369
|
readonly gumapsolver_ab: (a: number, b: number) => void;
|
|
6331
6370
|
readonly gumapsolver_b: (a: number) => number;
|
|
6332
|
-
readonly gumapsolver_fromFuzzySet: (a: number, b: number, c: any
|
|
6333
|
-
readonly gumapsolver_fromGraphDog: (a: number, b: number, c: any
|
|
6334
|
-
readonly gumapsolver_fromKnn: (a: number, b: number, c: any
|
|
6335
|
-
readonly gumapsolver_fromLandmarks: (a: number, b: number, c: number, d: any
|
|
6371
|
+
readonly gumapsolver_fromFuzzySet: (a: number, b: number, c: any) => void;
|
|
6372
|
+
readonly gumapsolver_fromGraphDog: (a: number, b: number, c: any) => void;
|
|
6373
|
+
readonly gumapsolver_fromKnn: (a: number, b: number, c: any) => void;
|
|
6374
|
+
readonly gumapsolver_fromLandmarks: (a: number, b: number, c: number, d: any) => void;
|
|
6336
6375
|
readonly gumapsolver_isFinished: (a: number) => number;
|
|
6337
6376
|
readonly gumapsolver_iteration: (a: number) => number;
|
|
6338
6377
|
readonly gumapsolver_new: (a: number, b: number, c: any) => void;
|
|
6339
6378
|
readonly gumapsolver_numEdges: (a: number) => number;
|
|
6340
6379
|
readonly gumapsolver_numNodes: (a: number) => number;
|
|
6341
6380
|
readonly gumapsolver_status: (a: number, b: number) => void;
|
|
6381
|
+
readonly gumapsolver_target: (a: number, b: number) => void;
|
|
6342
6382
|
readonly gumapsolver_totalIterations: (a: number) => number;
|
|
6343
6383
|
readonly hde: (a: number, b: number, c: any) => void;
|
|
6344
6384
|
readonly hdeNd: (a: number, b: number, c: any) => void;
|
|
6385
|
+
readonly hde_generate: (a: number, b: number, c: number) => void;
|
|
6386
|
+
readonly hde_new: (a: number, b: any) => void;
|
|
6345
6387
|
readonly hybridknnresult_avgDeg1: (a: number) => number;
|
|
6346
6388
|
readonly hybridknnresult_avgDeg2: (a: number) => number;
|
|
6347
6389
|
readonly hybridknnresult_avgRowK: (a: number) => number;
|
|
@@ -6353,7 +6395,7 @@ export interface InitOutput {
|
|
|
6353
6395
|
readonly ibumapsolver_a: (a: number) => number;
|
|
6354
6396
|
readonly ibumapsolver_ab: (a: number, b: number) => void;
|
|
6355
6397
|
readonly ibumapsolver_b: (a: number) => number;
|
|
6356
|
-
readonly
|
|
6398
|
+
readonly ibumapsolver_backend: (a: number, b: number) => void;
|
|
6357
6399
|
readonly ibumapsolver_fromFuzzySet: (a: number, b: number, c: any, d: any) => void;
|
|
6358
6400
|
readonly ibumapsolver_fromKnn: (a: number, b: number, c: any) => void;
|
|
6359
6401
|
readonly ibumapsolver_fromLandmarks: (a: number, b: number, c: number, d: any, e: any) => void;
|
|
@@ -6366,26 +6408,31 @@ export interface InitOutput {
|
|
|
6366
6408
|
readonly ibumapsolver_runSteps: (a: number, b: number, c: number, d: number) => void;
|
|
6367
6409
|
readonly ibumapsolver_status: (a: number, b: number) => void;
|
|
6368
6410
|
readonly ibumapsolver_step: (a: number, b: number, c: number) => void;
|
|
6411
|
+
readonly ibumapsolver_target: (a: number, b: number) => void;
|
|
6369
6412
|
readonly ibumapsolver_totalFft2dCalls: (a: number) => number;
|
|
6370
6413
|
readonly ibumapsolver_totalIterations: (a: number) => number;
|
|
6371
6414
|
readonly kamadakawaisolver__run2d: (a: number, b: number, c: number) => void;
|
|
6415
|
+
readonly kamadakawaisolver__run3d: (a: number, b: number, c: number) => void;
|
|
6372
6416
|
readonly kamadakawaisolver__runManifold: (a: number, b: number, c: number) => void;
|
|
6373
6417
|
readonly kamadakawaisolver__runNd: (a: number, b: number, c: number) => void;
|
|
6374
6418
|
readonly kamadakawaisolver__runSteps2d: (a: number, b: number, c: number, d: number) => void;
|
|
6419
|
+
readonly kamadakawaisolver__runSteps3d: (a: number, b: number, c: number, d: number) => void;
|
|
6375
6420
|
readonly kamadakawaisolver__runStepsManifold: (a: number, b: number, c: number, d: number) => void;
|
|
6376
6421
|
readonly kamadakawaisolver__runStepsNd: (a: number, b: number, c: number, d: number) => void;
|
|
6377
6422
|
readonly kamadakawaisolver__step2d: (a: number, b: number, c: number) => void;
|
|
6423
|
+
readonly kamadakawaisolver__step3d: (a: number, b: number, c: number) => void;
|
|
6378
6424
|
readonly kamadakawaisolver__stepManifold: (a: number, b: number, c: number) => void;
|
|
6379
6425
|
readonly kamadakawaisolver__stepNd: (a: number, b: number, c: number) => void;
|
|
6380
|
-
readonly kamadakawaisolver_fromDistanceMatrix: (a: number, b: number, c: number, d: number, e: any
|
|
6381
|
-
readonly kamadakawaisolver_fromGraph: (a: number, b: number, c: any
|
|
6426
|
+
readonly kamadakawaisolver_fromDistanceMatrix: (a: number, b: number, c: number, d: number, e: any) => void;
|
|
6427
|
+
readonly kamadakawaisolver_fromGraph: (a: number, b: number, c: any) => void;
|
|
6382
6428
|
readonly kamadakawaisolver_isFinished: (a: number) => number;
|
|
6383
6429
|
readonly kamadakawaisolver_iteration: (a: number) => number;
|
|
6384
6430
|
readonly kamadakawaisolver_new: (a: number, b: number, c: any) => void;
|
|
6385
6431
|
readonly kamadakawaisolver_numNodes: (a: number) => number;
|
|
6386
6432
|
readonly kamadakawaisolver_status: (a: number, b: number) => void;
|
|
6433
|
+
readonly kamadakawaisolver_target: (a: number, b: number) => void;
|
|
6387
6434
|
readonly kamadakawaisolver_totalIterations: (a: number) => number;
|
|
6388
|
-
readonly kmeansPlusPlus: (a: number, b: number, c: number, d: number, e: number, f:
|
|
6435
|
+
readonly kmeansPlusPlus: (a: number, b: number, c: number, d: number, e: number, f: any) => void;
|
|
6389
6436
|
readonly kmeansresult_centroids: (a: number, b: number) => void;
|
|
6390
6437
|
readonly kmeansresult_centroidsLen: (a: number) => number;
|
|
6391
6438
|
readonly kmeansresult_centroidsPtr: (a: number) => number;
|
|
@@ -6404,8 +6451,10 @@ export interface InitOutput {
|
|
|
6404
6451
|
readonly knngraph_indptr: (a: number, b: number) => void;
|
|
6405
6452
|
readonly knngraph_nnz: (a: number) => number;
|
|
6406
6453
|
readonly knngraph_numNodes: (a: number) => number;
|
|
6407
|
-
readonly korenSpectralInit: (a: number, b: number, c: any
|
|
6408
|
-
readonly
|
|
6454
|
+
readonly korenSpectralInit: (a: number, b: number, c: any) => void;
|
|
6455
|
+
readonly korenspectral_generate: (a: number, b: number, c: number) => void;
|
|
6456
|
+
readonly korenspectral_new: (a: number, b: any) => void;
|
|
6457
|
+
readonly labelPropagation: (a: number, b: number, c: number, d: number, e: any) => void;
|
|
6409
6458
|
readonly labelpropagationresult_converged: (a: number) => number;
|
|
6410
6459
|
readonly labelpropagationresult_iterations: (a: number) => number;
|
|
6411
6460
|
readonly labelpropagationresult_labels: (a: number, b: number) => void;
|
|
@@ -6413,16 +6462,37 @@ export interface InitOutput {
|
|
|
6413
6462
|
readonly labelpropagationresult_labelsPtr: (a: number) => number;
|
|
6414
6463
|
readonly labelpropagationresult_numCommunities: (a: number) => number;
|
|
6415
6464
|
readonly labelpropagationresult_toRecord: (a: number, b: number) => void;
|
|
6416
|
-
readonly laplacian: (a: number, b: number, c:
|
|
6465
|
+
readonly laplacian: (a: number, b: number, c: any) => void;
|
|
6417
6466
|
readonly largestconnectedcomponentresult_graph: (a: number) => number;
|
|
6418
6467
|
readonly largestconnectedcomponentresult_nodeIds: (a: number, b: number) => void;
|
|
6419
6468
|
readonly largestconnectedcomponentresult_originalNodeIds: (a: number, b: number) => void;
|
|
6469
|
+
readonly largevissolver__run2d: (a: number, b: number, c: number) => void;
|
|
6470
|
+
readonly largevissolver__run3d: (a: number, b: number, c: number) => void;
|
|
6471
|
+
readonly largevissolver__runManifold: (a: number, b: number, c: number) => void;
|
|
6472
|
+
readonly largevissolver__runNd: (a: number, b: number, c: number) => void;
|
|
6473
|
+
readonly largevissolver__runSteps2d: (a: number, b: number, c: number, d: number) => void;
|
|
6474
|
+
readonly largevissolver__runSteps3d: (a: number, b: number, c: number, d: number) => void;
|
|
6475
|
+
readonly largevissolver__runStepsManifold: (a: number, b: number, c: number, d: number) => void;
|
|
6476
|
+
readonly largevissolver__runStepsNd: (a: number, b: number, c: number, d: number) => void;
|
|
6477
|
+
readonly largevissolver__step2d: (a: number, b: number, c: number) => void;
|
|
6478
|
+
readonly largevissolver__step3d: (a: number, b: number, c: number) => void;
|
|
6479
|
+
readonly largevissolver__stepManifold: (a: number, b: number, c: number) => void;
|
|
6480
|
+
readonly largevissolver__stepNd: (a: number, b: number, c: number) => void;
|
|
6481
|
+
readonly largevissolver_currentLr: (a: number) => number;
|
|
6482
|
+
readonly largevissolver_isFinished: (a: number) => number;
|
|
6483
|
+
readonly largevissolver_iteration: (a: number) => number;
|
|
6484
|
+
readonly largevissolver_new: (a: number, b: number, c: any) => void;
|
|
6485
|
+
readonly largevissolver_numNodes: (a: number) => number;
|
|
6486
|
+
readonly largevissolver_numSprings: (a: number) => number;
|
|
6487
|
+
readonly largevissolver_status: (a: number, b: number) => void;
|
|
6488
|
+
readonly largevissolver_target: (a: number, b: number) => void;
|
|
6489
|
+
readonly largevissolver_totalIterations: (a: number) => number;
|
|
6420
6490
|
readonly layout2d_coordsLen: (a: number) => number;
|
|
6421
6491
|
readonly layout2d_coordsPtr: (a: number) => number;
|
|
6422
6492
|
readonly layout2d_copy: (a: number) => number;
|
|
6423
6493
|
readonly layout2d_copyCoords: (a: number, b: number) => void;
|
|
6424
6494
|
readonly layout2d_fromCoords: (a: number, b: number, c: number) => void;
|
|
6425
|
-
readonly layout2d_init: (a: number, b: number, c:
|
|
6495
|
+
readonly layout2d_init: (a: number, b: number, c: any, d: number, e: number) => void;
|
|
6426
6496
|
readonly layout2d_isAllFinite: (a: number) => number;
|
|
6427
6497
|
readonly layout2d_isEmpty: (a: number) => number;
|
|
6428
6498
|
readonly layout2d_len: (a: number) => number;
|
|
@@ -6433,6 +6503,28 @@ export interface InitOutput {
|
|
|
6433
6503
|
readonly layout2d_x: (a: number, b: number, c: number) => void;
|
|
6434
6504
|
readonly layout2d_y: (a: number, b: number, c: number) => void;
|
|
6435
6505
|
readonly layout2d_zeros: (a: number, b: number) => void;
|
|
6506
|
+
readonly layout3d_coordsLen: (a: number) => number;
|
|
6507
|
+
readonly layout3d_coordsPtr: (a: number) => number;
|
|
6508
|
+
readonly layout3d_copy: (a: number) => number;
|
|
6509
|
+
readonly layout3d_copyCoords: (a: number, b: number) => void;
|
|
6510
|
+
readonly layout3d_fromCoords: (a: number, b: number, c: number) => void;
|
|
6511
|
+
readonly layout3d_fromXyz: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
6512
|
+
readonly layout3d_get: (a: number, b: number, c: number) => void;
|
|
6513
|
+
readonly layout3d_init: (a: number, b: number, c: any) => void;
|
|
6514
|
+
readonly layout3d_isAllFinite: (a: number) => number;
|
|
6515
|
+
readonly layout3d_isEmpty: (a: number) => number;
|
|
6516
|
+
readonly layout3d_len: (a: number) => number;
|
|
6517
|
+
readonly layout3d_normalizeStd: (a: number, b: number, c: number, d: number) => void;
|
|
6518
|
+
readonly layout3d_numNodes: (a: number) => number;
|
|
6519
|
+
readonly layout3d_set: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
6520
|
+
readonly layout3d_setX: (a: number, b: number, c: number, d: number) => void;
|
|
6521
|
+
readonly layout3d_setY: (a: number, b: number, c: number, d: number) => void;
|
|
6522
|
+
readonly layout3d_setZ: (a: number, b: number, c: number, d: number) => void;
|
|
6523
|
+
readonly layout3d_toInterleaved: (a: number, b: number) => void;
|
|
6524
|
+
readonly layout3d_x: (a: number, b: number, c: number) => void;
|
|
6525
|
+
readonly layout3d_y: (a: number, b: number, c: number) => void;
|
|
6526
|
+
readonly layout3d_z: (a: number, b: number, c: number) => void;
|
|
6527
|
+
readonly layout3d_zeros: (a: number, b: number) => void;
|
|
6436
6528
|
readonly layoutdegeneracy_bboxHeight: (a: number) => number;
|
|
6437
6529
|
readonly layoutdegeneracy_bboxWidth: (a: number) => number;
|
|
6438
6530
|
readonly layoutdegeneracy_duplicateNodesF32: (a: number) => number;
|
|
@@ -6454,7 +6546,7 @@ export interface InitOutput {
|
|
|
6454
6546
|
readonly layoutnd_dims: (a: number) => number;
|
|
6455
6547
|
readonly layoutnd_fromCoords: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
6456
6548
|
readonly layoutnd_get: (a: number, b: number, c: number, d: number) => void;
|
|
6457
|
-
readonly layoutnd_init: (a: number, b: number, c: number, d:
|
|
6549
|
+
readonly layoutnd_init: (a: number, b: number, c: number, d: any) => void;
|
|
6458
6550
|
readonly layoutnd_isAllFinite: (a: number) => number;
|
|
6459
6551
|
readonly layoutnd_isEmpty: (a: number) => number;
|
|
6460
6552
|
readonly layoutnd_len: (a: number) => number;
|
|
@@ -6472,13 +6564,18 @@ export interface InitOutput {
|
|
|
6472
6564
|
readonly leidenresult_quality: (a: number) => number;
|
|
6473
6565
|
readonly leidenresult_toRecord: (a: number, b: number) => void;
|
|
6474
6566
|
readonly linlogsolver__energy2d: (a: number, b: number, c: number) => void;
|
|
6567
|
+
readonly linlogsolver__energy3d: (a: number, b: number, c: number) => void;
|
|
6475
6568
|
readonly linlogsolver__energyNd: (a: number, b: number, c: number) => void;
|
|
6476
6569
|
readonly linlogsolver__run2d: (a: number, b: number, c: number) => void;
|
|
6570
|
+
readonly linlogsolver__run3d: (a: number, b: number, c: number) => void;
|
|
6477
6571
|
readonly linlogsolver__runNd: (a: number, b: number, c: number) => void;
|
|
6478
6572
|
readonly linlogsolver__runSteps2d: (a: number, b: number, c: number, d: number) => void;
|
|
6573
|
+
readonly linlogsolver__runSteps3d: (a: number, b: number, c: number, d: number) => void;
|
|
6479
6574
|
readonly linlogsolver__runStepsNd: (a: number, b: number, c: number, d: number) => void;
|
|
6480
6575
|
readonly linlogsolver__step2d: (a: number, b: number, c: number) => void;
|
|
6576
|
+
readonly linlogsolver__step3d: (a: number, b: number, c: number) => void;
|
|
6481
6577
|
readonly linlogsolver__stepNd: (a: number, b: number, c: number) => void;
|
|
6578
|
+
readonly linlogsolver_backend: (a: number, b: number) => void;
|
|
6482
6579
|
readonly linlogsolver_isFinished: (a: number) => number;
|
|
6483
6580
|
readonly linlogsolver_iteration: (a: number) => number;
|
|
6484
6581
|
readonly linlogsolver_masses: (a: number, b: number) => void;
|
|
@@ -6486,6 +6583,7 @@ export interface InitOutput {
|
|
|
6486
6583
|
readonly linlogsolver_new: (a: number, b: number, c: any) => void;
|
|
6487
6584
|
readonly linlogsolver_numNodes: (a: number) => number;
|
|
6488
6585
|
readonly linlogsolver_status: (a: number, b: number) => void;
|
|
6586
|
+
readonly linlogsolver_target: (a: number, b: number) => void;
|
|
6489
6587
|
readonly linlogsolver_totalIterations: (a: number) => number;
|
|
6490
6588
|
readonly listDatasets: (a: number) => void;
|
|
6491
6589
|
readonly lorentzDistance: (a: number, b: number, c: number, d: number) => number;
|
|
@@ -6494,7 +6592,7 @@ export interface InitOutput {
|
|
|
6494
6592
|
readonly lorentzLogMap: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
6495
6593
|
readonly lorentzToPoincarePoint: (a: number, b: number, c: number) => void;
|
|
6496
6594
|
readonly louvainCoarsen: (a: number, b: number, c: any) => void;
|
|
6497
|
-
readonly louvainCommunities: (a: number, b: number, c:
|
|
6595
|
+
readonly louvainCommunities: (a: number, b: number, c: any) => void;
|
|
6498
6596
|
readonly louvainresult_labels: (a: number, b: number) => void;
|
|
6499
6597
|
readonly louvainresult_labelsLen: (a: number) => number;
|
|
6500
6598
|
readonly louvainresult_labelsPtr: (a: number) => number;
|
|
@@ -6515,7 +6613,7 @@ export interface InitOutput {
|
|
|
6515
6613
|
readonly manifoldlayout2d_geodesicDistance: (a: number, b: number, c: number, d: number) => void;
|
|
6516
6614
|
readonly manifoldlayout2d_hyperbolicLorentz: (a: number, b: number) => void;
|
|
6517
6615
|
readonly manifoldlayout2d_hyperbolicPoincare: (a: number, b: number) => void;
|
|
6518
|
-
readonly manifoldlayout2d_init: (a: number, b: number, c: number, d: number, e:
|
|
6616
|
+
readonly manifoldlayout2d_init: (a: number, b: number, c: number, d: number, e: any) => void;
|
|
6519
6617
|
readonly manifoldlayout2d_isAllFinite: (a: number) => number;
|
|
6520
6618
|
readonly manifoldlayout2d_isEmpty: (a: number) => number;
|
|
6521
6619
|
readonly manifoldlayout2d_kind: (a: number, b: number) => void;
|
|
@@ -6525,7 +6623,7 @@ export interface InitOutput {
|
|
|
6525
6623
|
readonly manifoldlayout2d_numNodes: (a: number) => number;
|
|
6526
6624
|
readonly manifoldlayout2d_poincareCentroid: (a: number, b: number) => void;
|
|
6527
6625
|
readonly manifoldlayout2d_projectAll: (a: number, b: number) => void;
|
|
6528
|
-
readonly manifoldlayout2d_randomInit: (a: number, b: number, c: number, d: number, e:
|
|
6626
|
+
readonly manifoldlayout2d_randomInit: (a: number, b: number, c: number, d: number, e: any) => void;
|
|
6529
6627
|
readonly manifoldlayout2d_recenterPoincare: (a: number, b: number, c: number, d: number) => void;
|
|
6530
6628
|
readonly manifoldlayout2d_recenterPoincareAt: (a: number, b: number, c: number) => void;
|
|
6531
6629
|
readonly manifoldlayout2d_rescaleGeodesic: (a: number, b: number, c: number) => void;
|
|
@@ -6540,16 +6638,20 @@ export interface InitOutput {
|
|
|
6540
6638
|
readonly manifoldlayout2d_toPoincareLayout: (a: number, b: number) => void;
|
|
6541
6639
|
readonly manifoldlayout2d_torus2d: (a: number, b: number) => void;
|
|
6542
6640
|
readonly manifoldlayout2d_torusAutoPan: (a: number, b: number, c: number) => void;
|
|
6543
|
-
readonly manifoldlayout2d_torusSpectralPhaseInit: (a: number, b: number, c:
|
|
6641
|
+
readonly manifoldlayout2d_torusSpectralPhaseInit: (a: number, b: number, c: any) => void;
|
|
6544
6642
|
readonly manifoldlayout2d_x: (a: number, b: number, c: number) => void;
|
|
6545
6643
|
readonly manifoldlayout2d_y: (a: number, b: number, c: number) => void;
|
|
6546
6644
|
readonly manifoldlayout2d_zeros: (a: number, b: number, c: number, d: number) => void;
|
|
6547
6645
|
readonly maxentstresssolver__run2d: (a: number, b: number, c: number) => void;
|
|
6646
|
+
readonly maxentstresssolver__run3d: (a: number, b: number, c: number) => void;
|
|
6548
6647
|
readonly maxentstresssolver__runNd: (a: number, b: number, c: number) => void;
|
|
6549
6648
|
readonly maxentstresssolver__runSteps2d: (a: number, b: number, c: number, d: number) => void;
|
|
6649
|
+
readonly maxentstresssolver__runSteps3d: (a: number, b: number, c: number, d: number) => void;
|
|
6550
6650
|
readonly maxentstresssolver__runStepsNd: (a: number, b: number, c: number, d: number) => void;
|
|
6551
6651
|
readonly maxentstresssolver__step2d: (a: number, b: number, c: number) => void;
|
|
6652
|
+
readonly maxentstresssolver__step3d: (a: number, b: number, c: number) => void;
|
|
6552
6653
|
readonly maxentstresssolver__stepNd: (a: number, b: number, c: number) => void;
|
|
6654
|
+
readonly maxentstresssolver_backend: (a: number, b: number) => void;
|
|
6553
6655
|
readonly maxentstresssolver_currentAlpha: (a: number) => number;
|
|
6554
6656
|
readonly maxentstresssolver_effectiveQ: (a: number) => number;
|
|
6555
6657
|
readonly maxentstresssolver_isFinished: (a: number) => number;
|
|
@@ -6557,6 +6659,7 @@ export interface InitOutput {
|
|
|
6557
6659
|
readonly maxentstresssolver_new: (a: number, b: number, c: any) => void;
|
|
6558
6660
|
readonly maxentstresssolver_numNodes: (a: number) => number;
|
|
6559
6661
|
readonly maxentstresssolver_status: (a: number, b: number) => void;
|
|
6662
|
+
readonly maxentstresssolver_target: (a: number, b: number) => void;
|
|
6560
6663
|
readonly maxentstresssolver_totalIterations: (a: number) => number;
|
|
6561
6664
|
readonly metricreport_adjustedPatchNig: (a: number, b: number) => void;
|
|
6562
6665
|
readonly metricreport_angularResolution: (a: number, b: number) => void;
|
|
@@ -6619,7 +6722,7 @@ export interface InitOutput {
|
|
|
6619
6722
|
readonly minimumanglesummary_toRecord: (a: number, b: number) => void;
|
|
6620
6723
|
readonly norMetrics: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
6621
6724
|
readonly norMetricsWithoutGraph: (a: number, b: number, c: number, d: number, e: number, f: number, g: number) => void;
|
|
6622
|
-
readonly normalizeLayout2d: (a: number, b: number, c: number, d: number, e:
|
|
6725
|
+
readonly normalizeLayout2d: (a: number, b: number, c: number, d: number, e: any) => void;
|
|
6623
6726
|
readonly normetricsresult_elRsd: (a: number) => number;
|
|
6624
6727
|
readonly normetricsresult_gsBbIar: (a: number) => number;
|
|
6625
6728
|
readonly normetricsresult_nmDmImse: (a: number) => number;
|
|
@@ -6629,8 +6732,33 @@ export interface InitOutput {
|
|
|
6629
6732
|
readonly pacmapbackboneresult_backbone: (a: number) => number;
|
|
6630
6733
|
readonly pacmapbackboneresult_fineLayout: (a: number) => number;
|
|
6631
6734
|
readonly pacmapbackboneresult_solver: (a: number) => number;
|
|
6735
|
+
readonly pacmapgraphsolver__run2d: (a: number, b: number, c: number) => void;
|
|
6736
|
+
readonly pacmapgraphsolver__run3d: (a: number, b: number, c: number) => void;
|
|
6737
|
+
readonly pacmapgraphsolver__runManifold: (a: number, b: number, c: number) => void;
|
|
6738
|
+
readonly pacmapgraphsolver__runNd: (a: number, b: number, c: number) => void;
|
|
6739
|
+
readonly pacmapgraphsolver__runSteps2d: (a: number, b: number, c: number, d: number) => void;
|
|
6740
|
+
readonly pacmapgraphsolver__runSteps3d: (a: number, b: number, c: number, d: number) => void;
|
|
6741
|
+
readonly pacmapgraphsolver__runStepsManifold: (a: number, b: number, c: number, d: number) => void;
|
|
6742
|
+
readonly pacmapgraphsolver__runStepsNd: (a: number, b: number, c: number, d: number) => void;
|
|
6743
|
+
readonly pacmapgraphsolver__step2d: (a: number, b: number, c: number) => void;
|
|
6744
|
+
readonly pacmapgraphsolver__step3d: (a: number, b: number, c: number) => void;
|
|
6745
|
+
readonly pacmapgraphsolver__stepManifold: (a: number, b: number, c: number) => void;
|
|
6746
|
+
readonly pacmapgraphsolver__stepNd: (a: number, b: number, c: number) => void;
|
|
6747
|
+
readonly pacmapgraphsolver_fromGraph: (a: number, b: number, c: any) => void;
|
|
6748
|
+
readonly pacmapgraphsolver_isFinished: (a: number) => number;
|
|
6749
|
+
readonly pacmapgraphsolver_iteration: (a: number) => number;
|
|
6750
|
+
readonly pacmapgraphsolver_new: (a: number, b: number, c: any) => void;
|
|
6751
|
+
readonly pacmapgraphsolver_numHinges: (a: number) => number;
|
|
6752
|
+
readonly pacmapgraphsolver_numNodes: (a: number) => number;
|
|
6753
|
+
readonly pacmapgraphsolver_numSprings: (a: number) => number;
|
|
6754
|
+
readonly pacmapgraphsolver_status: (a: number, b: number) => void;
|
|
6755
|
+
readonly pacmapgraphsolver_target: (a: number, b: number) => void;
|
|
6756
|
+
readonly pacmapgraphsolver_totalIterations: (a: number) => number;
|
|
6757
|
+
readonly pacmapgraphsolver_withBackbone: (a: number, b: number, c: any) => void;
|
|
6758
|
+
readonly pacmapgraphsolver_withLandmarkDistances: (a: number, b: number, c: number, d: number, e: number, f: any) => void;
|
|
6759
|
+
readonly pacmapgraphsolver_withLandmarks: (a: number, b: number, c: number, d: any) => void;
|
|
6632
6760
|
readonly parseCsrCsv: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
6633
|
-
readonly partialBfsKnn: (a: number, b: number, c: number, d: number, e:
|
|
6761
|
+
readonly partialBfsKnn: (a: number, b: number, c: number, d: number, e: any) => void;
|
|
6634
6762
|
readonly partitionAgreement: (a: number, b: any, c: any) => void;
|
|
6635
6763
|
readonly partitionagreementresult_ami: (a: number) => number;
|
|
6636
6764
|
readonly partitionagreementresult_ari: (a: number) => number;
|
|
@@ -6639,21 +6767,17 @@ export interface InitOutput {
|
|
|
6639
6767
|
readonly partitionagreementresult_homogeneity: (a: number) => number;
|
|
6640
6768
|
readonly partitionagreementresult_toRecord: (a: number, b: number) => void;
|
|
6641
6769
|
readonly partitionagreementresult_vMeasure: (a: number) => number;
|
|
6770
|
+
readonly pfsprimeoverlapremoval_apply: (a: number, b: number, c: number) => void;
|
|
6642
6771
|
readonly pfsprimeoverlapremoval_fromRadii: (a: number, b: number, c: number, d: any) => void;
|
|
6643
|
-
readonly pfsprimeoverlapremoval_isFinished: (a: number) => number;
|
|
6644
|
-
readonly pfsprimeoverlapremoval_iteration: (a: number) => number;
|
|
6645
6772
|
readonly pfsprimeoverlapremoval_lastOverlapCount: (a: number) => number;
|
|
6646
6773
|
readonly pfsprimeoverlapremoval_new: (a: number, b: number, c: number, d: number, e: number, f: any) => void;
|
|
6647
6774
|
readonly pfsprimeoverlapremoval_numNodes: (a: number) => number;
|
|
6648
|
-
readonly
|
|
6649
|
-
readonly
|
|
6650
|
-
readonly
|
|
6651
|
-
readonly
|
|
6652
|
-
readonly
|
|
6653
|
-
readonly
|
|
6654
|
-
readonly pivotMdsFromDistances: (a: number, b: number, c: number, d: number, e: number, f: any, g: number, h: number) => void;
|
|
6655
|
-
readonly pivotMdsInit: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: any) => void;
|
|
6656
|
-
readonly pivotMdsWithPivots: (a: number, b: number, c: number, d: number, e: any, f: number, g: number) => void;
|
|
6775
|
+
readonly pivotMds: (a: number, b: number, c: any) => void;
|
|
6776
|
+
readonly pivotMdsFromDistances: (a: number, b: number, c: number, d: number, e: number, f: any) => void;
|
|
6777
|
+
readonly pivotMdsInit: (a: number, b: number, c: any) => void;
|
|
6778
|
+
readonly pivotMdsWithPivots: (a: number, b: number, c: number, d: number, e: any) => void;
|
|
6779
|
+
readonly pivotmds_generate: (a: number, b: number, c: number) => void;
|
|
6780
|
+
readonly pivotmds_new: (a: number, b: any) => void;
|
|
6657
6781
|
readonly poincareDistance: (a: number, b: number, c: number, d: number) => number;
|
|
6658
6782
|
readonly poincareEinsteinMidpoint: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
6659
6783
|
readonly poincareMobiusAdd: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
@@ -6674,14 +6798,16 @@ export interface InitOutput {
|
|
|
6674
6798
|
readonly prismoverlapremoval_step: (a: number, b: number, c: number) => void;
|
|
6675
6799
|
readonly prismoverlapremoval_totalIterations: (a: number) => number;
|
|
6676
6800
|
readonly project1d: (a: number, b: number, c: number, d: any, e: any) => void;
|
|
6677
|
-
readonly projectClusteredLayout: (a: number, b: number, c: number, d: number, e:
|
|
6678
|
-
readonly projectClusteredLayoutWithRadii: (a: number, b: number, c: number, d: number, e: number, f: number, g:
|
|
6801
|
+
readonly projectClusteredLayout: (a: number, b: number, c: number, d: number, e: any) => void;
|
|
6802
|
+
readonly projectClusteredLayoutWithRadii: (a: number, b: number, c: number, d: number, e: number, f: number, g: any) => void;
|
|
6679
6803
|
readonly projectClusteredRectangleNoOverlap2d: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
6680
6804
|
readonly projectLayoutAxis: (a: number, b: number, c: any, d: any) => void;
|
|
6681
|
-
readonly projectPsdSpectralFilter: (a: number, b: any, c:
|
|
6805
|
+
readonly projectPsdSpectralFilter: (a: number, b: any, c: any) => void;
|
|
6682
6806
|
readonly projectRectangleNoOverlap2d: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
6683
6807
|
readonly randomWalkLaplacian: (a: number) => number;
|
|
6684
|
-
readonly rdMds: (a: number, b: number, c:
|
|
6808
|
+
readonly rdMds: (a: number, b: number, c: any) => void;
|
|
6809
|
+
readonly rdmds_generate: (a: number, b: number, c: number) => void;
|
|
6810
|
+
readonly rdmds_new: (a: number, b: any) => void;
|
|
6685
6811
|
readonly rectangleOverlaps: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
6686
6812
|
readonly refineClusterLayout: (a: number, b: number, c: any, d: any) => void;
|
|
6687
6813
|
readonly removeCycles: (a: number, b: number) => void;
|
|
@@ -6748,15 +6874,15 @@ export interface InitOutput {
|
|
|
6748
6874
|
readonly rhghlandmarksresult_pExp: (a: number) => number;
|
|
6749
6875
|
readonly rhghlandmarksresult_sSw: (a: number) => number;
|
|
6750
6876
|
readonly rhghlandmarksresult_totalPcgIters: (a: number) => number;
|
|
6751
|
-
readonly robustNormalizeLayout2d: (a: number, b: number, c:
|
|
6877
|
+
readonly robustNormalizeLayout2d: (a: number, b: number, c: any) => void;
|
|
6752
6878
|
readonly rtaevaluation_isExact: (a: number) => number;
|
|
6753
6879
|
readonly rtaevaluation_numLandmarks: (a: number) => number;
|
|
6754
6880
|
readonly rtaevaluation_numStrata: (a: number) => number;
|
|
6755
6881
|
readonly rtaevaluation_numTriplets: (a: number) => number;
|
|
6756
6882
|
readonly rtaevaluation_rta: (a: number) => number;
|
|
6757
6883
|
readonly rtaevaluation_toRecord: (a: number, b: number) => void;
|
|
6758
|
-
readonly sampledCrossingNumber: (a: number, b: number, c: number, d:
|
|
6759
|
-
readonly sampledCrosslessness: (a: number, b: number, c: number, d:
|
|
6884
|
+
readonly sampledCrossingNumber: (a: number, b: number, c: number, d: any) => void;
|
|
6885
|
+
readonly sampledCrosslessness: (a: number, b: number, c: number, d: any) => void;
|
|
6760
6886
|
readonly screenedpoissonfield2d_densityGrid: (a: number, b: number) => void;
|
|
6761
6887
|
readonly screenedpoissonfield2d_densityGridDim: (a: number) => number;
|
|
6762
6888
|
readonly screenedpoissonfield2d_evaluate: (a: number, b: number, c: number) => void;
|
|
@@ -6795,7 +6921,7 @@ export interface InitOutput {
|
|
|
6795
6921
|
readonly screenedpoissonresult_padDim: (a: number) => number;
|
|
6796
6922
|
readonly screenedpoissonresult_rhoMaxUsed: (a: number) => number;
|
|
6797
6923
|
readonly screenedpoissonresult_sigmaUsed: (a: number) => number;
|
|
6798
|
-
readonly selectMaxminSpPivots: (a: number, b: number, c:
|
|
6924
|
+
readonly selectMaxminSpPivots: (a: number, b: number, c: any) => void;
|
|
6799
6925
|
readonly sellayoutsolver_isFinished: (a: number) => number;
|
|
6800
6926
|
readonly sellayoutsolver_iteration: (a: number) => number;
|
|
6801
6927
|
readonly sellayoutsolver_modulatedWeights: (a: number, b: number) => void;
|
|
@@ -6812,62 +6938,99 @@ export interface InitOutput {
|
|
|
6812
6938
|
readonly separationconstraint_new: (a: number, b: number, c: number, d: number) => void;
|
|
6813
6939
|
readonly separationconstraint_right: (a: number) => number;
|
|
6814
6940
|
readonly setPanicHook: () => void;
|
|
6815
|
-
readonly
|
|
6816
|
-
readonly
|
|
6817
|
-
readonly
|
|
6818
|
-
readonly
|
|
6819
|
-
readonly
|
|
6820
|
-
readonly
|
|
6821
|
-
readonly
|
|
6822
|
-
readonly
|
|
6823
|
-
readonly
|
|
6824
|
-
readonly
|
|
6941
|
+
readonly sfclayout_generate: (a: number, b: number) => void;
|
|
6942
|
+
readonly sfclayout_new: (a: number, b: number, c: any) => void;
|
|
6943
|
+
readonly sfclayout_numNodes: (a: number) => number;
|
|
6944
|
+
readonly sfclayout_vertexOrder: (a: number, b: number) => void;
|
|
6945
|
+
readonly sgd2solver__run2d: (a: number, b: number, c: number) => void;
|
|
6946
|
+
readonly sgd2solver__run3d: (a: number, b: number, c: number) => void;
|
|
6947
|
+
readonly sgd2solver__runManifold: (a: number, b: number, c: number) => void;
|
|
6948
|
+
readonly sgd2solver__runNd: (a: number, b: number, c: number) => void;
|
|
6949
|
+
readonly sgd2solver__runScheduleWindow2d: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
6950
|
+
readonly sgd2solver__runScheduleWindow3d: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
6951
|
+
readonly sgd2solver__runScheduleWindowManifold: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
6952
|
+
readonly sgd2solver__runScheduleWindowNd: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
6953
|
+
readonly sgd2solver__runSteps2d: (a: number, b: number, c: number, d: number) => void;
|
|
6954
|
+
readonly sgd2solver__runSteps3d: (a: number, b: number, c: number, d: number) => void;
|
|
6955
|
+
readonly sgd2solver__runStepsManifold: (a: number, b: number, c: number, d: number) => void;
|
|
6956
|
+
readonly sgd2solver__runStepsNd: (a: number, b: number, c: number, d: number) => void;
|
|
6957
|
+
readonly sgd2solver__step2d: (a: number, b: number, c: number) => void;
|
|
6958
|
+
readonly sgd2solver__step3d: (a: number, b: number, c: number) => void;
|
|
6959
|
+
readonly sgd2solver__stepManifold: (a: number, b: number, c: number) => void;
|
|
6960
|
+
readonly sgd2solver__stepNd: (a: number, b: number, c: number) => void;
|
|
6961
|
+
readonly sgd2solver_currentEta: (a: number) => number;
|
|
6962
|
+
readonly sgd2solver_isFinished: (a: number) => number;
|
|
6963
|
+
readonly sgd2solver_iteration: (a: number) => number;
|
|
6964
|
+
readonly sgd2solver_new: (a: number, b: number, c: any) => void;
|
|
6965
|
+
readonly sgd2solver_numNodes: (a: number) => number;
|
|
6966
|
+
readonly sgd2solver_numSprings: (a: number) => number;
|
|
6967
|
+
readonly sgd2solver_resetSchedule: (a: number, b: number, c: any) => void;
|
|
6968
|
+
readonly sgd2solver_status: (a: number, b: number) => void;
|
|
6969
|
+
readonly sgd2solver_target: (a: number, b: number) => void;
|
|
6970
|
+
readonly sgd2solver_totalIterations: (a: number) => number;
|
|
6825
6971
|
readonly sgdsolver__run2d: (a: number, b: number, c: number) => void;
|
|
6972
|
+
readonly sgdsolver__run3d: (a: number, b: number, c: number) => void;
|
|
6826
6973
|
readonly sgdsolver__runManifold: (a: number, b: number, c: number) => void;
|
|
6827
6974
|
readonly sgdsolver__runNd: (a: number, b: number, c: number) => void;
|
|
6828
6975
|
readonly sgdsolver__runScheduleWindow2d: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
6976
|
+
readonly sgdsolver__runScheduleWindow3d: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
6829
6977
|
readonly sgdsolver__runScheduleWindowManifold: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
6978
|
+
readonly sgdsolver__runScheduleWindowNd: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
6830
6979
|
readonly sgdsolver__runSteps2d: (a: number, b: number, c: number, d: number) => void;
|
|
6980
|
+
readonly sgdsolver__runSteps3d: (a: number, b: number, c: number, d: number) => void;
|
|
6831
6981
|
readonly sgdsolver__runStepsManifold: (a: number, b: number, c: number, d: number) => void;
|
|
6832
6982
|
readonly sgdsolver__runStepsNd: (a: number, b: number, c: number, d: number) => void;
|
|
6833
6983
|
readonly sgdsolver__step2d: (a: number, b: number, c: number) => void;
|
|
6984
|
+
readonly sgdsolver__step3d: (a: number, b: number, c: number) => void;
|
|
6834
6985
|
readonly sgdsolver__stepManifold: (a: number, b: number, c: number) => void;
|
|
6835
6986
|
readonly sgdsolver__stepNd: (a: number, b: number, c: number) => void;
|
|
6836
6987
|
readonly sgdsolver_currentEta: (a: number) => number;
|
|
6837
6988
|
readonly sgdsolver_dogStats: (a: number) => number;
|
|
6838
|
-
readonly
|
|
6839
|
-
readonly
|
|
6840
|
-
readonly
|
|
6841
|
-
readonly
|
|
6842
|
-
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;
|
|
6843
|
-
readonly sgdsolver_graphCne: (a: number, b: number, c: any) => void;
|
|
6989
|
+
readonly sgdsolver_fromPackedSymmetric: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: any) => void;
|
|
6990
|
+
readonly sgdsolver_fromPairs: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: any) => void;
|
|
6991
|
+
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: any) => void;
|
|
6992
|
+
readonly sgdsolver_full: (a: number, b: number, c: any) => void;
|
|
6844
6993
|
readonly sgdsolver_isFinished: (a: number) => number;
|
|
6845
6994
|
readonly sgdsolver_iteration: (a: number) => number;
|
|
6846
|
-
readonly sgdsolver_largevis: (a: number, b: number, c: any) => void;
|
|
6847
6995
|
readonly sgdsolver_maxMu: (a: number, b: number) => void;
|
|
6848
6996
|
readonly sgdsolver_new: (a: number, b: number, c: any) => void;
|
|
6849
6997
|
readonly sgdsolver_numHinges: (a: number) => number;
|
|
6850
6998
|
readonly sgdsolver_numNodes: (a: number) => number;
|
|
6851
6999
|
readonly sgdsolver_numSprings: (a: number) => number;
|
|
6852
|
-
readonly sgdsolver_omega: (a: number, b: number, c: number, d: number, e: number, f: any
|
|
7000
|
+
readonly sgdsolver_omega: (a: number, b: number, c: number, d: number, e: number, f: any) => void;
|
|
6853
7001
|
readonly sgdsolver_ortmannSparseStress: (a: number, b: number, c: any) => void;
|
|
6854
|
-
readonly
|
|
6855
|
-
readonly
|
|
6856
|
-
readonly
|
|
6857
|
-
readonly
|
|
6858
|
-
readonly sgdsolver_randomPair: (a: number, b: number, c: any, d: any, e: number, f: number, g: number, h: number, i: number, j: number, k: number, l: number) => void;
|
|
6859
|
-
readonly sgdsolver_resetSchedule: (a: number, b: number, c: any, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
|
|
6860
|
-
readonly sgdsolver_sgd2: (a: number, b: number, c: any) => void;
|
|
6861
|
-
readonly sgdsolver_snapTFdp: (a: number, b: number, c: any) => void;
|
|
6862
|
-
readonly sgdsolver_sparseBarrierDog: (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, 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: number, l1: number, m1: number, n1: number, o1: number, p1: number, q1: number, r1: number, s1: number, t1: number, u1: number, v1: number, w1: number, x1: number, y1: number, z1: number, a2: number, b2: number, c2: number, d2: number, e2: number) => void;
|
|
6863
|
-
readonly sgdsolver_sparseBarrierFromLandmarks: (a: number, b: number, c: number, d: number, e: number, f: any, 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, e1: number, f1: number, g1: number, h1: number, i1: number, j1: number, k1: number) => void;
|
|
7002
|
+
readonly sgdsolver_randomPair: (a: number, b: number, c: any) => void;
|
|
7003
|
+
readonly sgdsolver_resetSchedule: (a: number, b: number, c: any) => void;
|
|
7004
|
+
readonly sgdsolver_sparseBarrierDog: (a: number, b: number, c: any) => void;
|
|
7005
|
+
readonly sgdsolver_sparseBarrierFromLandmarks: (a: number, b: number, c: number, d: any) => void;
|
|
6864
7006
|
readonly sgdsolver_stats: (a: number) => number;
|
|
6865
7007
|
readonly sgdsolver_status: (a: number, b: number) => void;
|
|
6866
|
-
readonly sgdsolver_streamingNegatives: (a: number, b: number, c: any
|
|
7008
|
+
readonly sgdsolver_streamingNegatives: (a: number, b: number, c: any) => void;
|
|
6867
7009
|
readonly sgdsolver_supportsManifold: (a: number) => number;
|
|
7010
|
+
readonly sgdsolver_target: (a: number, b: number) => void;
|
|
6868
7011
|
readonly sgdsolver_totalIterations: (a: number) => number;
|
|
6869
7012
|
readonly shiftedNormalizedLaplacian: (a: number, b: number, c: number, d: number) => void;
|
|
6870
|
-
readonly smallestLaplacianEigenpairs: (a: number, b: number, c:
|
|
7013
|
+
readonly smallestLaplacianEigenpairs: (a: number, b: number, c: any) => void;
|
|
7014
|
+
readonly snaptfdpsolver__run2d: (a: number, b: number, c: number) => void;
|
|
7015
|
+
readonly snaptfdpsolver__run3d: (a: number, b: number, c: number) => void;
|
|
7016
|
+
readonly snaptfdpsolver__runManifold: (a: number, b: number, c: number) => void;
|
|
7017
|
+
readonly snaptfdpsolver__runNd: (a: number, b: number, c: number) => void;
|
|
7018
|
+
readonly snaptfdpsolver__runSteps2d: (a: number, b: number, c: number, d: number) => void;
|
|
7019
|
+
readonly snaptfdpsolver__runSteps3d: (a: number, b: number, c: number, d: number) => void;
|
|
7020
|
+
readonly snaptfdpsolver__runStepsManifold: (a: number, b: number, c: number, d: number) => void;
|
|
7021
|
+
readonly snaptfdpsolver__runStepsNd: (a: number, b: number, c: number, d: number) => void;
|
|
7022
|
+
readonly snaptfdpsolver__step2d: (a: number, b: number, c: number) => void;
|
|
7023
|
+
readonly snaptfdpsolver__step3d: (a: number, b: number, c: number) => void;
|
|
7024
|
+
readonly snaptfdpsolver__stepManifold: (a: number, b: number, c: number) => void;
|
|
7025
|
+
readonly snaptfdpsolver__stepNd: (a: number, b: number, c: number) => void;
|
|
7026
|
+
readonly snaptfdpsolver_isFinished: (a: number) => number;
|
|
7027
|
+
readonly snaptfdpsolver_iteration: (a: number) => number;
|
|
7028
|
+
readonly snaptfdpsolver_new: (a: number, b: number, c: any) => void;
|
|
7029
|
+
readonly snaptfdpsolver_numNodes: (a: number) => number;
|
|
7030
|
+
readonly snaptfdpsolver_numSprings: (a: number) => number;
|
|
7031
|
+
readonly snaptfdpsolver_status: (a: number, b: number) => void;
|
|
7032
|
+
readonly snaptfdpsolver_target: (a: number, b: number) => void;
|
|
7033
|
+
readonly snaptfdpsolver_totalIterations: (a: number) => number;
|
|
6871
7034
|
readonly sparse12hoppairs_num1hop: (a: number) => number;
|
|
6872
7035
|
readonly sparse12hoppairs_num2hop: (a: number) => number;
|
|
6873
7036
|
readonly sparse12hoppairs_u1: (a: number, b: number) => void;
|
|
@@ -6893,7 +7056,7 @@ export interface InitOutput {
|
|
|
6893
7056
|
readonly spatialintruderrefiner_currentKCap: (a: number) => number;
|
|
6894
7057
|
readonly spatialintruderrefiner_isFinished: (a: number) => number;
|
|
6895
7058
|
readonly spatialintruderrefiner_iteration: (a: number) => number;
|
|
6896
|
-
readonly spatialintruderrefiner_new: (a: number, b: number, c: any
|
|
7059
|
+
readonly spatialintruderrefiner_new: (a: number, b: number, c: any) => void;
|
|
6897
7060
|
readonly spatialintruderrefiner_numNodes: (a: number) => number;
|
|
6898
7061
|
readonly spatialintruderrefiner_run: (a: number, b: number, c: number) => void;
|
|
6899
7062
|
readonly spatialintruderrefiner_runSteps: (a: number, b: number, c: number, d: number) => void;
|
|
@@ -6922,7 +7085,7 @@ export interface InitOutput {
|
|
|
6922
7085
|
readonly spatialrefinerstats_roundsExecuted: (a: number) => number;
|
|
6923
7086
|
readonly spatialrefinerstats_scaleRatio: (a: number) => number;
|
|
6924
7087
|
readonly spatialrefinerstats_usedHubFallback: (a: number) => number;
|
|
6925
|
-
readonly spectralClustering: (a: number, b: number, c:
|
|
7088
|
+
readonly spectralClustering: (a: number, b: number, c: any) => void;
|
|
6926
7089
|
readonly spectralMomentStats: (a: number) => number;
|
|
6927
7090
|
readonly spectralclusteringresult_eigenIterations: (a: number) => number;
|
|
6928
7091
|
readonly spectralclusteringresult_labels: (a: number, b: number) => void;
|
|
@@ -6944,7 +7107,7 @@ export interface InitOutput {
|
|
|
6944
7107
|
readonly sphericalDistance: (a: number, b: number, c: number, d: number) => number;
|
|
6945
7108
|
readonly sprawlterNn: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
6946
7109
|
readonly sprawlterNnRadii: (a: number, b: number, c: number, d: number) => void;
|
|
6947
|
-
readonly squarifiedTreemap: (a: number, b: any, c:
|
|
7110
|
+
readonly squarifiedTreemap: (a: number, b: any, c: any) => void;
|
|
6948
7111
|
readonly stressevaluation_alphaStar: (a: number) => number;
|
|
6949
7112
|
readonly stressevaluation_normalizedStress: (a: number) => number;
|
|
6950
7113
|
readonly stressevaluation_pairCount: (a: number) => number;
|
|
@@ -6954,31 +7117,47 @@ export interface InitOutput {
|
|
|
6954
7117
|
readonly stressevaluation_toRecord: (a: number, b: number) => void;
|
|
6955
7118
|
readonly stressevaluation_weightDistanceSqSum: (a: number) => number;
|
|
6956
7119
|
readonly stressmajorizationsolver__computeStress2d: (a: number, b: number, c: number) => void;
|
|
7120
|
+
readonly stressmajorizationsolver__computeStress3d: (a: number, b: number, c: number) => void;
|
|
6957
7121
|
readonly stressmajorizationsolver__computeStressManifold: (a: number, b: number, c: number) => void;
|
|
6958
7122
|
readonly stressmajorizationsolver__computeStressNd: (a: number, b: number, c: number) => void;
|
|
6959
7123
|
readonly stressmajorizationsolver__run2d: (a: number, b: number, c: number) => void;
|
|
7124
|
+
readonly stressmajorizationsolver__run3d: (a: number, b: number, c: number) => void;
|
|
6960
7125
|
readonly stressmajorizationsolver__runManifold: (a: number, b: number, c: number) => void;
|
|
6961
7126
|
readonly stressmajorizationsolver__runNd: (a: number, b: number, c: number) => void;
|
|
6962
7127
|
readonly stressmajorizationsolver__runSteps2d: (a: number, b: number, c: number, d: number) => void;
|
|
7128
|
+
readonly stressmajorizationsolver__runSteps3d: (a: number, b: number, c: number, d: number) => void;
|
|
6963
7129
|
readonly stressmajorizationsolver__runStepsManifold: (a: number, b: number, c: number, d: number) => void;
|
|
6964
7130
|
readonly stressmajorizationsolver__runStepsNd: (a: number, b: number, c: number, d: number) => void;
|
|
6965
7131
|
readonly stressmajorizationsolver__step2d: (a: number, b: number, c: number) => void;
|
|
7132
|
+
readonly stressmajorizationsolver__step3d: (a: number, b: number, c: number) => void;
|
|
6966
7133
|
readonly stressmajorizationsolver__stepManifold: (a: number, b: number, c: number) => void;
|
|
6967
7134
|
readonly stressmajorizationsolver__stepNd: (a: number, b: number, c: number) => void;
|
|
6968
|
-
readonly
|
|
6969
|
-
readonly
|
|
7135
|
+
readonly stressmajorizationsolver_backend: (a: number, b: number) => void;
|
|
7136
|
+
readonly stressmajorizationsolver_fromDistanceMatrix: (a: number, b: number, c: number, d: number, e: any) => void;
|
|
7137
|
+
readonly stressmajorizationsolver_fromGraph: (a: number, b: number, c: any) => void;
|
|
6970
7138
|
readonly stressmajorizationsolver_isFinished: (a: number) => number;
|
|
6971
7139
|
readonly stressmajorizationsolver_iteration: (a: number) => number;
|
|
6972
7140
|
readonly stressmajorizationsolver_lastStress: (a: number, b: number) => void;
|
|
6973
7141
|
readonly stressmajorizationsolver_new: (a: number, b: number, c: any) => void;
|
|
6974
7142
|
readonly stressmajorizationsolver_numNodes: (a: number) => number;
|
|
6975
7143
|
readonly stressmajorizationsolver_status: (a: number, b: number) => void;
|
|
7144
|
+
readonly stressmajorizationsolver_target: (a: number, b: number) => void;
|
|
6976
7145
|
readonly stressmajorizationsolver_totalIterations: (a: number) => number;
|
|
6977
7146
|
readonly sweepCrossingAngle: (a: number, b: number, c: number) => void;
|
|
6978
7147
|
readonly sweepCrossingNumber: (a: number, b: number, c: number) => void;
|
|
6979
|
-
readonly symmetricEigenJacobi: (a: number, b: number, c: number, d: number, e:
|
|
7148
|
+
readonly symmetricEigenJacobi: (a: number, b: number, c: number, d: number, e: any) => void;
|
|
6980
7149
|
readonly symmetricNormalizedLaplacian: (a: number, b: number) => void;
|
|
6981
7150
|
readonly symmetrizeRowNormalized: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number) => void;
|
|
7151
|
+
readonly tfdpsolver__run2d: (a: number, b: number, c: number) => void;
|
|
7152
|
+
readonly tfdpsolver__run3d: (a: number, b: number, c: number) => void;
|
|
7153
|
+
readonly tfdpsolver__runNd: (a: number, b: number, c: number) => void;
|
|
7154
|
+
readonly tfdpsolver__runSteps2d: (a: number, b: number, c: number, d: number) => void;
|
|
7155
|
+
readonly tfdpsolver__runSteps3d: (a: number, b: number, c: number, d: number) => void;
|
|
7156
|
+
readonly tfdpsolver__runStepsNd: (a: number, b: number, c: number, d: number) => void;
|
|
7157
|
+
readonly tfdpsolver__step2d: (a: number, b: number, c: number) => void;
|
|
7158
|
+
readonly tfdpsolver__step3d: (a: number, b: number, c: number) => void;
|
|
7159
|
+
readonly tfdpsolver__stepNd: (a: number, b: number, c: number) => void;
|
|
7160
|
+
readonly tfdpsolver_backend: (a: number, b: number) => void;
|
|
6982
7161
|
readonly tfdpsolver_currentRho: (a: number) => number;
|
|
6983
7162
|
readonly tfdpsolver_fromKnn: (a: number, b: any, c: any, d: any, e: any) => void;
|
|
6984
7163
|
readonly tfdpsolver_isFinished: (a: number) => number;
|
|
@@ -6986,15 +7165,13 @@ export interface InitOutput {
|
|
|
6986
7165
|
readonly tfdpsolver_new: (a: number, b: number, c: any) => void;
|
|
6987
7166
|
readonly tfdpsolver_numEdges: (a: number) => number;
|
|
6988
7167
|
readonly tfdpsolver_numNodes: (a: number) => number;
|
|
6989
|
-
readonly tfdpsolver_run: (a: number, b: number, c: number) => void;
|
|
6990
|
-
readonly tfdpsolver_runSteps: (a: number, b: number, c: number, d: number) => void;
|
|
6991
7168
|
readonly tfdpsolver_status: (a: number, b: number) => void;
|
|
6992
|
-
readonly
|
|
7169
|
+
readonly tfdpsolver_target: (a: number, b: number) => void;
|
|
6993
7170
|
readonly tfdpsolver_totalFft2dCalls: (a: number) => number;
|
|
6994
7171
|
readonly tfdpsolver_totalIterations: (a: number) => number;
|
|
6995
7172
|
readonly torusDistance: (a: number, b: number, c: number, d: number) => number;
|
|
6996
7173
|
readonly torusEdgeSegments: (a: number, b: number, c: number, d: number, e: number) => void;
|
|
6997
|
-
readonly torusSpectralPhaseInit: (a: number, b: number, c:
|
|
7174
|
+
readonly torusSpectralPhaseInit: (a: number, b: number, c: any) => void;
|
|
6998
7175
|
readonly toruscrossing_angleRad: (a: number, b: number) => void;
|
|
6999
7176
|
readonly toruscrossing_cosSq: (a: number) => number;
|
|
7000
7177
|
readonly toruscrossing_edgeA: (a: number) => number;
|
|
@@ -7008,31 +7185,36 @@ export interface InitOutput {
|
|
|
7008
7185
|
readonly toruscrossing_v2: (a: number) => number;
|
|
7009
7186
|
readonly transitiveReduction: (a: number, b: number) => void;
|
|
7010
7187
|
readonly tsnetsolver__run2d: (a: number, b: number, c: number) => void;
|
|
7188
|
+
readonly tsnetsolver__run3d: (a: number, b: number, c: number) => void;
|
|
7011
7189
|
readonly tsnetsolver__runManifold: (a: number, b: number, c: number) => void;
|
|
7012
7190
|
readonly tsnetsolver__runNd: (a: number, b: number, c: number) => void;
|
|
7013
7191
|
readonly tsnetsolver__runSteps2d: (a: number, b: number, c: number, d: number) => void;
|
|
7192
|
+
readonly tsnetsolver__runSteps3d: (a: number, b: number, c: number, d: number) => void;
|
|
7014
7193
|
readonly tsnetsolver__runStepsManifold: (a: number, b: number, c: number, d: number) => void;
|
|
7015
7194
|
readonly tsnetsolver__runStepsNd: (a: number, b: number, c: number, d: number) => void;
|
|
7016
7195
|
readonly tsnetsolver__step2d: (a: number, b: number, c: number) => void;
|
|
7196
|
+
readonly tsnetsolver__step3d: (a: number, b: number, c: number) => void;
|
|
7017
7197
|
readonly tsnetsolver__stepManifold: (a: number, b: number, c: number) => void;
|
|
7018
7198
|
readonly tsnetsolver__stepNd: (a: number, b: number, c: number) => void;
|
|
7199
|
+
readonly tsnetsolver_backend: (a: number, b: number) => void;
|
|
7019
7200
|
readonly tsnetsolver_currentStageLr: (a: number) => number;
|
|
7020
|
-
readonly tsnetsolver_fromGraphPartialBfs: (a: number, b: number, c:
|
|
7021
|
-
readonly tsnetsolver_fromGraphRowNormalized: (a: number, b: number, c: any
|
|
7201
|
+
readonly tsnetsolver_fromGraphPartialBfs: (a: number, b: number, c: any) => void;
|
|
7202
|
+
readonly tsnetsolver_fromGraphRowNormalized: (a: number, b: number, c: any) => void;
|
|
7022
7203
|
readonly tsnetsolver_fromGraphRowNormalizedWithOptions: (a: number, b: number, c: any) => void;
|
|
7023
|
-
readonly tsnetsolver_fromKnn: (a: number, b: number, c:
|
|
7024
|
-
readonly tsnetsolver_fromProbabilities: (a: number, b: number, c: any
|
|
7204
|
+
readonly tsnetsolver_fromKnn: (a: number, b: number, c: any) => void;
|
|
7205
|
+
readonly tsnetsolver_fromProbabilities: (a: number, b: number, c: any) => void;
|
|
7025
7206
|
readonly tsnetsolver_fromProbabilitiesWithStages: (a: number, b: number, c: any, d: any) => void;
|
|
7026
7207
|
readonly tsnetsolver_isFinished: (a: number) => number;
|
|
7027
7208
|
readonly tsnetsolver_iteration: (a: number) => number;
|
|
7028
7209
|
readonly tsnetsolver_lastFftStats: (a: number) => number;
|
|
7029
7210
|
readonly tsnetsolver_new: (a: number, b: number, c: any) => void;
|
|
7030
7211
|
readonly tsnetsolver_numNodes: (a: number) => number;
|
|
7031
|
-
readonly tsnetsolver_pure2Hop: (a: number, b: number, c: any
|
|
7212
|
+
readonly tsnetsolver_pure2Hop: (a: number, b: number, c: any) => void;
|
|
7032
7213
|
readonly tsnetsolver_resolvedBackend: (a: number, b: number) => void;
|
|
7033
7214
|
readonly tsnetsolver_samplingMode: (a: number, b: number) => void;
|
|
7034
7215
|
readonly tsnetsolver_stageIndex: (a: number) => number;
|
|
7035
7216
|
readonly tsnetsolver_status: (a: number, b: number) => void;
|
|
7217
|
+
readonly tsnetsolver_target: (a: number, b: number) => void;
|
|
7036
7218
|
readonly tsnetsolver_totalFft2dCalls: (a: number) => number;
|
|
7037
7219
|
readonly tsnetsolver_totalIterations: (a: number) => number;
|
|
7038
7220
|
readonly tsnetstage_exaggeration: (a: number) => number;
|
|
@@ -7040,17 +7222,12 @@ export interface InitOutput {
|
|
|
7040
7222
|
readonly tsnetstage_lambdaC: (a: number) => number;
|
|
7041
7223
|
readonly tsnetstage_lambdaKl: (a: number) => number;
|
|
7042
7224
|
readonly tsnetstage_lambdaR: (a: number) => number;
|
|
7043
|
-
readonly tsnetstage_new: (a: number, b:
|
|
7044
|
-
readonly
|
|
7045
|
-
readonly twindeclutterer_iteration: (a: number) => number;
|
|
7225
|
+
readonly tsnetstage_new: (a: number, b: any, c: any) => void;
|
|
7226
|
+
readonly twindeclutterer_apply: (a: number, b: number, c: number) => void;
|
|
7046
7227
|
readonly twindeclutterer_lastClusterCount: (a: number) => number;
|
|
7047
7228
|
readonly twindeclutterer_lastMovedCount: (a: number) => number;
|
|
7229
|
+
readonly twindeclutterer_lastPassCount: (a: number) => number;
|
|
7048
7230
|
readonly twindeclutterer_new: (a: number, b: any) => void;
|
|
7049
|
-
readonly twindeclutterer_run: (a: number, b: number, c: number) => void;
|
|
7050
|
-
readonly twindeclutterer_runSteps: (a: number, b: number, c: number, d: number) => void;
|
|
7051
|
-
readonly twindeclutterer_status: (a: number, b: number) => void;
|
|
7052
|
-
readonly twindeclutterer_step: (a: number, b: number, c: number) => void;
|
|
7053
|
-
readonly twindeclutterer_totalIterations: (a: number) => number;
|
|
7054
7231
|
readonly twohopcsr_hop1: (a: number) => number;
|
|
7055
7232
|
readonly twohopcsr_hop2: (a: number) => number;
|
|
7056
7233
|
readonly twohopknnresult_avgDeg1: (a: number) => number;
|
|
@@ -7065,11 +7242,15 @@ export interface InitOutput {
|
|
|
7065
7242
|
readonly wasm_start: () => void;
|
|
7066
7243
|
readonly wrapTorusPoint: (a: number, b: number, c: number) => void;
|
|
7067
7244
|
readonly yifanhusolver__run2d: (a: number, b: number, c: number) => void;
|
|
7245
|
+
readonly yifanhusolver__run3d: (a: number, b: number, c: number) => void;
|
|
7068
7246
|
readonly yifanhusolver__runNd: (a: number, b: number, c: number) => void;
|
|
7069
7247
|
readonly yifanhusolver__runSteps2d: (a: number, b: number, c: number, d: number) => void;
|
|
7248
|
+
readonly yifanhusolver__runSteps3d: (a: number, b: number, c: number, d: number) => void;
|
|
7070
7249
|
readonly yifanhusolver__runStepsNd: (a: number, b: number, c: number, d: number) => void;
|
|
7071
7250
|
readonly yifanhusolver__step2d: (a: number, b: number, c: number) => void;
|
|
7251
|
+
readonly yifanhusolver__step3d: (a: number, b: number, c: number) => void;
|
|
7072
7252
|
readonly yifanhusolver__stepNd: (a: number, b: number, c: number) => void;
|
|
7253
|
+
readonly yifanhusolver_backend: (a: number, b: number) => void;
|
|
7073
7254
|
readonly yifanhusolver_currentLevel: (a: number) => number;
|
|
7074
7255
|
readonly yifanhusolver_isFinished: (a: number) => number;
|
|
7075
7256
|
readonly yifanhusolver_iteration: (a: number) => number;
|
|
@@ -7077,6 +7258,7 @@ export interface InitOutput {
|
|
|
7077
7258
|
readonly yifanhusolver_numLevels: (a: number) => number;
|
|
7078
7259
|
readonly yifanhusolver_numNodes: (a: number) => number;
|
|
7079
7260
|
readonly yifanhusolver_status: (a: number, b: number) => void;
|
|
7261
|
+
readonly yifanhusolver_target: (a: number, b: number) => void;
|
|
7080
7262
|
readonly yifanhusolver_totalIterations: (a: number) => number;
|
|
7081
7263
|
readonly __wbindgen_export: (a: number, b: number) => number;
|
|
7082
7264
|
readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
|