testing3/knight_test3.scala
changeset 284 fc20e5f83f0e
parent 220 1c47cede8e71
equal deleted inserted replaced
283:3102d61edf45 284:fc20e5f83f0e
     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) = {