def pi(self, s, terminal, p_actions):
        coin = self.random_state.rand()
        # print "coin=",coin
        if self.epsilon < coin:
            return self.random_state.choice(p_actions)
        else:
            b_actions = self.representation.bestActions(s, terminal, p_actions)
            if self.forcedDeterministicAmongBestActions:
                return b_actions[0]
            else:
                return self.random_state.choice(b_actions)
dataset/ETHPy150Open rlpy/rlpy/rlpy/Policies/eGreedy.py/eGreedy.pi/swapped operands of `<`