Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/RandomNumbers/RandomNumberGeneratorFactory.hpp

    r63839f rc14c78  
    2323#include <map>
    2424
    25 #include "unittests/RandomNumberGeneratorFactoryUnitTest.hpp"
    26 
    2725class RandomNumberGenerator;
     26class RandomNumberGeneratorFactoryTest;
    2827
    2928/** This is the abstract factory class for random number generators.
     
    5049   * \return random number generator instance
    5150   */
    52   RandomNumberGenerator& makeRandomNumberGenerator() const;
     51  RandomNumberGenerator* makeRandomNumberGenerator() const;
    5352
    5453  /** Create a Generator of desired combination of engine and distribution.
     
    6261   * \return random number generator instance
    6362   */
    64   RandomNumberGenerator& makeRandomNumberGenerator(std::string engine_type, std::string distribution_type) const;
     63  RandomNumberGenerator* makeRandomNumberGenerator(std::string engine_type, std::string distribution_type) const;
    6564
    6665  /** Specify the precise type of the engine to build
     
    9998      std::map<
    10099        RandomNumberDistributionFactory::TypeList,
    101         RandomNumberGenerator *>
     100        Clone<RandomNumberGenerator> *>
    102101  > EngineDistributionTable;
    103102
Note: See TracChangeset for help on using the changeset viewer.