WIP
This commit is contained in:
@ -155,6 +155,7 @@ def breaker(ctx, codelet):
|
||||
for structure in breakObjects:
|
||||
breakProbability = temperature.getAdjustedProbability(
|
||||
structure.totalStrength / 100.0)
|
||||
#breakProbability = structure.totalStrength / 100.0
|
||||
if random.coinFlip(breakProbability):
|
||||
return
|
||||
for structure in breakObjects:
|
||||
|
||||
@ -68,9 +68,9 @@ class Copycat(object):
|
||||
def run(self, initial, modified, target, iterations):
|
||||
self.workspace.resetWithStrings(initial, modified, target)
|
||||
|
||||
#self.temperature.useAdj('original')
|
||||
self.temperature.useAdj('original')
|
||||
#self.temperature.useAdj('entropy')
|
||||
self.temperature.useAdj('inverse') # 100 weight
|
||||
#self.temperature.useAdj('inverse') # 100 weight
|
||||
#self.temperature.useAdj('150-weight')
|
||||
#self.temperature.useAdj('200-weight')
|
||||
answers = {}
|
||||
|
||||
Reference in New Issue
Block a user