# Simulator

From SUMOwiki

Jump to navigationJump to searchThe simulator is the data generating black box for which you want an approximation model (surrogate model). The simulator is anything that, when given a set of input data points, provides a set of output points. The simulator could be:

- a predefined mathematical function, e.g, '
`y = sin(x)`

' (`x`

is the input,`y`

the output) - a dataset
- a native executable taking input from command line
- a native executable taking input from standard input
- a Matlab function
- a Matlab class
- a Java class
- a shell script
- a human, this is useful if SUMO cannot be coupled to the simulation code directly but a human needs to input the data manually

Usually you already have some kind of simulator and you want to model it with the SUMO Toolbox. See the Adding an example page for details how to do this.