testing3/knight_test3.scala
changeset 284 9a04eb6a2291
parent 220 3020f8c76baa
equal deleted inserted replaced
283:ef5f62bf5987 284:9a04eb6a2291
     1 
     1 import CW8a._
     2 
     2 
     3 //type Pos = (Int, Int)    // a position on a chessboard 
     3 //type Pos = (Int, Int)    // a position on a chessboard 
     4 //type Path = List[Pos]    // a path...a list of positions
     4 //type Path = List[Pos]    // a path...a list of positions
     5 
     5 
     6 def count_all_tours_urban(dim: Int) = {
     6 def count_all_tours_urban(dim: Int) = {