예제 #1
0
파일: resource.py 프로젝트: kowalski/feat
 def request_local_resource(self, state, resources, categories):
     self.info('Requesting resoruce %r category %r', resources, categories)
     return raage.allocate_resource(self, resources, categories=categories,
                                    max_distance=0)
예제 #2
0
파일: resource.py 프로젝트: f3at/feat
 def request_resource(self, state, resources, categories, agent_id=None):
     self.info("Requesting resoruce %r category %r", resources, categories)
     return raage.allocate_resource(self, resources, categories=categories, agent_id=agent_id)