#ifndef RANDOMGENERATOR_H #define RANDOMGENERATOR_H #include "system_global.h" #include namespace paysages { namespace system { class SYSTEMSHARED_EXPORT RandomGenerator { public: RandomGenerator(); static inline double random() { return ((double)rand()) / (double)RAND_MAX; } }; } } #endif // RANDOMGENERATOR_H