コード例 #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
ファイル: grid_2D_dc.py プロジェクト: fdoperezi/becca
 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
ファイル: grid_2D_dc.py プロジェクト: mickeyshaughnessy/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
コード例 #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