def __init__(self, epsilon=0.2, tau=2.5, epsilon_decay=0.9999, tau_decay=1): DiscreteExplorer.__init__(self) self.epsilon = epsilon self.tau = tau self.epsilon_decay = epsilon_decay self.tau_decay = tau_decay self._state = None
def activate(self, state, action): """ The super class ignores the state and simply passes the action through the module. implement _forwardImplementation() in subclasses. """ self._state = state return DiscreteExplorer.activate(self, state, action)
def activate(self, state, action): """ Save the current state for state-dependent exploration. """ self.state = state return DiscreteExplorer.activate(self, state, action)
def __init__(self, epsilon = 0.2, decay = 0.9998): """ TODO: the epsilon and decay parameters are currently not implemented. """ DiscreteExplorer.__init__(self) self.state = None
def __init__(self, epsilon=0.2, decay=0.9998): DiscreteExplorer.__init__(self) self.state = None
def __init__(self, tau = 2., decay = 0.9995): DiscreteExplorer.__init__(self) self.tau = tau self.decay = decay self._state = None
def __init__(self, epsilon=0.3, decay=0.9999): DiscreteExplorer.__init__(self) self.epsilon = epsilon self.decay = decay
def activate(self, state, action): self.state = state return DiscreteExplorer.activate(self, state, action)
def __init__(self, random_state, epsilon=0.3, decay=0.9999): DiscreteExplorer.__init__(self) self.random_state = random_state self.epsilon = epsilon self.decay = decay self.module = None
def __init__(self, tau=2., decay=0.9995): DiscreteExplorer.__init__(self) self.tau = tau self.decay = decay self._state = None
def __init__(self, env, epsilon = 0.3, decay = 0.9999): DiscreteExplorer.__init__(self) self.epsilon = epsilon self.decay = decay self.env = env pyrand.seed()
def __init__(self, epsilon = 0.3, decay = 0.9999): DiscreteExplorer.__init__(self) self.epsilon = epsilon self.decay = decay
def __init__(self, epsilon = 0.2, decay = 0.9998): DiscreteExplorer.__init__(self) self.state = None
def __init__(self, env, epsilon=0.3, decay=0.9999): DiscreteExplorer.__init__(self) self.epsilon = epsilon self.decay = decay self.env = env pyrand.seed()