- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/RandomNumbers/RandomNumberGeneratorFactory.hpp
rc14c78 r63839f 23 23 #include <map> 24 24 25 #include "unittests/RandomNumberGeneratorFactoryUnitTest.hpp" 26 25 27 class RandomNumberGenerator; 26 class RandomNumberGeneratorFactoryTest;27 28 28 29 /** This is the abstract factory class for random number generators. … … 49 50 * \return random number generator instance 50 51 */ 51 RandomNumberGenerator *makeRandomNumberGenerator() const;52 RandomNumberGenerator& makeRandomNumberGenerator() const; 52 53 53 54 /** Create a Generator of desired combination of engine and distribution. … … 61 62 * \return random number generator instance 62 63 */ 63 RandomNumberGenerator *makeRandomNumberGenerator(std::string engine_type, std::string distribution_type) const;64 RandomNumberGenerator& makeRandomNumberGenerator(std::string engine_type, std::string distribution_type) const; 64 65 65 66 /** Specify the precise type of the engine to build … … 98 99 std::map< 99 100 RandomNumberDistributionFactory::TypeList, 100 Clone<RandomNumberGenerator>*>101 RandomNumberGenerator *> 101 102 > EngineDistributionTable; 102 103
Note:
See TracChangeset
for help on using the changeset viewer.