Adding an example

From SUMOwiki
Revision as of 10:15, 10 May 2007 by Dgorissen (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

If you want to create a metamodel for your own problem you will first have to write a simulator xml file. To do this simply open one of the existing simulator xml files (see the examples directory) and create a copy suited to your problem. Note that all input data to the toolbox is required to be scaled to [-1 1]! Then you edit default.xml so it will model your simulator and run 'go'.

Note that, depending on wether your simulator is a script, native executable, dataset or matlab script you will need to set different configuration options. For example, if your data comes from a dataset you will have to set the sample evaluator to scattered or gridded, depending if you datapoints are scattered or on a regular grid. If on the other hand your data comes from a native executable you would want to use the local sample evaluator with the type set to "external" (you can also set the type to "java" if your executable is a java class). For matlab scripts the sample evaluator to use is matlab.

See the Simulator configuration page for explanations about the options.