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