jakobbossek/tspgen

generator for control object

jakobbossek opened this issue · 1 comments

Should support chaining for ease of setup:

control = init() %>%
   addMutator("doUniformMutation", pm = 0.3) %>%
   addMutator("doRotationMutation") %>%
   addMutator("doGridMutation", box.min = 0.3, box.max = 0.5) %>%
   setProbabilities(c(0.1, 0.2, 0.7))

prob = build(n = 1000, control = control, items = 100)

Done via 1384332