def __init__(self, noise=.1, timeout=30,
                 layoutFile=os.path.join(
                     default_layout_dir, 'trickyClassic.lay'),
                 numGhostAgents=1000):
        self.noise = noise
        # Specifies which Pacman world you want
        self.layoutFile = layoutFile
        # Puts the file in line stripped format
        layout_file_content = self._tryToLoad(self.layoutFile)
        self.layout = layout.Layout(layout_file_content)
        # Number of ghosts
        self.numGhostAgents = numGhostAgents
        # Intitializes Pacman game
        self.game_state = pacman.GameState()
        self.game_rules = pacman.ClassicGameRules(timeout)
        self.layout_copy = deepcopy(self.layout)
        self.game_state.data.initialize(self.layout_copy, self.numGhostAgents)
        self.num_total_food = len(self.layout_copy.food.asList())
        self.num_total_capsules = len(self.layout_copy.capsules)
        self._defaultSettings()
        self.restartGraphics = None
        self.timerswitch = False
        self.savedtimer = None
        self.gameDisplay = None
        self._set_statespace_limits()
        super(Pacman, self).__init__()
Returns the log probability of theta. Note: theta should
dataset/ETHPy150Open rlpy/rlpy/rlpy/Domains/Pacman.py/Pacman.__init__--crossover with--dataset/ETHPy150Open automl/RoBO/robo/priors/base_prior.py/TophatPrior.lnprob