templates3/knight3.scala
changeset 347 4de31fdc0d67
parent 346 663c2a9108d1
child 348 b5b6ed38c2f2
--- a/templates3/knight3.scala	Sun Nov 01 01:21:31 2020 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-// Finding a single tour on a "mega" board
-//=========================================
-
-object CW8c {
-
-// !!! Copy any function you need from file knight1.scala !!!
-// !!! or knight2.scala                                   !!! 
-//
-// If you need any auxiliary function, feel free to 
-// implement it, but do not make any changes to the
-// templates below.
-
-
-type Pos = (Int, Int)    // a position on a chessboard 
-type Path = List[Pos]    // a path...a list of positions
-
-//(9) Implement a function that searches for a 
-//    you have to be careful to write a tail-recursive version as this 
-//    function will be called with dimensions of up to 70 * 70
-//    and starting field (0, 0). It has to produce a solution within
-//    30 seconds.
-
-
-//def tour_on_mega_board(dim: Int, path: Path) : Option[Path] = ...
-
-}