main_marking4/knight3.scala
changeset 424 daf561a83ba6
parent 391 0930e4555b60
--- a/main_marking4/knight3.scala	Thu Jan 13 12:55:03 2022 +0000
+++ b/main_marking4/knight3.scala	Mon Apr 11 23:55:27 2022 +0100
@@ -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)
+
 }