Esempio n. 1
0
 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)
Esempio n. 2
0
 def performAction(self, jointAction):
     """ Execute joint action of all agents. """
     Task.performAction(self, jointAction)
Esempio n. 3
0
 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]))
Esempio n. 5
0
 def performAction(self, action):
     Task.performAction(self, int(action[0]))
 def performAction(self, jointAction):
     """ Execute joint action of all agents. """
     Task.performAction(self, jointAction)