Closed bkrueger closed 10 years ago
Wont fix:
A common class that owns this functions must know all algorithms, this solution cannot be expanded by the user. So the only option is to use static functions in all algorithms.
It is very difficult to write a useful and platform independent function that fits the wishes of the user (does a program with GUI write to std::out?). So the best solution in my opinion is to provide nothing at all and let the user write the functions he want to use in the signals.
This can be e.g. a simulation dump (this can be used for all simulations) or printing out simulation information (this is specific for the algorithms).
There be the functionality to log the start of the simulation in the simulation base class in order to access the actual simulation time.