OSFEG-C++
1.4.4
OpenSF Error Generation Library
|
OSFEG is a library to create and exploit flexible definitions of perturbations and errors, that is, functions of up to one independent variable that may be either random or deterministic. Such definitions may be created on the fly, or be loaded from an XML file.
For a basic usage, considering a pre-existing XML file with some named perturbation/error sources, include OSFEG.h to access the ErrorSources class. To load the data in the file, simply create an instance of that class; any error will cause the call to throw. Once the data is loaded, values for each perturbation/error source can be generated by using the ErrorSources::getError method, as seen in the example below.