testing3/knight2.scala
changeset 296 12dc251fc47e
parent 247 50a3b874008a
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 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 }