FS/CoderC++ - Foresight's C++ Code Generator
Foresight's C Code Generator, FS/CoderC++, permits the rapid development of
stand-alone versions of Foresight models.
FS/CoderC++ automatically translates graphical Foresight executable system models
into C++ code which, when compiled and linked with a run-time
library, creates a stand-alone executable model.
FS/CoderC++ provides you with
two broad capabilities that complement Foresight's animated, interactive simulation
environment and extend the utility of your Foresight models:
-
Batch Simulation: Your code generated models may be used to run
batch simulations, where the primary purpose is to execute the model as fast as
possible under a wide variety of input conditions, and collect the resultant data
and statistics. You can easily create batch scripts to execute a model multiple
times with varying input scenarios. Since they are compiled, code generated models
provide the most efficient form of execution. In contrast to Foresight's interactive
simulation environment, code generated models may run 15 to 30 times faster
(execution speed is dependent upon model). As a result, you can get the answers
you need quicker, and more rapidly subject your model to many input scenarios.
-
Stand-alone Execution: Your code generated models are stand-alone
C++ programs, with all the inherent flexibility of any other compiled C++ program (yet much
easier to create and debug!). For example, you can call your "compiled model" from
other software modules, link in other simulation models, or tie in a graphical
user interface for delivery of your "application program" to end-users; the
possibilities are endless. Your compiled model is packaged with separate input
and output modules, which provide you a clean interface to extend and interface
your model to whatever you wish. Stand-alone execution of your models
magnifies the utility of your Foresight models, by enabling their use within the
framework of other programs and by putting them in the hands of end-users.
Finally, your compiled model runs without a Foresight license making
delivery of your model inexpensive and flexible.
Foresight's modeling and simulation environment allows you to quickly construct
and analyze animated models of complex systems. And when you need to collect lots
of data, try multiple operational scenarios, or deliver an end-product, FS/CoderC++
will generate the stand-alone executables.