SimpleModel¶
Description¶
To simplify the generation of a model, one may use a SimpleModel
object instead of a Model
. The main difference is that the SimpleModel
constructor also takes a setup
and step
function as arguments, and then generates the appropriate Setup and Go buttons automatically, rather than having the user do it manually.
The SimpleModel
also provides an error message if the Go button is pressed before the Setup button.