mirror of
https://github.com/ruvnet/RuView
synced 2026-08-01 19:01:42 +00:00
4b1005524e
- Add 154 missing vendor files (gitignore was filtering them) - vendor/midstream: 564 files (was 561) - vendor/sublinear-time-solver: 1190 files (was 1039) - Add ESP32 edge processing (ADR-039): presence, vitals, fall detection - Add WASM programmable sensing (ADR-040/041) with wasm3 runtime - Add firmware CI workflow (.github/workflows/firmware-ci.yml) - Add wifi-densepose-wasm-edge crate for edge WASM modules - Update sensing server, provision.py, UI components Co-Authored-By: claude-flow <ruv@ruv.net>
42 lines
1.1 KiB
TypeScript
42 lines
1.1 KiB
TypeScript
/**
|
|
* Complete WASM Sublinear Solver - All 4 Algorithms from Plans
|
|
*
|
|
* Implements:
|
|
* - Neumann Series: O(k·nnz)
|
|
* - Forward Push: O(1/ε) for single query
|
|
* - Backward Push: O(1/ε) for single query
|
|
* - Hybrid Random-Walk: O(√n/ε)
|
|
* - Method Auto-Selection
|
|
*/
|
|
interface SolverConfig {
|
|
method?: 'auto' | 'neumann' | 'forward-push' | 'backward-push' | 'random-walk';
|
|
epsilon?: number;
|
|
maxIterations?: number;
|
|
precision?: 'single' | 'double' | 'adaptive';
|
|
targetIndex?: number;
|
|
sourceIndex?: number;
|
|
precision_requirement?: number;
|
|
}
|
|
export declare class CompleteWasmSublinearSolverTools {
|
|
private wasmModule;
|
|
private solver;
|
|
constructor();
|
|
/**
|
|
* Initialize WASM module with complete sublinear algorithms
|
|
*/
|
|
private initializeWasm;
|
|
/**
|
|
* Check if complete WASM is available
|
|
*/
|
|
isCompleteWasmAvailable(): boolean;
|
|
/**
|
|
* Solve with complete algorithm suite and auto-selection
|
|
*/
|
|
solveComplete(matrix: number[][], b: number[], config?: SolverConfig): Promise<any>;
|
|
/**
|
|
* Get complete solver capabilities
|
|
*/
|
|
getCompleteCapabilities(): any;
|
|
}
|
|
export {};
|