My Project
Loading...
Searching...
No Matches
CFRandomFactory Class Reference

#include <cf_random.h>

Static Public Member Functions

static CFRandomgenerate ()
static CFRandomgenerate ()
static CFRandomgenerate ()

Detailed Description

Definition at line 87 of file cf_random.h.

Member Function Documentation

◆ generate() [1/3]

CFRandom * CFRandomFactory::generate ( )
static

Definition at line 167 of file cf_random.cc.

168{
169 if ( getCharacteristic() == 0 )
170 return new IntRandom();
171 if ( getGFDegree() > 1 )
172 return new GFRandom();
173 else
174 return new FFRandom();
175}
int getGFDegree()
Definition cf_char.cc:75
int FACTORY_PUBLIC getCharacteristic()
Definition cf_char.cc:70

◆ generate() [2/3]

CFRandom * CFRandomFactory::generate ( )
static

◆ generate() [3/3]

CFRandom * CFRandomFactory::generate ( )
static

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