def performAction(self,action): #action is ( (p1.x,p1.y), (p2.x,p2.y) ) ''' A filtered mapping towards performAction of the underlying environment. ''' Task.performAction(self,action)
def performAction(self, jointAction): """ Execute joint action of all agents. """ Task.performAction(self, jointAction)
def performAction(self, action): """ Execute one action. """ Task.performAction(self, action) self.addReward() self.samples += 1
def performAction(self, action): Task.performAction(self, int(action[0]))