def __init__(self, cfg_params): """ constructor """ Cleaner.__init__(self, cfg_params) self.cfg_params = cfg_params # init client server params... CliServerParams(self) return
def __init__(self): self.grid_size = -1 self.message = {} self.action = action.idle() self.observation = [] self.position = (-1, -1) self.colour = 'none' self.orientation = 'none' self.dirt = 'none' self.name = 'none' # MESSAGES # LOAD THE MESSAGES self.messages = [] FindGridSizeMind.__init__(self) # MAPPING MAP MAX BANDWIDTH OF 80 MappingMind.__init__(self) GreedyExplore.__init__(self) Cleaner.__init__(self) GoToPosition.__init__(self) Plunger.__init__(self)