UNPKG

@logic-pad/core

Version:
12 lines (11 loc) 599 B
import EventIteratingSolver from '../eventIteratingSolver.js'; import Instruction from '../../instruction.js'; import GridData from '../../grid.js'; export default class BacktrackSolver extends EventIteratingSolver { private static readonly supportedInstrs; readonly id = "backtrack"; readonly author = "ALaggyDev"; readonly description = "Solves puzzles pretty fast using backtracking with optimizations. Support most rules and symbols (including underclued)."; protected createWorker(): Worker; isInstructionSupported(_grid: GridData, instruction: Instruction): boolean; }