def __init__(self, epsilon, episodeCount=None, actionCount=None): """ set the probability epsilon, with which a random action is chosen. """ DecayExplorer.__init__(self, epsilon, episodeCount, actionCount)
def __init__(self, epsilon, episodeCount=None, actionCount=None): DecayExplorer.__init__(self, epsilon, episodeCount, actionCount) # active is now property, this is the helper variable self.active_ = True self.oldTable = None