src.dcss.agent.fastdownwardtutorial1

Module Contents

Classes

FastDownwardPlanningAgentTut1

Agent that uses fast downward to solve planning problems to explore a floor.

class src.dcss.agent.fastdownwardtutorial1.FastDownwardPlanningAgentTut1

Bases: dcss.agent.base.BaseAgent

Agent that uses fast downward to solve planning problems to explore a floor.

pddl_domain_file = ''
get_random_nonvisited_nonwall_playerat_goal()
get_plan_from_fast_downward(goals)
write_data_to_file()
get_blue_tile_goal(i)
get_random_simple_action()
requesting_start_new_game()

This function enables the agent class to decide to start a new game. By default this is false, and subclasses of BaseAgent should implement this function to return True whenever a new game should begin. This function is especially helpful when you have some arbitrary criteria for which you want an agent to stop.

get_action(gamestate: dcss.state.game.GameState)