Static factory class for discrete random generators. More...
#include <DiscreteRandomGeneratorFactory.h>
Static Public Member Functions | |
static DiscreteRandomGeneratorPtr | create (const String &spec) |
Creates a new DiscreteRandomGenerator instance. More... | |
Static factory class for discrete random generators.
Definition at line 43 of file DiscreteRandomGeneratorFactory.h.
|
static |
Creates a new DiscreteRandomGenerator instance.
spec is one of the following: "uniform" "zipf" "zipf\t--s=<S>" (where S
is the seed)
An unknown or invalid spec will cause termination of the application.
spec | The DiscreteRandomGenerator specification, as described above |
Definition at line 46 of file DiscreteRandomGeneratorFactory.cc.