testing3/knight2.scala
changeset 296 4e5bc75cdbd3
parent 247 87047208d5f4
equal deleted inserted replaced
295:bfbc7dd3e35c 296:4e5bc75cdbd3
     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 CW8b { // for preparing the jar
     4 object CW8b {
     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 
    89   time_needed(tfirst_tour_heuristics(dim: Int, path: Path))
    89   time_needed(tfirst_tour_heuristics(dim: Int, path: Path))
    90 
    90 
    91 // will be called with boards up to 30 x 30
    91 // will be called with boards up to 30 x 30
    92 
    92 
    93 
    93 
    94 //}
    94 }