示例#1
0
文件: grid_2D_dc.py 项目: 00mjk/becca
 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
示例#2
0
文件: grid_2D_dc.py 项目: alito/becca
 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
示例#3
0
 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
示例#4
0
    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
示例#5
0
文件: grid_2D_dc.py 项目: btapo/becca
    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