Exemple #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();
 }
Exemple #2
0
 static void Main(string[] args)
 {
     Problem problem = new Problem();
     problem.Solve();
 }