#include <valuegen.h>
Inheritance diagram for ValueGenerator_Random< T, RandomGen >:
Definition at line 155 of file valuegen.h.
Public Methods | |
ValueGenerator_Random (T mean, T radius=0) | |
Constructor defaults to no randomness (which acts just like a regular ValueGenerator, except that relinking always replaces the pointer). | |
ValueGenerator_Random (T *mean, T *radius) | |
Constructor using external mean and radius. | |
ValueGenerator_Random (StringArgs &args) | |
virtual string | stringrep () const |
Note that the value returned does not indicate the actual RandomGen, which may differ from the defaults. | |
ValueGenerator_Random (const self &other) | |
Copy constructor. | |
virtual bool | next () |
Advance to the next state (whatever that means for this object). | |
virtual void | reset () |
Reset to the starting state. | |
virtual ValueGenerator< T > * | clone () const |
Constructs an identical copy of self and returns it. |