Lot of "sugar" added
Code simplified in how to write a model (this is a great thing about Nim).
For instance:
- before:
inc.addInteger("counter")
inc.setOutput("counter")
inc.setDiscrete("counter")
inc.setExact("counter")
inc.setDescription("counter", "counts the seconds")
inc.parameters["counter"].startI = some(1)
- now:
inc.addInteger("counter").setOutput.setDiscrete.setExact
.setDescription("counts the seconds")
.setInitial(1)