Random.cpp
Go to the documentation of this file.00001 /**<!--------------------------------------------------------------------> 00002 @file Random.cpp 00003 @author travis fischer (fisch0920@gmail.com) 00004 @author matthew jacobs (jacobs.mh@gmail.com) 00005 @date fall 2008 00006 00007 @brief 00008 Provides static functionality for generating base random numbers, 00009 wrapping around boost::random, shared by all Samplers 00010 <!-------------------------------------------------------------------->**/ 00011 00012 #include "Random.h" 00013 #include "ContUniformSampler.h" 00014 #include "DiscreteUniformSampler.h" 00015 00016 // initialize static members of class Random 00017 Random::Generator Random::s_generator; 00018 //Random::NormalDist Random::s_normalDist; 00019 //Random::NormalGen Random::s_normalGen(Random::s_generator, Random::s_normalDist); 00020 00021 Sampler *Random::s_contUniformSampler = new ContUniformSampler(0, 1); 00022
Generated on 28 Feb 2009 for Milton by
1.5.6