示例#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)
示例#2
0
 def performAction(self, jointAction):
     """ Execute joint action of all agents. """
     Task.performAction(self, jointAction)
示例#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]))
示例#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)