All Downloads are FREE. Search and download functionalities are using the official Maven repository.

aima.core.environment.wumpusworld.action.Shoot Maven / Gradle / Ivy

Go to download

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); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy