UNPKG

@logic-pad/core

Version:
18 lines (17 loc) 773 B
import GridData from '../../grid.js'; import Solver from '../solver.js'; export default class AutoSolver extends Solver { readonly id = "auto"; readonly author = "various contributors"; readonly description = "Automatically select the fastest solver based on supported instructions and environment."; readonly supportsCancellation = true; private static readonly nonAdditiveInstructions; isGridSupported(grid: GridData): boolean; isInstructionSupported(instructionId: string): boolean; protected isEnvironmentSupported(): Promise<boolean>; private fillSolution; private fixGrid; private solveWithProgress; private solveOne; solve(grid: GridData, abortSignal?: AbortSignal | undefined): AsyncGenerator<GridData | null>; }