diff -r 80102fba0a93 -r 0ab369f53ac1 marking3/knight1_test3b.scala --- a/marking3/knight1_test3b.scala Sun Dec 09 01:36:49 2018 +0000 +++ b/marking3/knight1_test3b.scala Mon Dec 10 02:23:30 2018 +0000 @@ -1,11 +1,6 @@ -type Pos = (Int, Int) // a position on a chessboard -type Path = List[Pos] // a path...a list of positions - -def count_all_tours_urban(dim: Int) = { - for (i <- (0 until dim).toList; - j <- (0 until dim).toList) yield count_tours(dim, List((i, j))) -} +//type Pos = (Int, Int) // a position on a chessboard +//type Path = List[Pos] // a path...a list of positions def add_pair_urban(x: Pos)(y: Pos): Pos = (x._1 + y._1, x._2 + y._2)