Module pacai.agents

The pacai.agents package contains various types of agents. An agent is something that takes actions within the world, like a pacman or a ghost. BaseAgent is the ancestor of all agents, and can be used to load any agent by name.

Expand source code
"""
The `pacai.agents` package contains various types of agents.
An agent is something that takes actions within the world, like a pacman or a ghost.
`pacai.agents.base.BaseAgent` is the ancestor of all agents, and can be used to load any agent
by name.
"""

Sub-modules

pacai.agents.base
pacai.agents.capture

The pacai.agents.capture package contains agents specifically made for the capture game.

pacai.agents.ghost

The pacai.agents.ghost package contains only ghost agents.

pacai.agents.gowest
pacai.agents.greedy
pacai.agents.keyboard
pacai.agents.learning

The pacai.agents.learning package contains only agents that learn from their environment, like Q-learning.

pacai.agents.leftturn
pacai.agents.random
pacai.agents.search

The pacai.agents.search package contains agents that search their environment for some specific goal.

pacai.agents.timeout