The Random wrapper simplifies the using of boost::Random library. The objects are able to work in threads.
#include <faif/utils/Random.h> using namespace faif; RandomDouble r1; //initializes the random generator, creates the object double d = r1(); //uniform distribution in range <0,1) RandomInt r2(1,6); //the uniform generator from min to max, {1,2,3,4,5,6} int i = r2();return to the main page