aima.core.environment.wumpusworld.action.Shoot Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aima-core Show documentation
Show all versions of aima-core Show documentation
AIMA-Java Core Algorithms from the book Artificial Intelligence a Modern Approach 3rd Ed.
The newest version!
package aima.core.environment.wumpusworld.action;
import aima.core.agent.impl.DynamicAction;
/**
* Artificial Intelligence A Modern Approach (3rd Edition): page 237.
*
* The action Shoot can be used to fire an arrow in a straight line in the
* direction the agent is facing. The arrow continues until it either hits (and
* hence kills) the wumpus or hits a wall. The agent has only one arrow, so only
* the first Shoot action has any effect.
*
* @author Federico Baron
* @author Alessandro Daniele
* @author Ciaran O'Reilly
*/
public class Shoot extends DynamicAction {
public static final String SHOOT_ACTION_NAME = "Shoot";
public Shoot() {
super(SHOOT_ACTION_NAME);
}
}