#include <param-fuzzy.h>
Public Types | |
typedef double | Element |
element type | |
Public Methods | |
ParamFuzzyRandIter (const integer &size=0, const integer &seed=0) | |
ParamFuzzyRandIter (const ParamFuzzy &F, const integer &size=0, const integer &seed=0) | |
ParamFuzzyRandIter (const ParamFuzzyRandIter &R) | |
~ParamFuzzyRandIter () | |
ParamFuzzyRandIter & | operator= (const ParamFuzzyRandIter &R) |
Element & | random (Element &a) const |
ElementAbstract & | random (ElementAbstract &a) const |
|
element type
|
|
Constructor from field, sampling size, and seed. The random field element iterator works in the field F, is seeded by seed, and it returns any one element with probability no more than 1/min (size, F.cardinality (c)). A sampling size of zero means to sample from the entire field. A seed of zero means to use some arbitrary seed for the generator. Purely virtual.
|
|
Constructor from field, sampling size, and seed. (really this time) The random field element iterator works in the field F, is seeded by seed, and it returns any one element with probability no more than 1/min (size, F.cardinality (c)). A sampling size of zero means to sample from the entire field. A seed of zero means to use some arbitrary seed for the generator. Purely virtual.
|
|
Copy constructor. Constructs ParamFuzzyRandIter object by copying the random field element generator. This is required to allow generator objects to be passed by value into functions.
|
|
Destructor. This destructs the random field element generator object. |
|
Assignment operator. Assigns ParamFuzzyRandIter object R to generator.
|
|
Random field element creator. This returns a random field element from the information supplied at the creation of the generator. Required by abstract base class.
|
|
Random field element creator. This returns a random field element from the information supplied at the creation of the generator. Required by abstract base class.
|