egraph 6.0.0-beta.5 → 6.0.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +1 -1
- package/pkg/README.md +1 -1
- package/pkg/egraph_wasm.d.ts +429 -43
- package/pkg/egraph_wasm.js +1906 -283
- package/pkg/egraph_wasm_bg.wasm +0 -0
- package/pkg/index.d.ts +586 -62
- package/pkg/index.js +97 -16
package/pkg/index.d.ts
CHANGED
|
@@ -510,25 +510,25 @@ export class ClassicalMds {
|
|
|
510
510
|
}
|
|
511
511
|
|
|
512
512
|
/**
|
|
513
|
-
*
|
|
514
|
-
* `clusterAreaFaithfulnessDetail`.
|
|
513
|
+
* Grid-based Cluster Area Faithfulness (`G-CAF`) summary and optional per-cluster
|
|
514
|
+
* diagnostics returned by `clusterAreaFaithfulnessDetail` and `MetricReport.clusterAreaReport`.
|
|
515
515
|
*/
|
|
516
516
|
export class ClusterAreaReport {
|
|
517
517
|
private constructor();
|
|
518
518
|
free(): void;
|
|
519
519
|
[Symbol.dispose](): void;
|
|
520
|
-
cafPerCluster(): Float64Array;
|
|
521
|
-
clusterIds(): Uint32Array;
|
|
522
|
-
coherence(): Float64Array;
|
|
523
|
-
counts(): Uint32Array;
|
|
524
|
-
p(): Float64Array;
|
|
525
|
-
purity(): Float64Array;
|
|
526
|
-
q(): Float64Array;
|
|
527
|
-
resDeconvPerCluster(): Float64Array;
|
|
528
|
-
resDensityPerCluster(): Float64Array;
|
|
529
|
-
resolution(): Float64Array;
|
|
530
|
-
/**
|
|
531
|
-
* Converts summary and per-cluster diagnostics into a plain JavaScript object without `serde`.
|
|
520
|
+
cafPerCluster(): Float64Array | undefined;
|
|
521
|
+
clusterIds(): Uint32Array | undefined;
|
|
522
|
+
coherence(): Float64Array | undefined;
|
|
523
|
+
counts(): Uint32Array | undefined;
|
|
524
|
+
p(): Float64Array | undefined;
|
|
525
|
+
purity(): Float64Array | undefined;
|
|
526
|
+
q(): Float64Array | undefined;
|
|
527
|
+
resDeconvPerCluster(): Float64Array | undefined;
|
|
528
|
+
resDensityPerCluster(): Float64Array | undefined;
|
|
529
|
+
resolution(): Float64Array | undefined;
|
|
530
|
+
/**
|
|
531
|
+
* Converts summary and optional per-cluster diagnostics into a plain JavaScript object without `serde`.
|
|
532
532
|
*/
|
|
533
533
|
toRecord(): ClusterAreaReportRecord;
|
|
534
534
|
readonly caf: number;
|
|
@@ -737,7 +737,8 @@ export interface TsNetOptions {
|
|
|
737
737
|
target?: TargetKind | null;
|
|
738
738
|
backend?: TsNetBackend | null;
|
|
739
739
|
exactThreshold?: number | null;
|
|
740
|
-
|
|
740
|
+
stages?: readonly (TsNetStage | TsNetStageOptions)[] | null;
|
|
741
|
+
stageIterations?: readonly [number, number] | readonly [number, number, number] | Uint32Array | number[] | null;
|
|
741
742
|
learningRate?: number | null;
|
|
742
743
|
learningRateDivisor?: number | null;
|
|
743
744
|
perplexityC?: number | null;
|
|
@@ -747,6 +748,7 @@ export interface TsNetOptions {
|
|
|
747
748
|
lambdaCStage1?: number | null;
|
|
748
749
|
lambdaCStage2?: number | null;
|
|
749
750
|
lambdaCStage3?: number | null;
|
|
751
|
+
lambdaRStage2?: number | null;
|
|
750
752
|
lambdaRStage3?: number | null;
|
|
751
753
|
momentum?: number | null;
|
|
752
754
|
epsilonR?: number | null;
|
|
@@ -768,16 +770,21 @@ export interface TsNetOptions {
|
|
|
768
770
|
repulsionKernel?: FieldRepulsionKernel | FieldRepulsionKernelLike | null;
|
|
769
771
|
finalLrFloor?: number | null;
|
|
770
772
|
alphaUpdateInterval?: number | null;
|
|
773
|
+
lrWarmupSteps?: number | null;
|
|
774
|
+
maxStepNorm?: number | null;
|
|
771
775
|
seed?: number | bigint | null;
|
|
772
776
|
}
|
|
773
777
|
|
|
778
|
+
export interface TsNetRnOptions extends TsNetOptions {
|
|
779
|
+
w2?: number | null;
|
|
780
|
+
max2hopPerNode?: number | null;
|
|
781
|
+
}
|
|
782
|
+
|
|
774
783
|
export interface TsNetRowNormalizedOptions extends TsNetOptions {
|
|
775
784
|
w2?: number | null;
|
|
776
785
|
max2hopPerNode?: number | null;
|
|
777
786
|
degreeBeta?: number | null;
|
|
778
787
|
mode?: TwoHopSamplingMode | null;
|
|
779
|
-
samplingMode?: TwoHopSamplingMode | null;
|
|
780
|
-
twoStepRandomWalk?: boolean | null;
|
|
781
788
|
maxBridgeDegree?: number | null;
|
|
782
789
|
}
|
|
783
790
|
|
|
@@ -876,7 +883,6 @@ export interface SparseBarrierDogOptions extends SparseBarrierOptions {
|
|
|
876
883
|
pExp?: number | null;
|
|
877
884
|
epsPsd?: number | null;
|
|
878
885
|
epsSim?: number | null;
|
|
879
|
-
dogEpsSim?: number | null;
|
|
880
886
|
tCoarse?: number | null;
|
|
881
887
|
t1?: number | null;
|
|
882
888
|
t2?: number | null;
|
|
@@ -919,7 +925,6 @@ export interface GuMapDogOptions extends GuMapOptions {
|
|
|
919
925
|
pExp?: number | null;
|
|
920
926
|
epsPsd?: number | null;
|
|
921
927
|
epsSim?: number | null;
|
|
922
|
-
dogEpsSim?: number | null;
|
|
923
928
|
tCoarse?: number | null;
|
|
924
929
|
t1?: number | null;
|
|
925
930
|
t2?: number | null;
|
|
@@ -1045,7 +1050,6 @@ export interface IbUmapOptions {
|
|
|
1045
1050
|
pExp?: number | null;
|
|
1046
1051
|
epsPsd?: number | null;
|
|
1047
1052
|
epsSim?: number | null;
|
|
1048
|
-
dogEpsSim?: number | null;
|
|
1049
1053
|
tCoarse?: number | null;
|
|
1050
1054
|
t1?: number | null;
|
|
1051
1055
|
t2?: number | null;
|
|
@@ -1139,6 +1143,16 @@ export interface RdMdsGeneratorOptions {
|
|
|
1139
1143
|
seed?: number | bigint | null;
|
|
1140
1144
|
}
|
|
1141
1145
|
|
|
1146
|
+
export interface RdMdsFromEigenpairsOptions {
|
|
1147
|
+
target?: TargetKind | null;
|
|
1148
|
+
dims?: number | null;
|
|
1149
|
+
eigEps?: number | null;
|
|
1150
|
+
degreeNormalize?: boolean | null;
|
|
1151
|
+
targetStd?: number | null;
|
|
1152
|
+
seed?: number | bigint | null;
|
|
1153
|
+
numNodes?: number | null;
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1142
1156
|
export interface KorenSpectralGeneratorOptions {
|
|
1143
1157
|
target?: TargetKind | null;
|
|
1144
1158
|
dims?: number | null;
|
|
@@ -1707,6 +1721,96 @@ export interface SfcOptions {
|
|
|
1707
1721
|
seed?: number | bigint | null;
|
|
1708
1722
|
}
|
|
1709
1723
|
|
|
1724
|
+
export interface CompoundRectRecord {
|
|
1725
|
+
centerX: number;
|
|
1726
|
+
centerY: number;
|
|
1727
|
+
width: number;
|
|
1728
|
+
height: number;
|
|
1729
|
+
minX: number;
|
|
1730
|
+
maxX: number;
|
|
1731
|
+
minY: number;
|
|
1732
|
+
maxY: number;
|
|
1733
|
+
}
|
|
1734
|
+
|
|
1735
|
+
export interface AugmentedClusterGraphResult {
|
|
1736
|
+
graph: Graph;
|
|
1737
|
+
parents: Int32Array;
|
|
1738
|
+
}
|
|
1739
|
+
|
|
1740
|
+
export interface CoseOptions {
|
|
1741
|
+
parents?: Int32Array | Uint32Array | readonly (number | null | undefined)[] | null;
|
|
1742
|
+
compoundFlags?: readonly boolean[] | Uint8Array | null;
|
|
1743
|
+
widths?: Float32Array | Float64Array | readonly number[] | null;
|
|
1744
|
+
heights?: Float32Array | Float64Array | readonly number[] | null;
|
|
1745
|
+
padding?: number | null;
|
|
1746
|
+
defaultNodeWidth?: number | null;
|
|
1747
|
+
defaultNodeHeight?: number | null;
|
|
1748
|
+
seed?: number | bigint | null;
|
|
1749
|
+
maxIterations?: number | null;
|
|
1750
|
+
idealEdgeLength?: number | null;
|
|
1751
|
+
nestingFactor?: number | null;
|
|
1752
|
+
edgeElasticity?: number | null;
|
|
1753
|
+
repulsionStrength?: number | null;
|
|
1754
|
+
repulsionRange?: number | null;
|
|
1755
|
+
gravityStrength?: number | null;
|
|
1756
|
+
compoundGravityStrength?: number | null;
|
|
1757
|
+
initialTemperature?: number | null;
|
|
1758
|
+
coolingFactor?: number | null;
|
|
1759
|
+
convergenceThreshold?: number | null;
|
|
1760
|
+
maxDisplacement?: number | null;
|
|
1761
|
+
incremental?: boolean | null;
|
|
1762
|
+
repulsionBackend?: CoseRepulsionBackend | null;
|
|
1763
|
+
}
|
|
1764
|
+
|
|
1765
|
+
export interface FcoseFixedConstraint {
|
|
1766
|
+
node: number;
|
|
1767
|
+
x: number;
|
|
1768
|
+
y: number;
|
|
1769
|
+
}
|
|
1770
|
+
|
|
1771
|
+
export interface FcoseRelativeConstraint {
|
|
1772
|
+
u: number;
|
|
1773
|
+
v: number;
|
|
1774
|
+
gap: number;
|
|
1775
|
+
}
|
|
1776
|
+
|
|
1777
|
+
export interface FcoseConstraintsOptions {
|
|
1778
|
+
fixed?: readonly (readonly [number, number, number] | FcoseFixedConstraint)[] | null;
|
|
1779
|
+
horizontalAlignments?: readonly (Uint32Array | readonly number[])[] | null;
|
|
1780
|
+
verticalAlignments?: readonly (Uint32Array | readonly number[])[] | null;
|
|
1781
|
+
relativeHorizontal?: readonly (readonly [number, number, number] | FcoseRelativeConstraint)[] | null;
|
|
1782
|
+
relativeVertical?: readonly (readonly [number, number, number] | FcoseRelativeConstraint)[] | null;
|
|
1783
|
+
}
|
|
1784
|
+
|
|
1785
|
+
export interface FcoseOptions {
|
|
1786
|
+
parents?: Int32Array | Uint32Array | readonly (number | null | undefined)[] | null;
|
|
1787
|
+
compoundFlags?: readonly boolean[] | Uint8Array | null;
|
|
1788
|
+
widths?: Float32Array | Float64Array | readonly number[] | null;
|
|
1789
|
+
heights?: Float32Array | Float64Array | readonly number[] | null;
|
|
1790
|
+
padding?: number | null;
|
|
1791
|
+
defaultNodeWidth?: number | null;
|
|
1792
|
+
defaultNodeHeight?: number | null;
|
|
1793
|
+
constraints?: FcoseConstraintsOptions | null;
|
|
1794
|
+
quality?: FcoseQuality | null;
|
|
1795
|
+
seed?: number | bigint | null;
|
|
1796
|
+
maxIterations?: number | null;
|
|
1797
|
+
samplingSize?: number | null;
|
|
1798
|
+
useSpectralInit?: boolean | null;
|
|
1799
|
+
idealEdgeLength?: number | null;
|
|
1800
|
+
nestingFactor?: number | null;
|
|
1801
|
+
edgeElasticity?: number | null;
|
|
1802
|
+
repulsionStrength?: number | null;
|
|
1803
|
+
repulsionRange?: number | null;
|
|
1804
|
+
gravityStrength?: number | null;
|
|
1805
|
+
compoundGravityStrength?: number | null;
|
|
1806
|
+
initialTemperature?: number | null;
|
|
1807
|
+
phase3TemperatureFactor?: number | null;
|
|
1808
|
+
coolingFactor?: number | null;
|
|
1809
|
+
convergenceThreshold?: number | null;
|
|
1810
|
+
maxDisplacement?: number | null;
|
|
1811
|
+
repulsionBackend?: CoseRepulsionBackend | null;
|
|
1812
|
+
}
|
|
1813
|
+
|
|
1710
1814
|
export interface YifanHuOptions {
|
|
1711
1815
|
target?: TargetKind | null;
|
|
1712
1816
|
backend?: ForceBackend | null;
|
|
@@ -1975,6 +2079,63 @@ export class CoarsenedHierarchyResult {
|
|
|
1975
2079
|
readonly numLevels: number;
|
|
1976
2080
|
}
|
|
1977
2081
|
|
|
2082
|
+
/**
|
|
2083
|
+
* r" Intra-graph sibling repulsion acceleration backend for `CoseSolver` and `FcoseSolver`.
|
|
2084
|
+
*/
|
|
2085
|
+
export enum CoseRepulsionBackend {
|
|
2086
|
+
Grid = 0,
|
|
2087
|
+
Exact = 1,
|
|
2088
|
+
}
|
|
2089
|
+
|
|
2090
|
+
/**
|
|
2091
|
+
* Cooperative Doğrusöz et al. (2009) Compound Spring Embedder (`CoSE`) solver (`f32`).
|
|
2092
|
+
*/
|
|
2093
|
+
export class CoseSolver {
|
|
2094
|
+
free(): void;
|
|
2095
|
+
[Symbol.dispose](): void;
|
|
2096
|
+
/**
|
|
2097
|
+
* Returns the current per-node bounding rectangles (`centerX`, `centerY`, `width`, `height`,
|
|
2098
|
+
* `minX`, `maxX`, `minY`, `maxY`).
|
|
2099
|
+
*/
|
|
2100
|
+
compoundBounds(): CompoundRectRecord[];
|
|
2101
|
+
/**
|
|
2102
|
+
* Constructs a `CoseSolver` from `graph` and optional `CoseOptions`.
|
|
2103
|
+
*/
|
|
2104
|
+
constructor(graph: Graph, options?: CoseOptions | null);
|
|
2105
|
+
/**
|
|
2106
|
+
* Executes up to `steps` `CoSE` iterations on `layout` in place.
|
|
2107
|
+
*/
|
|
2108
|
+
runSteps(layout: Layout2d, steps: number): SolverStatus;
|
|
2109
|
+
/**
|
|
2110
|
+
* Runs `CoSE` optimization to completion on `layout` in place.
|
|
2111
|
+
*/
|
|
2112
|
+
run(layout: Layout2d): SolverStatus;
|
|
2113
|
+
/**
|
|
2114
|
+
* Executes one `CoSE` iteration on `layout` in place.
|
|
2115
|
+
*/
|
|
2116
|
+
step(layout: Layout2d): SolverStatus;
|
|
2117
|
+
/**
|
|
2118
|
+
* Returns `true` when the solver has converged, completed, or failed.
|
|
2119
|
+
*/
|
|
2120
|
+
readonly isFinished: boolean;
|
|
2121
|
+
/**
|
|
2122
|
+
* Returns the number of iterations executed so far.
|
|
2123
|
+
*/
|
|
2124
|
+
readonly iteration: number;
|
|
2125
|
+
/**
|
|
2126
|
+
* Returns the expected vertex count.
|
|
2127
|
+
*/
|
|
2128
|
+
readonly numNodes: number;
|
|
2129
|
+
/**
|
|
2130
|
+
* Returns the solver lifecycle status (`SolverStatus`).
|
|
2131
|
+
*/
|
|
2132
|
+
readonly status: SolverStatus;
|
|
2133
|
+
/**
|
|
2134
|
+
* Returns the scheduled maximum iteration budget (`maxIterations`).
|
|
2135
|
+
*/
|
|
2136
|
+
readonly totalIterations: number | undefined;
|
|
2137
|
+
}
|
|
2138
|
+
|
|
1978
2139
|
/**
|
|
1979
2140
|
* Non-adjacent crossing edge pair details returned by `crossingEdges`, `crossingEdgesSpherical`,
|
|
1980
2141
|
* and `crossingEdgesHyperbolic`.
|
|
@@ -2524,6 +2685,88 @@ export class EigenResult {
|
|
|
2524
2685
|
readonly usedDenseFallback: boolean;
|
|
2525
2686
|
}
|
|
2526
2687
|
|
|
2688
|
+
/**
|
|
2689
|
+
* One-shot Balcı & Doğrusöz (2022) `fCoSE` Phase I spectral draft + Phase II constraint
|
|
2690
|
+
* alignment generator (`f32`).
|
|
2691
|
+
*/
|
|
2692
|
+
export class FcoseDraftGenerator {
|
|
2693
|
+
free(): void;
|
|
2694
|
+
[Symbol.dispose](): void;
|
|
2695
|
+
/**
|
|
2696
|
+
* Returns the most recently computed per-node bounding rectangles.
|
|
2697
|
+
*/
|
|
2698
|
+
compoundBounds(): CompoundRectRecord[];
|
|
2699
|
+
/**
|
|
2700
|
+
* Generates the Phase I + Phase II constrained draft `Layout2d`.
|
|
2701
|
+
*/
|
|
2702
|
+
generate(): Layout2d;
|
|
2703
|
+
/**
|
|
2704
|
+
* Constructs a validated `FcoseDraftGenerator` from `graph` and optional `FcoseOptions`.
|
|
2705
|
+
*/
|
|
2706
|
+
constructor(graph: Graph, options?: FcoseOptions | null);
|
|
2707
|
+
/**
|
|
2708
|
+
* Returns the expected vertex count.
|
|
2709
|
+
*/
|
|
2710
|
+
readonly numNodes: number;
|
|
2711
|
+
}
|
|
2712
|
+
|
|
2713
|
+
/**
|
|
2714
|
+
* r" Quality preset for `FcoseDraftGenerator` and `FcoseSolver`.
|
|
2715
|
+
*/
|
|
2716
|
+
export enum FcoseQuality {
|
|
2717
|
+
Default = 0,
|
|
2718
|
+
Proof = 1,
|
|
2719
|
+
}
|
|
2720
|
+
|
|
2721
|
+
/**
|
|
2722
|
+
* Cooperative Balcı & Doğrusöz (2022) Fast Compound Spring Embedder (`fCoSE`) solver (`f32`).
|
|
2723
|
+
*/
|
|
2724
|
+
export class FcoseSolver {
|
|
2725
|
+
free(): void;
|
|
2726
|
+
[Symbol.dispose](): void;
|
|
2727
|
+
/**
|
|
2728
|
+
* Returns the current per-node bounding rectangles (`centerX`, `centerY`, `width`, `height`,
|
|
2729
|
+
* `minX`, `maxX`, `minY`, `maxY`).
|
|
2730
|
+
*/
|
|
2731
|
+
compoundBounds(): CompoundRectRecord[];
|
|
2732
|
+
/**
|
|
2733
|
+
* Constructs an `FcoseSolver` from `graph` and optional `FcoseOptions`.
|
|
2734
|
+
*/
|
|
2735
|
+
constructor(graph: Graph, options?: FcoseOptions | null);
|
|
2736
|
+
/**
|
|
2737
|
+
* Executes up to `steps` Phase III constrained `fCoSE` iterations on `layout` in place.
|
|
2738
|
+
*/
|
|
2739
|
+
runSteps(layout: Layout2d, steps: number): SolverStatus;
|
|
2740
|
+
/**
|
|
2741
|
+
* Runs Phase III constrained `fCoSE` optimization to completion on `layout` in place.
|
|
2742
|
+
*/
|
|
2743
|
+
run(layout: Layout2d): SolverStatus;
|
|
2744
|
+
/**
|
|
2745
|
+
* Executes one Phase III constrained `fCoSE` iteration on `layout` in place.
|
|
2746
|
+
*/
|
|
2747
|
+
step(layout: Layout2d): SolverStatus;
|
|
2748
|
+
/**
|
|
2749
|
+
* Returns `true` when the solver has converged, completed, or failed.
|
|
2750
|
+
*/
|
|
2751
|
+
readonly isFinished: boolean;
|
|
2752
|
+
/**
|
|
2753
|
+
* Returns the number of Phase III iterations executed so far.
|
|
2754
|
+
*/
|
|
2755
|
+
readonly iteration: number;
|
|
2756
|
+
/**
|
|
2757
|
+
* Returns the expected vertex count.
|
|
2758
|
+
*/
|
|
2759
|
+
readonly numNodes: number;
|
|
2760
|
+
/**
|
|
2761
|
+
* Returns the solver lifecycle status (`SolverStatus`).
|
|
2762
|
+
*/
|
|
2763
|
+
readonly status: SolverStatus;
|
|
2764
|
+
/**
|
|
2765
|
+
* Returns the scheduled maximum Phase III iteration budget (`maxIterations`).
|
|
2766
|
+
*/
|
|
2767
|
+
readonly totalIterations: number | undefined;
|
|
2768
|
+
}
|
|
2769
|
+
|
|
2527
2770
|
/**
|
|
2528
2771
|
* Cooperative Force-Directed Edge Bundling (`FDEB`) solver (`f32`) mutating `EdgePolylines`
|
|
2529
2772
|
* in place across `"layout2d"`, `"layout3d"`, and `"layoutNd"`.
|
|
@@ -2589,6 +2832,40 @@ export class FdebSolver {
|
|
|
2589
2832
|
readonly totalIterations: number | undefined;
|
|
2590
2833
|
}
|
|
2591
2834
|
|
|
2835
|
+
/**
|
|
2836
|
+
* Per-step `IbFft` field telemetry counters returned by `TFdpSolver.lastFftStats()` and
|
|
2837
|
+
* `IbUmapSolver.lastFftStats()`.
|
|
2838
|
+
*/
|
|
2839
|
+
export class FieldFftStats {
|
|
2840
|
+
private constructor();
|
|
2841
|
+
free(): void;
|
|
2842
|
+
[Symbol.dispose](): void;
|
|
2843
|
+
/**
|
|
2844
|
+
* Number of inverse 2D FFTs executed.
|
|
2845
|
+
*/
|
|
2846
|
+
readonly inverseFfts: number;
|
|
2847
|
+
/**
|
|
2848
|
+
* Number of forward 2D FFTs executed on kernel grids.
|
|
2849
|
+
*/
|
|
2850
|
+
readonly kernelForwardFfts: number;
|
|
2851
|
+
/**
|
|
2852
|
+
* Active FFT grid width.
|
|
2853
|
+
*/
|
|
2854
|
+
readonly nx: number;
|
|
2855
|
+
/**
|
|
2856
|
+
* Active FFT grid height.
|
|
2857
|
+
*/
|
|
2858
|
+
readonly ny: number;
|
|
2859
|
+
/**
|
|
2860
|
+
* Number of forward 2D FFTs executed on particle charge grids.
|
|
2861
|
+
*/
|
|
2862
|
+
readonly particleForwardFfts: number;
|
|
2863
|
+
/**
|
|
2864
|
+
* Total `fft_2d` calls for this step.
|
|
2865
|
+
*/
|
|
2866
|
+
readonly totalFft2dCalls: number;
|
|
2867
|
+
}
|
|
2868
|
+
|
|
2592
2869
|
/**
|
|
2593
2870
|
* r" Repulsion backend selector for `TFdpSolver`, `IbUmapSolver`, and `SelLayoutSolver`.
|
|
2594
2871
|
*/
|
|
@@ -3299,6 +3576,7 @@ export class IbUmapSolver {
|
|
|
3299
3576
|
* Returns the effective per-vertex hub damping factors $\eta_i$ (`Float64Array`).
|
|
3300
3577
|
*/
|
|
3301
3578
|
hubEta(): Float64Array;
|
|
3579
|
+
lastFftStats(): FieldFftStats | undefined;
|
|
3302
3580
|
/**
|
|
3303
3581
|
* Constructs an `IbUmapSolver` from a `Graph` using $O(|E|)$ 1+2-hop pairs and
|
|
3304
3582
|
* regularized DoG Varadhan landmark ALT distances.
|
|
@@ -3791,7 +4069,7 @@ export class LayoutDegeneracy {
|
|
|
3791
4069
|
private constructor();
|
|
3792
4070
|
free(): void;
|
|
3793
4071
|
[Symbol.dispose](): void;
|
|
3794
|
-
toRecord():
|
|
4072
|
+
toRecord(): LayoutDegeneracyRecord;
|
|
3795
4073
|
readonly bboxHeight: number;
|
|
3796
4074
|
readonly bboxWidth: number;
|
|
3797
4075
|
readonly duplicateNodesF32: number;
|
|
@@ -4384,6 +4662,25 @@ export interface TorusCrossingRecord extends CrossingPairRecord {
|
|
|
4384
4662
|
segB: Float64Array;
|
|
4385
4663
|
}
|
|
4386
4664
|
|
|
4665
|
+
/**
|
|
4666
|
+
* Plain JavaScript record returned by `LayoutDegeneracy.toRecord()`.
|
|
4667
|
+
*/
|
|
4668
|
+
export interface LayoutDegeneracyRecord {
|
|
4669
|
+
numNodes: number;
|
|
4670
|
+
numEdges: number;
|
|
4671
|
+
duplicateNodesF32: number;
|
|
4672
|
+
duplicateRatioF32: number;
|
|
4673
|
+
duplicateNodesF64: number;
|
|
4674
|
+
duplicateRatioF64: number;
|
|
4675
|
+
excessDuplicateRatio: number;
|
|
4676
|
+
nearCollisionRatio: number;
|
|
4677
|
+
zeroLengthEdges: number;
|
|
4678
|
+
zeroLengthEdgeRatio: number;
|
|
4679
|
+
bboxWidth: number;
|
|
4680
|
+
bboxHeight: number;
|
|
4681
|
+
isBboxDegenerate: boolean;
|
|
4682
|
+
}
|
|
4683
|
+
|
|
4387
4684
|
/**
|
|
4388
4685
|
* Plain JavaScript record returned by `MetricReport.toRecord()`.
|
|
4389
4686
|
*/
|
|
@@ -4407,16 +4704,22 @@ export interface MetricReportRecord {
|
|
|
4407
4704
|
nodeResolution?: number;
|
|
4408
4705
|
relativeNeighborhoodPreservation?: number;
|
|
4409
4706
|
gabrielGraphPreservation?: number;
|
|
4707
|
+
degreeRelativeNeighborhoodPreservation?: number;
|
|
4708
|
+
degreeGabrielGraphPreservation?: number;
|
|
4709
|
+
degreeConstrainedRelativeNeighborhoodPreservation?: number;
|
|
4710
|
+
degreeConstrainedGabrielGraphPreservation?: number;
|
|
4410
4711
|
aspectRatio?: number;
|
|
4411
4712
|
angularResolution?: number;
|
|
4412
4713
|
minimumAngle?: number;
|
|
4413
4714
|
minimumAngleA1?: number;
|
|
4414
4715
|
layoutDegeneracy?: number;
|
|
4716
|
+
layoutDegeneracyDetail?: LayoutDegeneracyRecord;
|
|
4415
4717
|
idealEdgeLengths?: number;
|
|
4416
4718
|
prismSigmaDist?: number;
|
|
4417
4719
|
prismSigmaDisp?: number;
|
|
4418
4720
|
adjustedPatchNig?: number;
|
|
4419
4721
|
clusterAreaFaithfulness?: number;
|
|
4722
|
+
clusterAreaReport?: ClusterAreaReportRecord;
|
|
4420
4723
|
landmarkStratifiedRta?: number;
|
|
4421
4724
|
distanceConsistency?: number;
|
|
4422
4725
|
distributionConsistency?: number;
|
|
@@ -4526,6 +4829,7 @@ export interface ClusterBaselineOptions {
|
|
|
4526
4829
|
export interface MetricConfigOptions extends ClusterBaselineOptions {
|
|
4527
4830
|
numPivots?: number | null;
|
|
4528
4831
|
numSamples?: number | null;
|
|
4832
|
+
npNumSamples?: number | null;
|
|
4529
4833
|
seed?: number | bigint | null;
|
|
4530
4834
|
idealEdgeLength?: number | null;
|
|
4531
4835
|
labels?: Uint32Array | number[] | null;
|
|
@@ -4620,16 +4924,16 @@ export interface ClusterAreaReportRecord {
|
|
|
4620
4924
|
gEff: number;
|
|
4621
4925
|
numClusters: number;
|
|
4622
4926
|
numNodes: number;
|
|
4623
|
-
uniqueLabels
|
|
4624
|
-
counts
|
|
4625
|
-
p
|
|
4626
|
-
q
|
|
4627
|
-
purity
|
|
4628
|
-
resolution
|
|
4629
|
-
resDensityPerCluster
|
|
4630
|
-
resDeconvPerCluster
|
|
4631
|
-
cafPerCluster
|
|
4632
|
-
coherence
|
|
4927
|
+
uniqueLabels?: Uint32Array;
|
|
4928
|
+
counts?: Uint32Array;
|
|
4929
|
+
p?: Float64Array;
|
|
4930
|
+
q?: Float64Array;
|
|
4931
|
+
purity?: Float64Array;
|
|
4932
|
+
resolution?: Float64Array;
|
|
4933
|
+
resDensityPerCluster?: Float64Array;
|
|
4934
|
+
resDeconvPerCluster?: Float64Array;
|
|
4935
|
+
cafPerCluster?: Float64Array;
|
|
4936
|
+
coherence?: Float64Array;
|
|
4633
4937
|
}
|
|
4634
4938
|
|
|
4635
4939
|
/**
|
|
@@ -4651,6 +4955,7 @@ export class MetricReport {
|
|
|
4651
4955
|
readonly calinskiHarabaszScore: number | undefined;
|
|
4652
4956
|
readonly classDensityMeasure: number | undefined;
|
|
4653
4957
|
readonly clusterAreaFaithfulness: number | undefined;
|
|
4958
|
+
readonly clusterAreaReport: ClusterAreaReport | undefined;
|
|
4654
4959
|
readonly cqHacAmi: number | undefined;
|
|
4655
4960
|
readonly cqHacHom: number | undefined;
|
|
4656
4961
|
readonly cqKmeansAmi: number | undefined;
|
|
@@ -4661,6 +4966,10 @@ export class MetricReport {
|
|
|
4661
4966
|
readonly crossingNumber: number | undefined;
|
|
4662
4967
|
readonly crosslessness: number | undefined;
|
|
4663
4968
|
readonly daviesBouldinScore: number | undefined;
|
|
4969
|
+
readonly degreeConstrainedGabrielGraphPreservation: number | undefined;
|
|
4970
|
+
readonly degreeConstrainedRelativeNeighborhoodPreservation: number | undefined;
|
|
4971
|
+
readonly degreeGabrielGraphPreservation: number | undefined;
|
|
4972
|
+
readonly degreeRelativeNeighborhoodPreservation: number | undefined;
|
|
4664
4973
|
readonly distanceConsistency: number | undefined;
|
|
4665
4974
|
readonly distributionConsistency: number | undefined;
|
|
4666
4975
|
readonly gabrielGraphPreservation: number | undefined;
|
|
@@ -4669,6 +4978,7 @@ export class MetricReport {
|
|
|
4669
4978
|
readonly histogramDensityMeasure: number | undefined;
|
|
4670
4979
|
readonly idealEdgeLengths: number | undefined;
|
|
4671
4980
|
readonly landmarkStratifiedRta: number | undefined;
|
|
4981
|
+
readonly layoutDegeneracyDetail: LayoutDegeneracy | undefined;
|
|
4672
4982
|
readonly layoutDegeneracy: number | undefined;
|
|
4673
4983
|
readonly minimumAngleA1: number | undefined;
|
|
4674
4984
|
readonly minimumAngle: number | undefined;
|
|
@@ -4752,6 +5062,10 @@ export enum MetricTarget {
|
|
|
4752
5062
|
PairwiseDistanceOverlapError = 45,
|
|
4753
5063
|
SprawlterNn = 46,
|
|
4754
5064
|
NorMetrics = 47,
|
|
5065
|
+
DegreeRelativeNeighborhoodPreservation = 48,
|
|
5066
|
+
DegreeGabrielGraphPreservation = 49,
|
|
5067
|
+
DegreeConstrainedRelativeNeighborhoodPreservation = 50,
|
|
5068
|
+
DegreeConstrainedGabrielGraphPreservation = 51,
|
|
4755
5069
|
}
|
|
4756
5070
|
|
|
4757
5071
|
/**
|
|
@@ -5043,7 +5357,13 @@ export class PrismOverlapRemoval {
|
|
|
5043
5357
|
export class RdMds {
|
|
5044
5358
|
free(): void;
|
|
5045
5359
|
[Symbol.dispose](): void;
|
|
5046
|
-
generate(graph
|
|
5360
|
+
generate(graph?: Graph | null): Layout2d | Layout3d | LayoutNd;
|
|
5361
|
+
/**
|
|
5362
|
+
* Constructs an `RdMds` generator from precomputed smallest nontrivial symmetric-Laplacian
|
|
5363
|
+
* eigenpairs `(lambdas, vectors, invSqrtDeg?, options?)`.
|
|
5364
|
+
*/
|
|
5365
|
+
static fromEigenpairs(lambdas: Float64Array | Float32Array | number[], vectors: Float64Array | Float32Array | number[], options?: RdMdsFromEigenpairsOptions | null): RdMds;
|
|
5366
|
+
static fromEigenpairs(lambdas: Float64Array | Float32Array | number[], vectors: Float64Array | Float32Array | number[], invSqrtDeg?: Float64Array | Float32Array | number[] | null, options?: RdMdsFromEigenpairsOptions | null): RdMds;
|
|
5047
5367
|
constructor(options?: RdMdsGeneratorOptions | null);
|
|
5048
5368
|
}
|
|
5049
5369
|
|
|
@@ -6393,6 +6713,7 @@ export class TFdpSolver {
|
|
|
6393
6713
|
*/
|
|
6394
6714
|
static fromKnn(knn: KnnGraph, options?: TFdpOptions | null): TFdpSolver;
|
|
6395
6715
|
static fromKnn(indptr: Uint32Array | number[], indices: Uint32Array | number[], weightsOrOptions?: Float64Array | Float32Array | number[] | TFdpOptions | null, options?: TFdpOptions | null): TFdpSolver;
|
|
6716
|
+
lastFftStats(): FieldFftStats | undefined;
|
|
6396
6717
|
/**
|
|
6397
6718
|
* Constructs a `TFdpSolver` directly from a `Graph`.
|
|
6398
6719
|
*/
|
|
@@ -6493,10 +6814,27 @@ export class TsNetSolver {
|
|
|
6493
6814
|
*/
|
|
6494
6815
|
static fromProbabilitiesWithStages(probs: SparseProbabilities, stages: readonly (TsNetStage | TsNetStageOptions)[], options?: TsNetOptions | null): TsNetSolver;
|
|
6495
6816
|
static fromProbabilities(probs: SparseProbabilities, options?: TsNetOptions | null): TsNetSolver;
|
|
6817
|
+
/**
|
|
6818
|
+
* Constructs a `graph t-SNE` ($w_2 = 0$) solver using exact 1-hop row-normalized
|
|
6819
|
+
* affinities with Stage-1 learning-rate warmup (`25` steps) and step-norm clipping (`2.0`).
|
|
6820
|
+
*/
|
|
6821
|
+
static graphTsne(graph: Graph, options?: TsNetOptions | null): TsNetSolver;
|
|
6822
|
+
/**
|
|
6823
|
+
* Constructs a classic two-stage `L-tsNET` solver using Partial BFS $k$-NN
|
|
6824
|
+
* ($k = \min(120, n - 1)$), fixed base learning rate `200.0`, and stage-2 repulsion
|
|
6825
|
+
* ($\lambda_r = 0.6$).
|
|
6826
|
+
*/
|
|
6827
|
+
static lTsnet(graph: Graph, options?: TsNetOptions | null): TsNetSolver;
|
|
6496
6828
|
lastFftStats(): FitFieldStats | undefined;
|
|
6497
6829
|
constructor(graph: Graph, options?: TsNetOptions | null);
|
|
6498
6830
|
static pure2Hop(graph: Graph, options?: TsNetOptions | null): TsNetSolver;
|
|
6831
|
+
/**
|
|
6832
|
+
* Constructs a canonical `RN-tsNET` solver using row-normalized 1+2-hop probabilities,
|
|
6833
|
+
* Stage-1 learning-rate warmup (`25` steps), and step-norm clipping (`2.0`).
|
|
6834
|
+
*/
|
|
6835
|
+
static rnTsnet(graph: Graph, options?: TsNetRnOptions | null): TsNetSolver;
|
|
6499
6836
|
readonly backend: TsNetBackend;
|
|
6837
|
+
readonly currentEffectiveLr: number;
|
|
6500
6838
|
readonly currentStageLr: number;
|
|
6501
6839
|
readonly isFinished: boolean;
|
|
6502
6840
|
readonly iteration: number;
|
|
@@ -6737,15 +7075,92 @@ export function _daviesBouldinScoreManifold(layout: ManifoldLayout2d, labels: Ui
|
|
|
6737
7075
|
export function _daviesBouldinScoreNd(layout: LayoutNd, labels: Uint32Array | number[]): number;
|
|
6738
7076
|
|
|
6739
7077
|
/**
|
|
6740
|
-
*
|
|
7078
|
+
* Extracts Fang et al. (2025) degree-constrained Gabriel Graph (`dcGG`) edges on `Layout2d`.
|
|
7079
|
+
*/
|
|
7080
|
+
export function _degreeConstrainedGabrielGraphEdges2d(graph: Graph, layout: Layout2d, proximity_num_sectors: any): Uint32Array;
|
|
7081
|
+
|
|
7082
|
+
export function _degreeConstrainedGabrielGraphEdges3d(graph: Graph, layout: Layout3d, proximity_num_sectors: any): Uint32Array;
|
|
7083
|
+
|
|
7084
|
+
export function _degreeConstrainedGabrielGraphEdgesManifold(g: Graph, l: ManifoldLayout2d, s: any): Uint32Array;
|
|
7085
|
+
|
|
7086
|
+
export function _degreeConstrainedGabrielGraphEdgesNd(g: Graph, l: LayoutNd, s: any): Uint32Array;
|
|
7087
|
+
|
|
7088
|
+
/**
|
|
7089
|
+
* Computes Fang et al. (2025) degree-constrained Gabriel Graph preservation (`Q_{dcGG}`) on `Layout2d`.
|
|
7090
|
+
*/
|
|
7091
|
+
export function _degreeConstrainedGabrielGraphPreservation2d(graph: Graph, layout: Layout2d, proximity_num_sectors: any): number;
|
|
7092
|
+
|
|
7093
|
+
export function _degreeConstrainedGabrielGraphPreservation3d(graph: Graph, layout: Layout3d, proximity_num_sectors: any): number;
|
|
7094
|
+
|
|
7095
|
+
export function _degreeConstrainedGabrielGraphPreservationManifold(g: Graph, l: ManifoldLayout2d, s: any): number;
|
|
7096
|
+
|
|
7097
|
+
export function _degreeConstrainedGabrielGraphPreservationNd(g: Graph, l: LayoutNd, s: any): number;
|
|
7098
|
+
|
|
7099
|
+
/**
|
|
7100
|
+
* Extracts Fang et al. (2025) degree-constrained Relative Neighborhood Graph (`dcRNG`) edges on `Layout2d`.
|
|
7101
|
+
*/
|
|
7102
|
+
export function _degreeConstrainedRelativeNeighborhoodEdges2d(graph: Graph, layout: Layout2d, proximity_num_sectors: any): Uint32Array;
|
|
7103
|
+
|
|
7104
|
+
export function _degreeConstrainedRelativeNeighborhoodEdges3d(graph: Graph, layout: Layout3d, proximity_num_sectors: any): Uint32Array;
|
|
7105
|
+
|
|
7106
|
+
export function _degreeConstrainedRelativeNeighborhoodEdgesManifold(g: Graph, l: ManifoldLayout2d, s: any): Uint32Array;
|
|
7107
|
+
|
|
7108
|
+
export function _degreeConstrainedRelativeNeighborhoodEdgesNd(g: Graph, l: LayoutNd, s: any): Uint32Array;
|
|
7109
|
+
|
|
7110
|
+
/**
|
|
7111
|
+
* Computes Fang et al. (2025) degree-constrained Relative Neighborhood Graph preservation (`Q_{dcRNG}`) on `Layout2d`.
|
|
7112
|
+
*/
|
|
7113
|
+
export function _degreeConstrainedRelativeNeighborhoodPreservation2d(graph: Graph, layout: Layout2d, proximity_num_sectors: any): number;
|
|
7114
|
+
|
|
7115
|
+
export function _degreeConstrainedRelativeNeighborhoodPreservation3d(graph: Graph, layout: Layout3d, proximity_num_sectors: any): number;
|
|
7116
|
+
|
|
7117
|
+
export function _degreeConstrainedRelativeNeighborhoodPreservationManifold(g: Graph, l: ManifoldLayout2d, s: any): number;
|
|
7118
|
+
|
|
7119
|
+
export function _degreeConstrainedRelativeNeighborhoodPreservationNd(g: Graph, l: LayoutNd, s: any): number;
|
|
7120
|
+
|
|
7121
|
+
/**
|
|
7122
|
+
* Extracts Hong et al. (2022) degree-aware Gabriel Graph (`dGG`) edges on `Layout2d`.
|
|
7123
|
+
*/
|
|
7124
|
+
export function _degreeGabrielGraphEdges2d(graph: Graph, layout: Layout2d, proximity_num_sectors: any): Uint32Array;
|
|
7125
|
+
|
|
7126
|
+
export function _degreeGabrielGraphEdges3d(graph: Graph, layout: Layout3d, proximity_num_sectors: any): Uint32Array;
|
|
7127
|
+
|
|
7128
|
+
export function _degreeGabrielGraphEdgesManifold(g: Graph, l: ManifoldLayout2d, s: any): Uint32Array;
|
|
7129
|
+
|
|
7130
|
+
export function _degreeGabrielGraphEdgesNd(g: Graph, l: LayoutNd, s: any): Uint32Array;
|
|
7131
|
+
|
|
7132
|
+
/**
|
|
7133
|
+
* Computes Hong et al. (2022) degree-aware Gabriel Graph preservation (`Q_{dGG}`) on `Layout2d`.
|
|
7134
|
+
*/
|
|
7135
|
+
export function _degreeGabrielGraphPreservation2d(graph: Graph, layout: Layout2d, proximity_num_sectors: any): number;
|
|
7136
|
+
|
|
7137
|
+
export function _degreeGabrielGraphPreservation3d(graph: Graph, layout: Layout3d, proximity_num_sectors: any): number;
|
|
7138
|
+
|
|
7139
|
+
export function _degreeGabrielGraphPreservationManifold(g: Graph, l: ManifoldLayout2d, s: any): number;
|
|
7140
|
+
|
|
7141
|
+
export function _degreeGabrielGraphPreservationNd(g: Graph, l: LayoutNd, s: any): number;
|
|
7142
|
+
|
|
7143
|
+
/**
|
|
7144
|
+
* Extracts Hong et al. (2022) degree-aware Relative Neighborhood Graph (`dRNG`) edges on `Layout2d`.
|
|
6741
7145
|
*/
|
|
6742
|
-
export function
|
|
7146
|
+
export function _degreeRelativeNeighborhoodEdges2d(graph: Graph, layout: Layout2d, proximity_num_sectors: any): Uint32Array;
|
|
6743
7147
|
|
|
6744
|
-
export function
|
|
7148
|
+
export function _degreeRelativeNeighborhoodEdges3d(graph: Graph, layout: Layout3d, proximity_num_sectors: any): Uint32Array;
|
|
6745
7149
|
|
|
6746
|
-
export function
|
|
7150
|
+
export function _degreeRelativeNeighborhoodEdgesManifold(g: Graph, l: ManifoldLayout2d, s: any): Uint32Array;
|
|
6747
7151
|
|
|
6748
|
-
export function
|
|
7152
|
+
export function _degreeRelativeNeighborhoodEdgesNd(g: Graph, l: LayoutNd, s: any): Uint32Array;
|
|
7153
|
+
|
|
7154
|
+
/**
|
|
7155
|
+
* Computes Hong et al. (2022) degree-aware Relative Neighborhood Graph preservation (`Q_{dRNG}`) on `Layout2d`.
|
|
7156
|
+
*/
|
|
7157
|
+
export function _degreeRelativeNeighborhoodPreservation2d(graph: Graph, layout: Layout2d, proximity_num_sectors: any): number;
|
|
7158
|
+
|
|
7159
|
+
export function _degreeRelativeNeighborhoodPreservation3d(graph: Graph, layout: Layout3d, proximity_num_sectors: any): number;
|
|
7160
|
+
|
|
7161
|
+
export function _degreeRelativeNeighborhoodPreservationManifold(g: Graph, l: ManifoldLayout2d, s: any): number;
|
|
7162
|
+
|
|
7163
|
+
export function _degreeRelativeNeighborhoodPreservationNd(g: Graph, l: LayoutNd, s: any): number;
|
|
6749
7164
|
|
|
6750
7165
|
export function _distanceConsistency2d(layout: Layout2d, labels: Uint32Array | number[]): number;
|
|
6751
7166
|
|
|
@@ -6763,17 +7178,6 @@ export function _distributionConsistencyManifold(layout: ManifoldLayout2d, label
|
|
|
6763
7178
|
|
|
6764
7179
|
export function _distributionConsistencyNd(layout: LayoutNd, labels: Uint32Array | number[], options?: { gridSize?: number | null } | null): number;
|
|
6765
7180
|
|
|
6766
|
-
/**
|
|
6767
|
-
* Computes Eades et al. (2017) unweighted shape-based Relative Neighborhood Graph preservation (`S_RNG`).
|
|
6768
|
-
*/
|
|
6769
|
-
export function _drngPreservation2d(graph: Graph, layout: Layout2d): number;
|
|
6770
|
-
|
|
6771
|
-
export function _drngPreservation3d(graph: Graph, layout: Layout3d): number;
|
|
6772
|
-
|
|
6773
|
-
export function _drngPreservationManifold(graph: Graph, layout: ManifoldLayout2d): number;
|
|
6774
|
-
|
|
6775
|
-
export function _drngPreservationNd(graph: Graph, layout: LayoutNd): number;
|
|
6776
|
-
|
|
6777
7181
|
/**
|
|
6778
7182
|
* Selectively evaluates quality metrics on `Layout2d` without an `originalLayout`.
|
|
6779
7183
|
*/
|
|
@@ -6810,6 +7214,17 @@ export function _gabrielGraphEdgesManifold(layout: ManifoldLayout2d): Uint32Arra
|
|
|
6810
7214
|
|
|
6811
7215
|
export function _gabrielGraphEdgesNd(layout: LayoutNd): Uint32Array;
|
|
6812
7216
|
|
|
7217
|
+
/**
|
|
7218
|
+
* Computes Eades et al. (2017) unweighted shape-based Gabriel Graph preservation (`S_GG`).
|
|
7219
|
+
*/
|
|
7220
|
+
export function _gabrielGraphPreservation2d(graph: Graph, layout: Layout2d, proximity_num_sectors: any): number;
|
|
7221
|
+
|
|
7222
|
+
export function _gabrielGraphPreservation3d(graph: Graph, layout: Layout3d, proximity_num_sectors: any): number;
|
|
7223
|
+
|
|
7224
|
+
export function _gabrielGraphPreservationManifold(graph: Graph, layout: ManifoldLayout2d, proximity_num_sectors: any): number;
|
|
7225
|
+
|
|
7226
|
+
export function _gabrielGraphPreservationNd(graph: Graph, layout: LayoutNd, proximity_num_sectors: any): number;
|
|
7227
|
+
|
|
6813
7228
|
/**
|
|
6814
7229
|
* Computes Gabriel graph condition violations across `graph` edges under `layout`.
|
|
6815
7230
|
*/
|
|
@@ -6938,6 +7353,17 @@ export function _relativeNeighborhoodEdgesManifold(layout: ManifoldLayout2d): Ui
|
|
|
6938
7353
|
|
|
6939
7354
|
export function _relativeNeighborhoodEdgesNd(layout: LayoutNd): Uint32Array;
|
|
6940
7355
|
|
|
7356
|
+
/**
|
|
7357
|
+
* Computes Eades et al. (2017) unweighted shape-based Relative Neighborhood Graph preservation (`S_RNG`).
|
|
7358
|
+
*/
|
|
7359
|
+
export function _relativeNeighborhoodPreservation2d(graph: Graph, layout: Layout2d, proximity_num_sectors: any): number;
|
|
7360
|
+
|
|
7361
|
+
export function _relativeNeighborhoodPreservation3d(graph: Graph, layout: Layout3d, proximity_num_sectors: any): number;
|
|
7362
|
+
|
|
7363
|
+
export function _relativeNeighborhoodPreservationManifold(graph: Graph, layout: ManifoldLayout2d, proximity_num_sectors: any): number;
|
|
7364
|
+
|
|
7365
|
+
export function _relativeNeighborhoodPreservationNd(graph: Graph, layout: LayoutNd, proximity_num_sectors: any): number;
|
|
7366
|
+
|
|
6941
7367
|
/**
|
|
6942
7368
|
* Estimates 1-hop neighborhood preservation (`NP1`) via vertex sampling (`options?: { numSamples?, seed? }`).
|
|
6943
7369
|
*/
|
|
@@ -7138,13 +7564,20 @@ export function aspectRatio(layout: Layout2d): number;
|
|
|
7138
7564
|
*/
|
|
7139
7565
|
export function assignLayers(graph: Graph, methodOrOptions?: LayeringMethod | { method?: LayeringMethod | null } | null): Uint32Array;
|
|
7140
7566
|
|
|
7567
|
+
/**
|
|
7568
|
+
* Appends one root-level compound parent node per distinct cluster ID in `clusterIds`
|
|
7569
|
+
* (in canonical first-appearance order) and returns `{ graph, parents }`.
|
|
7570
|
+
*/
|
|
7571
|
+
export function augmentGraphWithClusterParents(graph: Graph, clusterIds: Uint32Array | number[]): AugmentedClusterGraphResult;
|
|
7572
|
+
|
|
7141
7573
|
/**
|
|
7142
7574
|
* Runs single-source unweighted BFS from `source`, scaling each hop by `unitEdgeLength` (default `1.0`).
|
|
7143
7575
|
*/
|
|
7144
7576
|
export function bfsSingleSource(graph: Graph, source: number, unit_edge_length?: number | null): Float64Array;
|
|
7145
7577
|
|
|
7146
7578
|
/**
|
|
7147
|
-
* Builds a
|
|
7579
|
+
* Builds a capped 1+2-hop CSR `KnnGraph` with `{1.0, 2.0}` distances and degree statistics
|
|
7580
|
+
* using `TwoHopSamplingMode::TwoStepRandomWalk` (`maxBridgeDegree = None`).
|
|
7148
7581
|
*/
|
|
7149
7582
|
export function buildCapped12hopKnn(graph: Graph, max2hopPerNode?: number | null, seed?: number | bigint | null): TwoHopKnnResult;
|
|
7150
7583
|
|
|
@@ -7403,12 +7836,14 @@ export function extract1hopTetherWeights(graph: Graph, probs: SparseProbabilitie
|
|
|
7403
7836
|
export function extractQuadrilateralBackbone(graph: Graph, options?: BackboneOptions | null): BackboneResult;
|
|
7404
7837
|
|
|
7405
7838
|
/**
|
|
7406
|
-
* Extracts canonical undirected 1-hop and
|
|
7839
|
+
* Extracts canonical undirected 1-hop and capped 2-hop vertex pair arrays `Sparse12HopPairs`
|
|
7840
|
+
* using `TwoHopSamplingMode::TwoStepRandomWalk` (`maxBridgeDegree = None`).
|
|
7407
7841
|
*/
|
|
7408
7842
|
export function extractSparse1hop2hopPairs(graph: Graph, max2hopPerNode?: number | null, seed?: number | bigint | null): Sparse12HopPairs;
|
|
7409
7843
|
|
|
7410
7844
|
/**
|
|
7411
|
-
* Extracts canonical 1-hop and 2-hop pairs using an explicit `TwoHopSamplingMode`
|
|
7845
|
+
* Extracts canonical 1-hop and 2-hop pairs using an explicit `TwoHopSamplingMode`
|
|
7846
|
+
* (default `TwoStepRandomWalk`) and optional `maxBridgeDegree`.
|
|
7412
7847
|
*/
|
|
7413
7848
|
export function extractSparse1hop2hopPairsWithMode(graph: Graph, options?: TwoHopModeOptions | null): Sparse12HopPairs;
|
|
7414
7849
|
|
|
@@ -7884,6 +8319,7 @@ export interface InitOutput {
|
|
|
7884
8319
|
readonly __wbg_coarsebackboneresult_free: (a: number, b: number) => void;
|
|
7885
8320
|
readonly __wbg_coarsenedgraphresult_free: (a: number, b: number) => void;
|
|
7886
8321
|
readonly __wbg_coarsenedhierarchyresult_free: (a: number, b: number) => void;
|
|
8322
|
+
readonly __wbg_cosesolver_free: (a: number, b: number) => void;
|
|
7887
8323
|
readonly __wbg_crossingpair_free: (a: number, b: number) => void;
|
|
7888
8324
|
readonly __wbg_crossingsummary_free: (a: number, b: number) => void;
|
|
7889
8325
|
readonly __wbg_csrmatrix_free: (a: number, b: number) => void;
|
|
@@ -7897,7 +8333,10 @@ export interface InitOutput {
|
|
|
7897
8333
|
readonly __wbg_edgepolylines_free: (a: number, b: number) => void;
|
|
7898
8334
|
readonly __wbg_effectiveresistanceresult_free: (a: number, b: number) => void;
|
|
7899
8335
|
readonly __wbg_eigenresult_free: (a: number, b: number) => void;
|
|
8336
|
+
readonly __wbg_fcosedraftgenerator_free: (a: number, b: number) => void;
|
|
8337
|
+
readonly __wbg_fcosesolver_free: (a: number, b: number) => void;
|
|
7900
8338
|
readonly __wbg_fdebsolver_free: (a: number, b: number) => void;
|
|
8339
|
+
readonly __wbg_fieldfftstats_free: (a: number, b: number) => void;
|
|
7901
8340
|
readonly __wbg_fieldrepulsionkernel_free: (a: number, b: number) => void;
|
|
7902
8341
|
readonly __wbg_fitfieldstats_free: (a: number, b: number) => void;
|
|
7903
8342
|
readonly __wbg_forbidoverlapremoval_free: (a: number, b: number) => void;
|
|
@@ -7996,10 +8435,38 @@ export interface InitOutput {
|
|
|
7996
8435
|
readonly _daviesBouldinScore3d: (a: number, b: number, c: any) => void;
|
|
7997
8436
|
readonly _daviesBouldinScoreManifold: (a: number, b: number, c: any) => void;
|
|
7998
8437
|
readonly _daviesBouldinScoreNd: (a: number, b: number, c: any) => void;
|
|
7999
|
-
readonly
|
|
8000
|
-
readonly
|
|
8001
|
-
readonly
|
|
8002
|
-
readonly
|
|
8438
|
+
readonly _degreeConstrainedGabrielGraphEdges2d: (a: number, b: number, c: number, d: any) => void;
|
|
8439
|
+
readonly _degreeConstrainedGabrielGraphEdges3d: (a: number, b: number, c: number, d: any) => void;
|
|
8440
|
+
readonly _degreeConstrainedGabrielGraphEdgesManifold: (a: number, b: number, c: number, d: any) => void;
|
|
8441
|
+
readonly _degreeConstrainedGabrielGraphEdgesNd: (a: number, b: number, c: number, d: any) => void;
|
|
8442
|
+
readonly _degreeConstrainedGabrielGraphPreservation2d: (a: number, b: number, c: number, d: any) => void;
|
|
8443
|
+
readonly _degreeConstrainedGabrielGraphPreservation3d: (a: number, b: number, c: number, d: any) => void;
|
|
8444
|
+
readonly _degreeConstrainedGabrielGraphPreservationManifold: (a: number, b: number, c: number, d: any) => void;
|
|
8445
|
+
readonly _degreeConstrainedGabrielGraphPreservationNd: (a: number, b: number, c: number, d: any) => void;
|
|
8446
|
+
readonly _degreeConstrainedRelativeNeighborhoodEdges2d: (a: number, b: number, c: number, d: any) => void;
|
|
8447
|
+
readonly _degreeConstrainedRelativeNeighborhoodEdges3d: (a: number, b: number, c: number, d: any) => void;
|
|
8448
|
+
readonly _degreeConstrainedRelativeNeighborhoodEdgesManifold: (a: number, b: number, c: number, d: any) => void;
|
|
8449
|
+
readonly _degreeConstrainedRelativeNeighborhoodEdgesNd: (a: number, b: number, c: number, d: any) => void;
|
|
8450
|
+
readonly _degreeConstrainedRelativeNeighborhoodPreservation2d: (a: number, b: number, c: number, d: any) => void;
|
|
8451
|
+
readonly _degreeConstrainedRelativeNeighborhoodPreservation3d: (a: number, b: number, c: number, d: any) => void;
|
|
8452
|
+
readonly _degreeConstrainedRelativeNeighborhoodPreservationManifold: (a: number, b: number, c: number, d: any) => void;
|
|
8453
|
+
readonly _degreeConstrainedRelativeNeighborhoodPreservationNd: (a: number, b: number, c: number, d: any) => void;
|
|
8454
|
+
readonly _degreeGabrielGraphEdges2d: (a: number, b: number, c: number, d: any) => void;
|
|
8455
|
+
readonly _degreeGabrielGraphEdges3d: (a: number, b: number, c: number, d: any) => void;
|
|
8456
|
+
readonly _degreeGabrielGraphEdgesManifold: (a: number, b: number, c: number, d: any) => void;
|
|
8457
|
+
readonly _degreeGabrielGraphEdgesNd: (a: number, b: number, c: number, d: any) => void;
|
|
8458
|
+
readonly _degreeGabrielGraphPreservation2d: (a: number, b: number, c: number, d: any) => void;
|
|
8459
|
+
readonly _degreeGabrielGraphPreservation3d: (a: number, b: number, c: number, d: any) => void;
|
|
8460
|
+
readonly _degreeGabrielGraphPreservationManifold: (a: number, b: number, c: number, d: any) => void;
|
|
8461
|
+
readonly _degreeGabrielGraphPreservationNd: (a: number, b: number, c: number, d: any) => void;
|
|
8462
|
+
readonly _degreeRelativeNeighborhoodEdges2d: (a: number, b: number, c: number, d: any) => void;
|
|
8463
|
+
readonly _degreeRelativeNeighborhoodEdges3d: (a: number, b: number, c: number, d: any) => void;
|
|
8464
|
+
readonly _degreeRelativeNeighborhoodEdgesManifold: (a: number, b: number, c: number, d: any) => void;
|
|
8465
|
+
readonly _degreeRelativeNeighborhoodEdgesNd: (a: number, b: number, c: number, d: any) => void;
|
|
8466
|
+
readonly _degreeRelativeNeighborhoodPreservation2d: (a: number, b: number, c: number, d: any) => void;
|
|
8467
|
+
readonly _degreeRelativeNeighborhoodPreservation3d: (a: number, b: number, c: number, d: any) => void;
|
|
8468
|
+
readonly _degreeRelativeNeighborhoodPreservationManifold: (a: number, b: number, c: number, d: any) => void;
|
|
8469
|
+
readonly _degreeRelativeNeighborhoodPreservationNd: (a: number, b: number, c: number, d: any) => void;
|
|
8003
8470
|
readonly _distanceConsistency2d: (a: number, b: number, c: any) => void;
|
|
8004
8471
|
readonly _distanceConsistency3d: (a: number, b: number, c: any) => void;
|
|
8005
8472
|
readonly _distanceConsistencyManifold: (a: number, b: number, c: any) => void;
|
|
@@ -8008,10 +8475,6 @@ export interface InitOutput {
|
|
|
8008
8475
|
readonly _distributionConsistency3d: (a: number, b: number, c: any, d: any) => void;
|
|
8009
8476
|
readonly _distributionConsistencyManifold: (a: number, b: number, c: any, d: any) => void;
|
|
8010
8477
|
readonly _distributionConsistencyNd: (a: number, b: number, c: any, d: any) => void;
|
|
8011
|
-
readonly _drngPreservation2d: (a: number, b: number, c: number) => void;
|
|
8012
|
-
readonly _drngPreservation3d: (a: number, b: number, c: number) => void;
|
|
8013
|
-
readonly _drngPreservationManifold: (a: number, b: number, c: number) => void;
|
|
8014
|
-
readonly _drngPreservationNd: (a: number, b: number, c: number) => void;
|
|
8015
8478
|
readonly _evaluateMetrics2d: (a: number, b: number, c: number, d: any, e: any) => void;
|
|
8016
8479
|
readonly _evaluateMetrics2dWithOriginal: (a: number, b: number, c: number, d: any, e: any, f: number) => void;
|
|
8017
8480
|
readonly _evaluateMetrics3d: (a: number, b: number, c: number, d: any, e: any) => void;
|
|
@@ -8021,6 +8484,10 @@ export interface InitOutput {
|
|
|
8021
8484
|
readonly _gabrielGraphEdges3d: (a: number, b: number) => void;
|
|
8022
8485
|
readonly _gabrielGraphEdgesManifold: (a: number, b: number) => void;
|
|
8023
8486
|
readonly _gabrielGraphEdgesNd: (a: number, b: number) => void;
|
|
8487
|
+
readonly _gabrielGraphPreservation2d: (a: number, b: number, c: number, d: any) => void;
|
|
8488
|
+
readonly _gabrielGraphPreservation3d: (a: number, b: number, c: number, d: any) => void;
|
|
8489
|
+
readonly _gabrielGraphPreservationManifold: (a: number, b: number, c: number, d: any) => void;
|
|
8490
|
+
readonly _gabrielGraphPreservationNd: (a: number, b: number, c: number, d: any) => void;
|
|
8024
8491
|
readonly _gabrielGraphProperty2d: (a: number, b: number, c: number) => void;
|
|
8025
8492
|
readonly _gabrielGraphProperty3d: (a: number, b: number, c: number) => void;
|
|
8026
8493
|
readonly _gabrielGraphPropertyManifold: (a: number, b: number, c: number) => void;
|
|
@@ -8073,6 +8540,10 @@ export interface InitOutput {
|
|
|
8073
8540
|
readonly _relativeNeighborhoodEdges3d: (a: number, b: number) => void;
|
|
8074
8541
|
readonly _relativeNeighborhoodEdgesManifold: (a: number, b: number) => void;
|
|
8075
8542
|
readonly _relativeNeighborhoodEdgesNd: (a: number, b: number) => void;
|
|
8543
|
+
readonly _relativeNeighborhoodPreservation2d: (a: number, b: number, c: number, d: any) => void;
|
|
8544
|
+
readonly _relativeNeighborhoodPreservation3d: (a: number, b: number, c: number, d: any) => void;
|
|
8545
|
+
readonly _relativeNeighborhoodPreservationManifold: (a: number, b: number, c: number, d: any) => void;
|
|
8546
|
+
readonly _relativeNeighborhoodPreservationNd: (a: number, b: number, c: number, d: any) => void;
|
|
8076
8547
|
readonly _sampledNp12d: (a: number, b: number, c: number, d: any) => void;
|
|
8077
8548
|
readonly _sampledNp13d: (a: number, b: number, c: number, d: any) => void;
|
|
8078
8549
|
readonly _sampledNp1Manifold: (a: number, b: number, c: number, d: any) => void;
|
|
@@ -8210,6 +8681,7 @@ export interface InitOutput {
|
|
|
8210
8681
|
readonly arenaoctree3d_traversalStackCap: (a: number) => number;
|
|
8211
8682
|
readonly aspectRatio: (a: number, b: number) => void;
|
|
8212
8683
|
readonly assignLayers: (a: number, b: number, c: any) => void;
|
|
8684
|
+
readonly augmentGraphWithClusterParents: (a: number, b: number, c: any) => void;
|
|
8213
8685
|
readonly backboneresult_backboneCsr: (a: number) => number;
|
|
8214
8686
|
readonly backboneresult_backboneEdges: (a: number, b: number) => void;
|
|
8215
8687
|
readonly backboneresult_edgeWeights: (a: number, b: number) => void;
|
|
@@ -8354,6 +8826,16 @@ export interface InitOutput {
|
|
|
8354
8826
|
readonly computeRegularizedDogVaradhanLandmarks: (a: number, b: number, c: any) => void;
|
|
8355
8827
|
readonly computeRegularizedDogVaradhanLandmarksFromMatrix: (a: number, b: number, c: number, d: any) => void;
|
|
8356
8828
|
readonly computeResistanceEmbedding: (a: number, b: number, c: any) => void;
|
|
8829
|
+
readonly cosesolver_compoundBounds: (a: number, b: number) => void;
|
|
8830
|
+
readonly cosesolver_isFinished: (a: number) => number;
|
|
8831
|
+
readonly cosesolver_iteration: (a: number) => number;
|
|
8832
|
+
readonly cosesolver_new: (a: number, b: number, c: any) => void;
|
|
8833
|
+
readonly cosesolver_numNodes: (a: number) => number;
|
|
8834
|
+
readonly cosesolver_run: (a: number, b: number, c: number) => void;
|
|
8835
|
+
readonly cosesolver_runSteps: (a: number, b: number, c: number, d: number) => void;
|
|
8836
|
+
readonly cosesolver_status: (a: number) => number;
|
|
8837
|
+
readonly cosesolver_step: (a: number, b: number, c: number) => void;
|
|
8838
|
+
readonly cosesolver_totalIterations: (a: number) => number;
|
|
8357
8839
|
readonly crossingEdges: (a: number, b: number, c: number) => void;
|
|
8358
8840
|
readonly crossingEdgesHyperbolic: (a: number, b: number, c: number) => void;
|
|
8359
8841
|
readonly crossingEdgesSpherical: (a: number, b: number, c: number) => void;
|
|
@@ -8517,6 +8999,20 @@ export interface InitOutput {
|
|
|
8517
8999
|
readonly extractQuadrilateralBackbone: (a: number, b: number, c: any) => void;
|
|
8518
9000
|
readonly extractSparse1hop2hopPairs: (a: number, b: number, c: number, d: number, e: any) => void;
|
|
8519
9001
|
readonly extractSparse1hop2hopPairsWithMode: (a: number, b: number, c: any) => void;
|
|
9002
|
+
readonly fcosedraftgenerator_compoundBounds: (a: number, b: number) => void;
|
|
9003
|
+
readonly fcosedraftgenerator_generate: (a: number, b: number) => void;
|
|
9004
|
+
readonly fcosedraftgenerator_new: (a: number, b: number, c: any) => void;
|
|
9005
|
+
readonly fcosedraftgenerator_numNodes: (a: number) => number;
|
|
9006
|
+
readonly fcosesolver_compoundBounds: (a: number, b: number) => void;
|
|
9007
|
+
readonly fcosesolver_isFinished: (a: number) => number;
|
|
9008
|
+
readonly fcosesolver_iteration: (a: number) => number;
|
|
9009
|
+
readonly fcosesolver_new: (a: number, b: number, c: any) => void;
|
|
9010
|
+
readonly fcosesolver_numNodes: (a: number) => number;
|
|
9011
|
+
readonly fcosesolver_run: (a: number, b: number, c: number) => void;
|
|
9012
|
+
readonly fcosesolver_runSteps: (a: number, b: number, c: number, d: number) => void;
|
|
9013
|
+
readonly fcosesolver_status: (a: number) => number;
|
|
9014
|
+
readonly fcosesolver_step: (a: number, b: number, c: number) => void;
|
|
9015
|
+
readonly fcosesolver_totalIterations: (a: number) => number;
|
|
8520
9016
|
readonly fdebsolver_currentCycle: (a: number) => number;
|
|
8521
9017
|
readonly fdebsolver_dims: (a: number) => number;
|
|
8522
9018
|
readonly fdebsolver_isFinished: (a: number) => number;
|
|
@@ -8531,6 +9027,12 @@ export interface InitOutput {
|
|
|
8531
9027
|
readonly fdebsolver_step: (a: number, b: number, c: number) => void;
|
|
8532
9028
|
readonly fdebsolver_target: (a: number) => number;
|
|
8533
9029
|
readonly fdebsolver_totalIterations: (a: number) => number;
|
|
9030
|
+
readonly fieldfftstats_inverseFfts: (a: number) => number;
|
|
9031
|
+
readonly fieldfftstats_kernelForwardFfts: (a: number) => number;
|
|
9032
|
+
readonly fieldfftstats_nx: (a: number) => number;
|
|
9033
|
+
readonly fieldfftstats_ny: (a: number) => number;
|
|
9034
|
+
readonly fieldfftstats_particleForwardFfts: (a: number) => number;
|
|
9035
|
+
readonly fieldfftstats_totalFft2dCalls: (a: number) => number;
|
|
8534
9036
|
readonly fieldrepulsionkernel_cauchy: () => number;
|
|
8535
9037
|
readonly fieldrepulsionkernel_gamma: (a: number, b: number) => void;
|
|
8536
9038
|
readonly fieldrepulsionkernel_generalizedCauchy: (a: number, b: number) => void;
|
|
@@ -8747,6 +9249,7 @@ export interface InitOutput {
|
|
|
8747
9249
|
readonly ibumapsolver_hubEta: (a: number, b: number) => void;
|
|
8748
9250
|
readonly ibumapsolver_isFinished: (a: number) => number;
|
|
8749
9251
|
readonly ibumapsolver_iteration: (a: number) => number;
|
|
9252
|
+
readonly ibumapsolver_lastFftStats: (a: number) => number;
|
|
8750
9253
|
readonly ibumapsolver_new: (a: number, b: number, c: any) => void;
|
|
8751
9254
|
readonly ibumapsolver_numEdges: (a: number) => number;
|
|
8752
9255
|
readonly ibumapsolver_numNodes: (a: number) => number;
|
|
@@ -9023,6 +9526,7 @@ export interface InitOutput {
|
|
|
9023
9526
|
readonly metricreport_calinskiHarabaszScore: (a: number, b: number) => void;
|
|
9024
9527
|
readonly metricreport_classDensityMeasure: (a: number, b: number) => void;
|
|
9025
9528
|
readonly metricreport_clusterAreaFaithfulness: (a: number, b: number) => void;
|
|
9529
|
+
readonly metricreport_clusterAreaReport: (a: number) => number;
|
|
9026
9530
|
readonly metricreport_cqHacAmi: (a: number, b: number) => void;
|
|
9027
9531
|
readonly metricreport_cqHacHom: (a: number, b: number) => void;
|
|
9028
9532
|
readonly metricreport_cqKmeansAmi: (a: number, b: number) => void;
|
|
@@ -9033,6 +9537,10 @@ export interface InitOutput {
|
|
|
9033
9537
|
readonly metricreport_crossingNumber: (a: number) => number;
|
|
9034
9538
|
readonly metricreport_crosslessness: (a: number, b: number) => void;
|
|
9035
9539
|
readonly metricreport_daviesBouldinScore: (a: number, b: number) => void;
|
|
9540
|
+
readonly metricreport_degreeConstrainedGabrielGraphPreservation: (a: number, b: number) => void;
|
|
9541
|
+
readonly metricreport_degreeConstrainedRelativeNeighborhoodPreservation: (a: number, b: number) => void;
|
|
9542
|
+
readonly metricreport_degreeGabrielGraphPreservation: (a: number, b: number) => void;
|
|
9543
|
+
readonly metricreport_degreeRelativeNeighborhoodPreservation: (a: number, b: number) => void;
|
|
9036
9544
|
readonly metricreport_distanceConsistency: (a: number, b: number) => void;
|
|
9037
9545
|
readonly metricreport_distributionConsistency: (a: number, b: number) => void;
|
|
9038
9546
|
readonly metricreport_gabrielGraphPreservation: (a: number, b: number) => void;
|
|
@@ -9042,6 +9550,7 @@ export interface InitOutput {
|
|
|
9042
9550
|
readonly metricreport_idealEdgeLengths: (a: number, b: number) => void;
|
|
9043
9551
|
readonly metricreport_landmarkStratifiedRta: (a: number, b: number) => void;
|
|
9044
9552
|
readonly metricreport_layoutDegeneracy: (a: number, b: number) => void;
|
|
9553
|
+
readonly metricreport_layoutDegeneracyDetail: (a: number) => number;
|
|
9045
9554
|
readonly metricreport_minimumAngle: (a: number, b: number) => void;
|
|
9046
9555
|
readonly metricreport_minimumAngleA1: (a: number, b: number) => void;
|
|
9047
9556
|
readonly metricreport_neighborhoodHit: (a: number, b: number) => void;
|
|
@@ -9171,7 +9680,9 @@ export interface InitOutput {
|
|
|
9171
9680
|
readonly projectRectangleNoOverlap2d: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
9172
9681
|
readonly randomWalkLaplacian: (a: number) => number;
|
|
9173
9682
|
readonly rdMds: (a: number, b: number, c: any) => void;
|
|
9174
|
-
readonly
|
|
9683
|
+
readonly rdmds__generateEigenpairs: (a: number, b: number) => void;
|
|
9684
|
+
readonly rdmds__generateGraph: (a: number, b: number, c: number) => void;
|
|
9685
|
+
readonly rdmds_fromEigenpairs: (a: number, b: any, c: any, d: any, e: any) => void;
|
|
9175
9686
|
readonly rdmds_new: (a: number, b: any) => void;
|
|
9176
9687
|
readonly rectangleOverlaps: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
|
|
9177
9688
|
readonly refineClusterLayout: (a: number, b: number, c: any, d: any) => void;
|
|
@@ -9533,6 +10044,7 @@ export interface InitOutput {
|
|
|
9533
10044
|
readonly tfdpsolver_fromKnn: (a: number, b: any, c: any, d: any, e: any) => void;
|
|
9534
10045
|
readonly tfdpsolver_isFinished: (a: number) => number;
|
|
9535
10046
|
readonly tfdpsolver_iteration: (a: number) => number;
|
|
10047
|
+
readonly tfdpsolver_lastFftStats: (a: number) => number;
|
|
9536
10048
|
readonly tfdpsolver_new: (a: number, b: number, c: any) => void;
|
|
9537
10049
|
readonly tfdpsolver_numEdges: (a: number) => number;
|
|
9538
10050
|
readonly tfdpsolver_numNodes: (a: number) => number;
|
|
@@ -9570,6 +10082,7 @@ export interface InitOutput {
|
|
|
9570
10082
|
readonly tsnetsolver__stepManifold: (a: number, b: number, c: number) => void;
|
|
9571
10083
|
readonly tsnetsolver__stepNd: (a: number, b: number, c: number) => void;
|
|
9572
10084
|
readonly tsnetsolver_backend: (a: number) => number;
|
|
10085
|
+
readonly tsnetsolver_currentEffectiveLr: (a: number) => number;
|
|
9573
10086
|
readonly tsnetsolver_currentStageLr: (a: number) => number;
|
|
9574
10087
|
readonly tsnetsolver_fromGraphPartialBfs: (a: number, b: number, c: any) => void;
|
|
9575
10088
|
readonly tsnetsolver_fromGraphRowNormalized: (a: number, b: number, c: any) => void;
|
|
@@ -9577,13 +10090,16 @@ export interface InitOutput {
|
|
|
9577
10090
|
readonly tsnetsolver_fromKnn: (a: number, b: number, c: any) => void;
|
|
9578
10091
|
readonly tsnetsolver_fromProbabilities: (a: number, b: number, c: any) => void;
|
|
9579
10092
|
readonly tsnetsolver_fromProbabilitiesWithStages: (a: number, b: number, c: any, d: any) => void;
|
|
10093
|
+
readonly tsnetsolver_graphTsne: (a: number, b: number, c: any) => void;
|
|
9580
10094
|
readonly tsnetsolver_isFinished: (a: number) => number;
|
|
9581
10095
|
readonly tsnetsolver_iteration: (a: number) => number;
|
|
10096
|
+
readonly tsnetsolver_lTsnet: (a: number, b: number, c: any) => void;
|
|
9582
10097
|
readonly tsnetsolver_lastFftStats: (a: number) => number;
|
|
9583
10098
|
readonly tsnetsolver_new: (a: number, b: number, c: any) => void;
|
|
9584
10099
|
readonly tsnetsolver_numNodes: (a: number) => number;
|
|
9585
10100
|
readonly tsnetsolver_pure2Hop: (a: number, b: number, c: any) => void;
|
|
9586
10101
|
readonly tsnetsolver_resolvedBackend: (a: number) => number;
|
|
10102
|
+
readonly tsnetsolver_rnTsnet: (a: number, b: number, c: any) => void;
|
|
9587
10103
|
readonly tsnetsolver_samplingMode: (a: number) => number;
|
|
9588
10104
|
readonly tsnetsolver_stageIndex: (a: number) => number;
|
|
9589
10105
|
readonly tsnetsolver_status: (a: number) => number;
|
|
@@ -9695,8 +10211,16 @@ export function sampledNp1(graph: Graph, layout: AnyLayout, options?: SamplingSe
|
|
|
9695
10211
|
export function sampledNp2(graph: Graph, layout: AnyLayout, options?: SamplingSeedOptions | null): number;
|
|
9696
10212
|
export function gabrielGraphProperty(graph: Graph, layout: AnyLayout): number;
|
|
9697
10213
|
export function nodeResolution(layout: AnyLayout): number;
|
|
9698
|
-
export function
|
|
9699
|
-
export function
|
|
10214
|
+
export function relativeNeighborhoodPreservation(graph: Graph, layout: AnyLayout, proximityNumSectors?: number | { proximityNumSectors?: number | null } | null): number;
|
|
10215
|
+
export function gabrielGraphPreservation(graph: Graph, layout: AnyLayout, proximityNumSectors?: number | { proximityNumSectors?: number | null } | null): number;
|
|
10216
|
+
export function degreeGabrielGraphPreservation(graph: Graph, layout: AnyLayout, proximityNumSectors?: number | { proximityNumSectors?: number | null } | null): number;
|
|
10217
|
+
export function degreeGabrielGraphEdges(graph: Graph, layout: AnyLayout, proximityNumSectors?: number | { proximityNumSectors?: number | null } | null): Uint32Array;
|
|
10218
|
+
export function degreeRelativeNeighborhoodPreservation(graph: Graph, layout: AnyLayout, proximityNumSectors?: number | { proximityNumSectors?: number | null } | null): number;
|
|
10219
|
+
export function degreeRelativeNeighborhoodEdges(graph: Graph, layout: AnyLayout, proximityNumSectors?: number | { proximityNumSectors?: number | null } | null): Uint32Array;
|
|
10220
|
+
export function degreeConstrainedGabrielGraphPreservation(graph: Graph, layout: AnyLayout, proximityNumSectors?: number | { proximityNumSectors?: number | null } | null): number;
|
|
10221
|
+
export function degreeConstrainedGabrielGraphEdges(graph: Graph, layout: AnyLayout, proximityNumSectors?: number | { proximityNumSectors?: number | null } | null): Uint32Array;
|
|
10222
|
+
export function degreeConstrainedRelativeNeighborhoodPreservation(graph: Graph, layout: AnyLayout, proximityNumSectors?: number | { proximityNumSectors?: number | null } | null): number;
|
|
10223
|
+
export function degreeConstrainedRelativeNeighborhoodEdges(graph: Graph, layout: AnyLayout, proximityNumSectors?: number | { proximityNumSectors?: number | null } | null): Uint32Array;
|
|
9700
10224
|
export function idealEdgeLengths(graph: Graph, layout: AnyLayout): number;
|
|
9701
10225
|
export function idealEdgeLengthsWithUnit(graph: Graph, layout: AnyLayout, unitEdgeLength: number): number;
|
|
9702
10226
|
export function layoutDegeneracy(graph: Graph, layout: AnyLayout): LayoutDegeneracy;
|