3#ifndef TRITON_RANDOM_NUMBER_GENERATOR_H
4#define TRITON_RANDOM_NUMBER_GENERATOR_H
Common typedefs and defines used within Triton.
This base class for all Triton objects intercepts the new and delete operators, routing them through ...
Definition: MemAlloc.h:71
An interface for generating random numbers in Triton.
Definition: RandomNumberGenerator.h:21
virtual double TRITONAPI GetRandomDouble(double start, double end) const =0
Return an evenly distributed random double-precision number within a given range.
virtual void TRITONAPI SetRandomSeed(unsigned int seed)=0
Seeds the random number generator with a given value, to ensure consistent results.
virtual int TRITONAPI GetRandomInt(int start, int end) const =0
Return an evenly distributed random integer within a given range.