Searched refs:solvers (Results 1 – 1 of 1) sorted by relevance
61 Collection<Callable<Integer>> solvers) in solveAll() argument65 solvers.forEach(cs::submit); in solveAll()66 for (int i = solvers.size(); i > 0; i--) { in solveAll()74 Collection<Callable<Integer>> solvers) in solveAny() argument78 int n = solvers.size(); in solveAny()82 solvers.forEach(solver -> futures.add(cs.submit(solver))); in solveAny()113 Set<Callable<Integer>> solvers = Set.of( in testSolveAll() local119 solveAll(cachedThreadPool, solvers); in testSolveAll()130 Set<Callable<Integer>> solvers = Set.of( in testSolveAny() local135 solveAny(cachedThreadPool, solvers); in testSolveAny()