Customizable solver config, remove simulator emplace/displace methods

This commit is contained in:
Asriel Camora
2023-06-21 10:38:08 -07:00
parent 11b4b7f6d9
commit f3445f3cb9
12 changed files with 103 additions and 90 deletions
+2 -2
View File
@@ -33,10 +33,10 @@ internal static class Program
var s = Stopwatch.StartNew();
if (true)
_ = Solver.Crafty.Solver.SearchStepwise(input, a => Console.WriteLine(a));
_ = Solver.Crafty.Solver.SearchStepwise(new(), input, a => Console.WriteLine(a));
else
{
(var actions, _) = Solver.Crafty.Solver.SearchOneshot(input);
(var actions, _) = Solver.Crafty.Solver.SearchOneshot(new(), input);
foreach (var action in actions)
Console.Write($">{action.IntName()}");
Console.WriteLine();