create NEAT app repo
This commit is contained in:
commit
9cd2d19fb9
34 files changed
+4454
No files matched your search
@@ -0,0 +1,14 @@
|
||||
#ifndef __Random_h__
|
||||
#define __Random_h__
|
||||
|
||||
int RandomRange(int min, int max); // [min,max]
|
||||
float RandomFloatRange(float min, float max);
|
||||
float RandomWeight();
|
||||
float RandomPreturbation();
|
||||
bool RandomBool();
|
||||
bool RandomChance(float pSuccess);
|
||||
int RandomZeroBiased(int max);
|
||||
int Roulette(int n, ...);
|
||||
|
||||
#endif // __Random_h__
|
||||
|
||||
Reference in new issue
Block a user