diff options
author | Oli <olivier.belanger@umontreal.ca> | 2007-07-09 22:15:50 (GMT) |
---|---|---|
committer | Oli <olivier.belanger@umontreal.ca> | 2007-07-09 22:15:50 (GMT) |
commit | d071e83d4a925ff5e0676c2148655f9d4621565a (patch) | |
tree | 2254a2189c0f62d48a1adf3fb630d076708171fa /Generation | |
parent | f383d6beef8a03cbb9c2b705367cbaeb9d64fbba (diff) |
startup algos...
Diffstat (limited to 'Generation')
-rwxr-xr-x | Generation/Drunk.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Generation/Drunk.py b/Generation/Drunk.py index 3d0823a..0c32e1f 100755 --- a/Generation/Drunk.py +++ b/Generation/Drunk.py @@ -67,7 +67,7 @@ class DroneAndJump( Drunk ): return self.lastValue def getStepSize( self, direction, maxStepSize, maxValue ): - if random.randint( 0, 100 ) < 35: + if random.randint( 0, 100 ) < 42: return Drunk.getStepSize( self, direction, maxStepSize, maxValue ) else: return Drunk.getStepSize( self, direction, 0, maxValue ) |