From 20ee81a7b2d44ec985e99b4ee1bcd08fa25175d3 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 23 May 2012 00:39:31 +0000 Subject: We have a nice selection of basic randomness functions now. --- src/stable/randombase.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/stable/randombase.h') diff --git a/src/stable/randombase.h b/src/stable/randombase.h index aff1d45..a5a4f42 100644 --- a/src/stable/randombase.h +++ b/src/stable/randombase.h @@ -19,6 +19,9 @@ namespace Bu virtual void seed( int32_t iSeed )=0; virtual int32_t rand()=0; + virtual int32_t rand( int32_t iMax ); + virtual int32_t rand( int32_t iMin, int32_t iMax ); + virtual double randNorm(); }; }; -- cgit v1.2.3