Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Generation
diff options
context:
space:
mode:
authorOli <olivier.belanger@umontreal.ca>2007-07-09 22:15:50 (GMT)
committer Oli <olivier.belanger@umontreal.ca>2007-07-09 22:15:50 (GMT)
commitd071e83d4a925ff5e0676c2148655f9d4621565a (patch)
tree2254a2189c0f62d48a1adf3fb630d076708171fa /Generation
parentf383d6beef8a03cbb9c2b705367cbaeb9d64fbba (diff)
startup algos...
Diffstat (limited to 'Generation')
-rwxr-xr-xGeneration/Drunk.py2
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 )