This template implements random number generator for integer numbers.
You can find more information in comments below. Overrided methods can be found in corresponding base class.
template<class INTEGER>
class TDefaultInteger : public IRandomizer<INTEGER>
{
public:
TDefaultInteger(const INTEGER min, const INTEGER max);
TDefaultInteger(const INTEGER min, const INTEGER max, const unsigned int seed);
INTEGER Generate() override;
void setSeed(const unsigned int value);
void setRandomSeed();
};
Namespace: | nitisa::ai::randomizers |
Include: | Nitisa/Modules/AI/Randomizers.h |