Exemplo n.º 1
0
 public List<Swap> GetSwaps(string boardConfig)
 {
     var p = new Problem(boardConfig);
     p.Solve();
     return p.Swaps.Select(s => new Swap {s1 = s.Item1, s2 = s.Item2}).ToList();
 }
Exemplo n.º 2
0
 static void Main(string[] args)
 {
     Problem problem = new Problem();
     problem.Solve();
 }