Skip to content
Snippets Groups Projects
lecture_03_tricksearch_astar.py 741 B
Newer Older
  • Learn to ignore specific revisions
  • tuhe's avatar
    tuhe committed
    # This file may not be shared/redistributed without permission. Please read copyright notice in the git repo. If this file contains other copyright notices disregard this text.
    # from irlc.ex03.pacsearch_agents import GymPositionSearchProblem, manhattanHeuristic, GymCornersProblem, cornersHeuristic, foodHeuristic, GymFoodSearchProblem, GymAnyFoodSearchProblem
    from irlc.lectures.chapter4search.yield_version.pacman_yield import AStarAgentYield
    
    from irlc.lectures.lec03.lecture_03_tricksearch_bfs import tricksearchdot
    from irlc.ex03multisearch.pacman_problem_foodsearch_astar import foodHeuristic
    
    if __name__ == "__main__":
        agent_args = dict(heuristic=foodHeuristic)
        tricksearchdot(SAgent=AStarAgentYield, agent_args=agent_args)