# Difference between revisions of "Simulator"

From SUMOwiki

Line 1: | Line 1: | ||

− | The 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 data points, provides a set of |
+ | The 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, ' |
+ | * a predefined mathematical function, e.g, '<code>y = sin(x)</code>' (<code>x</code> is the input, <code>y</code> the output) |

* a dataset |
* a dataset |
||

* a native executable taking input from command line |
* a native executable taking input from command line |
||

* a native executable taking input from stdin |
* a native executable taking input from stdin |
||

− | * a |
+ | * a Matlab function |

− | * a |
+ | * a Matlab class |

* a Java class |
* a Java class |
||

* a shell script |
* a shell script |
||

− | Usually you already have some kind of simulator and you want to model it with the |
+ | 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. |

## Revision as of 15:33, 10 June 2008

The 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 stdin
- a Matlab function
- a Matlab class
- a Java class
- a shell script

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.