| changeset 460 | f5c0749858fd | 
| parent 421 | 864107857d27 | 
| 459:7acbef680bef | 460:f5c0749858fd | 
|---|---|
| 13 for (i <- (0 until 3).toList; | 13 for (i <- (0 until 3).toList; | 
| 14 j <- (0 until dim).toList) yield count_tours(dim, List((i, j))) | 14 j <- (0 until dim).toList) yield count_tours(dim, List((i, j))) | 
| 15 } | 15 } | 
| 16 | 16 | 
| 17 | 17 | 
| 18 import scala.concurrent._ | |
| 19 import scala.concurrent.duration._ | |
| 20 import ExecutionContext.Implicits.global | |
| 21 import scala.language.postfixOps | |
| 22 | |
| 23 lazy val f = Future { | |
| 18 assert(count_all_tours_urban(5) == List(304, 0, 56, 0, 304, 0, 56, 0, 56, 0, 56, 0, 64, 0, 56)) | 24 assert(count_all_tours_urban(5) == List(304, 0, 56, 0, 304, 0, 56, 0, 56, 0, 56, 0, 64, 0, 56)) | 
| 25 } | |
| 19 | 26 | 
| 27 Await.result(f, 32 second) | |
| 28 |