NEST  2.6.0,not_revisioned_source_dir@0
Public Member Functions | List of all members
librandom::GenericRNGFactory Class Referenceabstract

Factory class for random generators. More...

#include <randomgen.h>

Inheritance diagram for librandom::GenericRNGFactory:
librandom::BuiltinRNGFactory< Generator > librandom::GslRNGFactory

Public Member Functions

virtual RngPtr create (unsigned long) const =0
 Create generator with given seed. More...
 
virtual ~GenericRNGFactory ()
 

Detailed Description

Factory class for random generators.

 

Constructor & Destructor Documentation

virtual librandom::GenericRNGFactory::~GenericRNGFactory ( )
inlinevirtual

Member Function Documentation

virtual RngPtr librandom::GenericRNGFactory::create ( unsigned  long) const
pure virtual

Create generator with given seed.

Note
Generators cannot be created without a seed. If you want to create a generator with a default seed value, you should explicitly use RandomGen::DefaultSeed as seed value.

Implemented in librandom::BuiltinRNGFactory< Generator >, and librandom::GslRNGFactory.


The documentation for this class was generated from the following file: