Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/RandomNumbers/RandomNumberGeneratorFactory.hpp

    rc14c78 r63839f  
    2323#include <map>
    2424
     25#include "unittests/RandomNumberGeneratorFactoryUnitTest.hpp"
     26
    2527class RandomNumberGenerator;
    26 class RandomNumberGeneratorFactoryTest;
    2728
    2829/** This is the abstract factory class for random number generators.
     
    4950   * \return random number generator instance
    5051   */
    51   RandomNumberGenerator* makeRandomNumberGenerator() const;
     52  RandomNumberGenerator& makeRandomNumberGenerator() const;
    5253
    5354  /** Create a Generator of desired combination of engine and distribution.
     
    6162   * \return random number generator instance
    6263   */
    63   RandomNumberGenerator* makeRandomNumberGenerator(std::string engine_type, std::string distribution_type) const;
     64  RandomNumberGenerator& makeRandomNumberGenerator(std::string engine_type, std::string distribution_type) const;
    6465
    6566  /** Specify the precise type of the engine to build
     
    9899      std::map<
    99100        RandomNumberDistributionFactory::TypeList,
    100         Clone<RandomNumberGenerator> *>
     101        RandomNumberGenerator *>
    101102  > EngineDistributionTable;
    102103
Note: See TracChangeset for help on using the changeset viewer.