testing3/knight3.scala
changeset 296 12dc251fc47e
parent 220 3020f8c76baa
equal deleted inserted replaced
295:3f34da7a3094 296:12dc251fc47e
     1 // Part 3 about finding a single tour using the Warnsdorf Rule
     1 // Part 3 about finding a single tour using the Warnsdorf Rule
     2 //=============================================================
     2 //=============================================================
     3 
     3 
     4 //object CW8c { // for preparing the jar
     4 object CW8c { 
     5 
     5 
     6 type Pos = (Int, Int)
     6 type Pos = (Int, Int)
     7 type Path = List[Pos]
     7 type Path = List[Pos]
     8 
     8 
     9 
     9 
    58 
    58 
    59 
    59 
    60 def tour_on_mega_board(dim: Int, path: Path) =
    60 def tour_on_mega_board(dim: Int, path: Path) =
    61   time_needed(ttour_on_mega_board(dim: Int, path: Path))
    61   time_needed(ttour_on_mega_board(dim: Int, path: Path))
    62 
    62 
    63 //}
    63 }