Пример #1
0
 def __init__(self, args):
     BasicRobotProblemSolver.__init__(self, args)
     #self.workers = {}
     self.boss_destination = "{}_{}".format(self.federation, "ProblemSolver")
     #self.ui_address = self.boss_destination
     self.transport.subscribe(self.boss_destination, self.callback)
     self.setup_agent()
     self.read_templates(filepath)
Пример #2
0
 def __init__(self, args):
     BasicRobotProblemSolver.__init__(self, args)
     #self.workers = {}
     self.boss_destination = "{}_{}".format(self.federation,
                                            "ProblemSolver")
     #self.ui_address = self.boss_destination
     self.transport.subscribe(self.boss_destination, self.callback)
     self.setup_agent()
     self.read_templates(filepath)
Пример #3
0
 def __init__(self, args):
     BasicRobotProblemSolver.__init__(self, args)
     self.workers = {}
     self.setup_workers()
Пример #4
0
 def __init__(self, args):
     BasicRobotProblemSolver.__init__(self, args)
     self.workers = {}
     self.setup_workers()
Пример #5
0
 def build_world(self, external_file):
     world = BasicRobotProblemSolver.build_world(self, external_file)
     robot1_instance=Robot('robot1_instance')
     setattr(world, 'robot1_instance', robot1_instance)
     #print(world)
     return world
Пример #6
0
 def __init__(self, args):
     QueueSolver.__init__(self, args)
     BasicRobotProblemSolver.__init__(self, args)
     self.build_solver_processor(self.commandQ, self, self.xnet_worker)
     self.world = self.build_world('morse/world.json')