def __init__(self, unique_id, radius, field_width, field_height, velocity, rng, probability): Cyclic_Drone.__init__(self, unique_id, radius, field_width, field_height, velocity, rng) Cyclic_Drone.create_cycle(self) self.probability = probability self.back_goal = None self.backtrack = False self.on_path = False self.strategy = 'random-tsp'
def __init__(self, unique_id, radius, field_width, field_height, velocity, rng): Cyclic_Drone.__init__(self, unique_id, radius, field_width, field_height, velocity, rng) Cyclic_Drone.create_cycle(self) self.backwards = False self.strategy = 'partition'