| changeset 122 | 40147ad17bdf | 
| parent 4 | f31c22f4f104 | 
| 121:1946e3f773a0 | 122:40147ad17bdf | 
|---|---|
41 println(s"circle tour parallel fast: n = $n")  | 
41 println(s"circle tour parallel fast: n = $n")  | 
42  | 
42  | 
43 val starts = for (i <- 0 until n; j <- 0 until n) yield (i, j)  | 
43 val starts = for (i <- 0 until n; j <- 0 until n) yield (i, j)  | 
44  | 
44  | 
45 starts.par.foreach((x:(Int, Int)) => tour(n)(List(x)))  | 
45 starts.par.foreach((x:(Int, Int)) => tour(n)(List(x)))  | 
46  | 
|
47  | 
|
48  |