equal
deleted
inserted
replaced
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 } |