simulator.cpp File Reference
Scenario Simulator. More...
#include <estim/arx.h>
#include <stat/emix.h>
#include <base/datasources.h>
#include <base/loggers.h>
Functions | |
int | main (int argc, char *argv[]) |
Detailed Description
Scenario Simulator.
The task of simulation is defined here as follows:
Here,
- Data Source is an object (class DS) providing sequential data, .
- Result Logger is an object (class logger) dedicated to storing important data from the experiment.
Naming of the data provided by the datasource is done via mechanism of random variables (class RV).
cmd
Execute command:
$> simulator config_file.cfg
Full description of the experiment is in the file config_file.cfg which is expected to have the following structure:
system = {type = "DS_offspring", ...}; // definition of a data source logger = {type = "logger_type",...}; // definition of a logger experiment = {ndat = 11000; }; // definition of number of data records
Matlab usage
Execute command:
>> simulator(system,experiment,logger);
Here, the only accepted field of experiment is experiment.ndat
. If loger is not specified, the mexlogger is used, i.e. the data are stored as matlab structure with field names given by RV.names.
Generated on Fri Aug 27 16:55:20 2010 for bdmtoolbox by 1.6.0