diff options
author | Oli <olivier.belanger@umontreal.ca> | 2007-10-09 05:42:59 (GMT) |
---|---|---|
committer | Oli <olivier.belanger@umontreal.ca> | 2007-10-09 05:42:59 (GMT) |
commit | 7400fb60ca6b454330996cc5b2c425b8c1e366c9 (patch) | |
tree | 00f74d6b7a4eca2245b782771296a688140dd679 /common/Generation/Drunk.py | |
parent | d823a57aec432898701f136da37e7aecabf3ac34 (diff) |
work on meta algo, amplitude scaled on transposition
Diffstat (limited to 'common/Generation/Drunk.py')
-rwxr-xr-x | common/Generation/Drunk.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/Generation/Drunk.py b/common/Generation/Drunk.py index 1bc3bbb..fb7b765 100755 --- a/common/Generation/Drunk.py +++ b/common/Generation/Drunk.py @@ -84,7 +84,7 @@ class Repeter( Drunk ): return self.lastValue def getStepSize( self, direction, maxStepSize, maxValue ): - if random.randint( 0, 100 ) < 20: + if random.randint( 0, 100 ) < 35: return Drunk.getStepSize( self, direction, maxStepSize, maxValue ) else: return Drunk.getStepSize( self, direction, 0, maxValue ) |