Created
February 6, 2018 17:43
-
-
Save tellefsen/00ed4fa6b933ec0a4c5d3762d1ca1c25 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func initAll() { | |
for n := 1; n < 24; n++{ | |
var name string | |
if n < 10 { | |
name = "p0"+strconv.Itoa(n) | |
} else { | |
name = "p"+strconv.Itoa(n) | |
} | |
// read problem from file | |
psize := 100 | |
problem := problemFromFile(name) | |
_ = newPopulation(psize, problem) | |
} | |
} | |
for i := 0; i < 100; i++ { | |
fmt.Println(i) | |
initAll() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment