def __init__(self, lifespan=None): Grid_2D_World.__init__(self, lifespan) self.name = 'grid_2D_dc' self.name_long = 'decoupled two dimensional grid world' print ", decoupled" self.num_sensors = self.world_size * 2 self.VISUALIZE_PERIOD = 10**3 self.display_state = False
def __init__(self, lifespan=None): Grid_2D_World.__init__(self, lifespan) self.name = 'grid_2D_dc' self.name_long = 'decoupled two dimensional grid world' print ", decoupled" self.num_sensors = self.world_size * 2 self.VISUALIZE_PERIOD = 10 ** 3 self.display_state = False
def __init__(self, lifespan=None, test=False): """ Set up the world based on the grid_2D world """ Grid_2D_World.__init__(self, lifespan) self.name = 'grid_2D_dc' self.name_long = 'decoupled two dimensional grid world' print ", decoupled" self.num_sensors = self.world_size * 2
def __init__(self, lifespan=None): """ Set up the world based on the grid_2D world. Parameters ---------- lifespan : int The number of time steps to continue the world. """ Grid_2D_World.__init__(self, lifespan) self.name = 'grid_2D_dc' self.name_long = 'decoupled two dimensional grid world' print ", decoupled" self.num_sensors = self.world_size * 2
def __init__(self, lifespan=None): """ Set up the world based on the grid_2D world. Parameters ---------- lifespan : int The number of time steps to continue the world. """ Grid_2D_World.__init__(self, lifespan) self.name = "grid_2D_dc" self.name_long = "decoupled two dimensional grid world" print ", decoupled" self.num_sensors = self.world_size * 2