main_testing4/knight3.scala
changeset 403 ffce7b61b446
parent 347 4de31fdc0d67
child 433 6af86ba1208f
--- a/main_testing4/knight3.scala	Mon Nov 08 01:16:13 2021 +0000
+++ b/main_testing4/knight3.scala	Mon Nov 08 01:39:00 2021 +0000
@@ -1,7 +1,7 @@
 // Part 3 about finding a single tour using the Warnsdorf Rule
 //=============================================================
 
-object CW9c { 
+object M4c { // for preparing the jar
 
 type Pos = (Int, Int)
 type Path = List[Pos]
@@ -60,4 +60,8 @@
 def tour_on_mega_board(dim: Int, path: Path) =
   time_needed(ttour_on_mega_board(dim: Int, path: Path))
 
+
+// testcases
+//print_board(70, tour_on_mega_board(70, List((0, 0))).get)
+
 }