Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
I
L
M
N
O
P
R
S
T
U
V
W
A
act(boolean)
- Method in class wworld.
Wumpus
act(int)
- Method in class wworld.
Agent
Acts out the actions taken by the agent, and also takes care of the agents' score.
Action
- class wAction.
Action
.
Defines various actions for the Agent.
Action
- class wworld.
Action
.
A class that defines the Actions allowed to the agents.
Action()
- Constructor for class wAction.
Action
Action()
- Constructor for class wworld.
Action
action(Event, Object)
- Method in class wworld.
projectFrame
Executes the start of the game and end of the game actions from the server GUI.
Actor
- class wworld.
Actor
.
This class specializes the MovingObject class to include a State that each moving object can have.
Actor(int, int, int, int, int, String)
- Constructor for class wworld.
Actor
Constructor that takes in the ObjectType, GridLocation in terms of x and y, the orientation o, the id number of the Actor, and the name assigned to the actor.
ActorState
- class wworld.
ActorState
.
An Actor is either an agent or a wumpus.
ActorState(int)
- Constructor for class wworld.
ActorState
Constructor for ActorState with setting of initial state of the Actor
addPropertyChangeListener(PropertyChangeListener)
- Method in class wclient.
GenericBean
addScoreForAction()
- Method in class wworld.
Agent
addScoreForDying()
- Method in class wworld.
Agent
addScoreForGold()
- Method in class wworld.
Agent
advanceDown()
- Method in class wworld.
GridPoint
Sets the attributes of this gridpoint to point to the location below it.
advanceLeft()
- Method in class wworld.
GridPoint
Sets the attributes of this gridpoint to point to the location to its left.
advanceRight()
- Method in class wworld.
GridPoint
Sets the attributes of this gridpoint to point to the location to its right.
advanceUp()
- Method in class wworld.
GridPoint
Sets the attributes of this gridpoint to point to the location to the location above it.
Agent
- class wworld.
Agent
.
Defines the data and behaviour associated with an Agent.
AGENT
- Static variable in class wworld.
GridObjectType
Agent(int, GridPoint, int, int, String, int)
- Constructor for class wworld.
Agent
Agent(int, int, int, int, int, String, int)
- Constructor for class wworld.
Agent
Constructor.
ALIVE
- Static variable in class wworld.
ActorState
Describes the state of the actor when the actor is alive in the world.
C
calculateAvgScore()
- Method in class wworld.
ScoreKeeper
Calculates average score for the completed trials.
calculateStdDeviation()
- Method in class wworld.
ScoreKeeper
Calculates scores standard deviation for the completed trials.
checkAvailability()
- Method in class wclient.
Communicator
CLIMB
- Static variable in class wAction.
Action
CLIMB
- Static variable in class wworld.
Action
clone()
- Method in class wworld.
GridPoint
Returns an Object that is a copy of this grid point object.
Communicator
- class wclient.
Communicator
.
This Class is responsible for all the communications setup on the client-side between the client and server.
Communicator
- class wworld.
Communicator
.
Communicator()
- Constructor for class wclient.
Communicator
Communicator()
- Constructor for class wworld.
Communicator
Communicator(String, int)
- Constructor for class wclient.
Communicator
createAgentImage(int, int, int)
- Method in class wworld.
Percept
createConnection()
- Method in class wclient.
Communicator
createGoldImage(int, int)
- Method in class wworld.
Percept
createObstacleImage(int, int)
- Method in class wworld.
Percept
createPitImage(int, int)
- Method in class wworld.
Percept
createWumpusImage(int, int, int)
- Method in class wworld.
Percept
D
DEAD
- Static variable in class wworld.
ActorState
Describes the state of the actor when the actor is dead in the world.
decrementArrowCount()
- Method in class wworld.
Agent
die(GridPoint)
- Method in class wworld.
Agent
Handles the agent status and statistics when he dies.
Directions
- class wworld.
Directions
.
This class is used to describe the directions in which the moving objects in the World can face.
Directions(int)
- Constructor for class wworld.
Directions
Constructor for the facing or directions
displayWorld(Vector[][], Vector)
- Method in class wworld.
projectFrame
Displays the world and objects within the world.
doAction(Agent, Percept, int)
- Method in class wworld.
GameServer
Performs the action specified by the agent, and sets the necessary variable in the Percept.
DOWN
- Static variable in class wworld.
Directions
E
END_SIMULATION
- Static variable in class wAction.
Action
END_SIMULATION
- Static variable in class wworld.
Action
END_TRIAL
- Static variable in class wAction.
Action
END_TRIAL
- Static variable in class wworld.
Action
Environment
- class wworld.
Environment
.
This class contains the information about the objects and agents that are contained within the wumpus world grid.
Environment()
- Constructor for class wworld.
Environment
Constructor
F
findAction(Environment)
- Method in class wworld.
Wumpus
findGotoAction(Environment)
- Method in class wworld.
Wumpus
findNewLoc()
- Method in class wworld.
Wumpus
findRandomAction(Environment)
- Method in class wworld.
Wumpus
findSpinAction()
- Method in class wworld.
Wumpus
findStayAction()
- Method in class wworld.
Wumpus
findWalkAction(Environment)
- Method in class wworld.
Wumpus
fireChanges(TransferPercept)
- Method in class wclient.
PerceptKeeperBean
Frame1
- class wclient.
Frame1
.
Frame Displaying the normal percepts and the natural language hint.
Frame1()
- Constructor for class wclient.
Frame1
Frame2
- class wclient.
Frame2
.
Window displaying the Image Percepts of the agent.
Frame2()
- Constructor for class wclient.
Frame2
G
GameClient
- class wclient.
GameClient
.
This class is responsible for the working of the client.
GameClient()
- Constructor for class wclient.
GameClient
GameServer
- class wworld.
GameServer
.
The gameserver object controls the overall simulation of the wumpus world.
GameServer(Environment, int, int, Vector, int, projectFrame)
- Constructor for class wworld.
GameServer
generateRandWorld(int, int)
- Static method in class wworld.
WorldApplication
Generates a random world when called.
GenericBean
- class wclient.
GenericBean
.
GenericBean()
- Constructor for class wclient.
GenericBean
getAction(Socket, ObjectInputStream)
- Method in class wworld.
GameServer
Does the necessary communication with the client and gets the action specified by the clients.
getActionTaken()
- Method in class wclient.
PerceptKeeperBean
getActionTaken()
- Method in class wPercept.
TransferPercept
getActorId()
- Method in class wworld.
Actor
Returns the ID of the Actor as an integer.
getActorName()
- Method in class wworld.
Actor
Returns the Name of the actor.
getActorState()
- Method in class wworld.
ActorState
Returns the State of the Actor.
getArrowCount()
- Method in class wworld.
Agent
getAverageScore()
- Method in class wPercept.
TransferPercept
getAverageScore()
- Method in class wworld.
ScoreKeeper
getBreeze()
- Method in class wclient.
PerceptKeeperBean
getBreeze()
- Method in class wPercept.
TransferPercept
getBump()
- Method in class wclient.
PerceptKeeperBean
getBump()
- Method in class wPercept.
TransferPercept
getFacing()
- Method in class wworld.
Directions
Returns the direction that is represented by the object.
getGameEnd()
- Method in class wworld.
projectFrame
Returns TRUE if the gameEnd is TRUE.
getGameStart()
- Method in class wworld.
projectFrame
Returns TRUE if the game start button has been pressed.
getGlitter()
- Method in class wclient.
PerceptKeeperBean
getGlitter()
- Method in class wPercept.
TransferPercept
getGoldCount()
- Method in class wworld.
Agent
getGridImage()
- Method in class wworld.
Environment
Returns the gridImage representing the Wumpus World environment.
getHint()
- Method in class wclient.
PerceptKeeperBean
getHint()
- Method in class wPercept.
TransferPercept
getHint()
- Method in class wworld.
Percept
getImageHeight()
- Method in class wPercept.
TransferPercept
getImageHeight()
- Method in class wworld.
Percept
Returns the height of the image being sent to the agent.
getImagePixels()
- Method in class wPercept.
TransferPercept
getImagePixels()
- Method in class wworld.
Percept
Returns the array containing pixel values of the image being sent as a percept to the client.
getImageWidth()
- Method in class wPercept.
TransferPercept
getImageWidth()
- Method in class wworld.
Percept
Returns the width of the image being sent to the agent.
getInputStream()
- Method in class wclient.
Communicator
getLocation()
- Method in class wworld.
GridObject
Returns the current location of the gridObject
getMode()
- Method in class wworld.
Wumpus
Returns the mode of a wumpus.
getNumArrow()
- Method in class wclient.
PerceptKeeperBean
getNumArrow()
- Method in class wPercept.
TransferPercept
getNumGold()
- Method in class wclient.
PerceptKeeperBean
getNumGold()
- Method in class wPercept.
TransferPercept
getObjectAtLocation(int, int)
- Method in class wworld.
Environment
Returns the vector of objects at grid location (x, y).
getObjectType()
- Method in class wworld.
GridObjectType
getOrientation()
- Method in class wworld.
MovingObject
Returns the current direction of the object as integer.
getOrientationDirection()
- Method in class wworld.
MovingObject
Returns the current direction of the object as Directions.
getOrigLocation()
- Method in class wworld.
GridObject
Returns original location of the gridObject
getOrigOrientation()
- Method in class wworld.
MovingObject
Returns the original direction or facing of the object.
getPtX()
- Method in class wworld.
GridPoint
Returns the horizontal position of the location represented by this GridPoint.
getPtY()
- Method in class wworld.
GridPoint
Returns the vertical position of the location represented by this GridPoint.
getScore()
- Method in class wclient.
PerceptKeeperBean
getScore()
- Method in class wPercept.
TransferPercept
getScore()
- Method in class wworld.
Agent
getScream()
- Method in class wclient.
PerceptKeeperBean
getScream()
- Method in class wPercept.
TransferPercept
getSize()
- Method in class wworld.
Environment
Returns the dimension of the world.
getState()
- Method in class wworld.
Actor
Returns the State of the Actor as being ActorState.ALIVE, ActorState.DEAD or ActorState.VICTORIOUS.
getStatus()
- Method in class wclient.
PerceptKeeperBean
getStatus()
- Method in class wPercept.
TransferPercept
getStdDeviation()
- Method in class wPercept.
TransferPercept
getStdDeviation()
- Method in class wworld.
ScoreKeeper
getStench()
- Method in class wclient.
PerceptKeeperBean
getStench()
- Method in class wPercept.
TransferPercept
getType()
- Method in class wworld.
WorldObject
getWumpusAt(GridPoint)
- Method in class wworld.
Environment
Returns an integer indicating the position of a wumpus at a certain gridpoint, if at all the location contains a wumpus.
getWumpusFacing(GridPoint)
- Method in class wworld.
Environment
Returns the direction or facing of the wumpus if there is a wumpus at (x, y).
GOFORWARD
- Static variable in class wAction.
Action
GOFORWARD
- Static variable in class wworld.
Action
Gold
- class wworld.
Gold
.
Class specifying object of type Gold.
GOLD
- Static variable in class wworld.
GridObjectType
Gold(int, int)
- Constructor for class wworld.
Gold
GOTO_GOLD
- Static variable in class wworld.
WumpusMode
GOTO_PIT
- Static variable in class wworld.
WumpusMode
GRAB
- Static variable in class wAction.
Action
GRAB
- Static variable in class wworld.
Action
GridObject
- class wworld.
GridObject
.
Class specifying gridobject.
GridObject(int, int, int)
- Constructor for class wworld.
GridObject
Constructor with setting of object type, location and original location
GridObjectType
- class wworld.
GridObjectType
.
This class describes the kinds of objects that can reside in the wumpus world.
GridObjectType(int)
- Constructor for class wworld.
GridObjectType
GridPoint
- class wworld.
GridPoint
.
Class specifying object representing each GridPoint in the world.
GridPoint()
- Constructor for class wworld.
GridPoint
GridPoint(int, int)
- Constructor for class wworld.
GridPoint
I
ImagePanel
- class wclient.
ImagePanel
.
ImagePanel()
- Constructor for class wclient.
ImagePanel
incrementGoldCount()
- Method in class wworld.
Agent
InputTaker
- class wInput.
InputTaker
.
InputTaker()
- Constructor for class wInput.
InputTaker
isAgentDoneLastTime()
- Method in class wworld.
Agent
isBreeze()
- Method in class wworld.
Percept
Returns true if the agent feels a breeze.
isBump()
- Method in class wworld.
Percept
Returns true if the agent bumped into a wall in the previous step.
isDeadly(GridPoint)
- Method in class wworld.
Environment
Determines if a grid location is deadly for any agent entering it.
isGlitter()
- Method in class wworld.
Percept
Returns true if the agent senses a glitter.
isGoldAt(GridPoint)
- Method in class wworld.
Environment
Returns true if there is gold at the grid location gp.
isGoldAt(int, int)
- Method in class wworld.
Environment
Returns true if there is gold at the location (x,y)
isObstacleAt(int, int)
- Method in class wworld.
Environment
Returns true if there is a obstacle at location (x, y).
isPitAt(int, int)
- Method in class wworld.
Environment
Returns true if there is a pit at location (x, y).
isPitNear(GridPoint)
- Method in class wworld.
Environment
Returns true if there is a pit in the 4 squares surrounding the grid point.
isScream()
- Method in class wworld.
Percept
Returns true if the agent hears a wumpus die.
isStench()
- Method in class wworld.
Percept
Returns true if the agent smells the wumpus.
isValid(GridPoint)
- Method in class wworld.
Environment
Determines whether a given gridpoint is within the bounds of the world.
isWumpusAt(int, int)
- Method in class wworld.
Environment
Returns true if there is a wumpus at (x, y).
isWumpusNear(GridPoint)
- Method in class wworld.
Environment
Returns true if there is a wumpus in the 4 squares surrounding the grid point.
L
LEFT
- Static variable in class wworld.
Directions
M
main(String[])
- Static method in class wclient.
GameClient
main(String[])
- Static method in class wworld.
WorldApplication
makeImage(TransferPercept)
- Method in class wclient.
Frame2
makePropString(TransferPercept)
- Method in class wclient.
PerceptKeeperBean
makeSocket(int)
- Method in class wworld.
WorldApplication
Sets up communication mechanism on the server side.
manualPlay()
- Method in class wclient.
Player
MAXSTEPS
- Static variable in class wworld.
GameServer
Maximum number of steps allowed for each trial
move()
- Method in class wworld.
MovingObject
Performs the move action (going forward action).
moveforward(GridPoint)
- Method in class wworld.
Wumpus
MovingObject
- class wworld.
MovingObject
.
The class specifying object MovingObject.
MovingObject(int, int, int, int)
- Constructor for class wworld.
MovingObject
Constructor
N
NO_ACTION
- Static variable in class wAction.
Action
NO_ACTION
- Static variable in class wworld.
Action
This variable is used internally by the simulator.The client is advised not to use this action.
NO_OP
- Static variable in class wAction.
Action
NO_OP
- Static variable in class wworld.
Action
This variable is used by the simulator to indicate that the client did not send any action
Notes
- class wworld.
Notes
.
Notes()
- Constructor for class wworld.
Notes
O
Obstacle
- class wworld.
Obstacle
.
Class specifying object of type Obstacle.
OBSTACLE
- Static variable in class wworld.
GridObjectType
Obstacle(int, int)
- Constructor for class wworld.
Obstacle
P
paint(Graphics)
- Method in class wclient.
Frame2
paintImage()
- Method in class wclient.
Frame2
pcs
- Variable in class wclient.
GenericBean
perceive(Environment, GridPoint, int, Vector, TransferPercept)
- Method in class wworld.
Percept
Used to set the percepts for each agent depending on their position and orientation in the grid.
Percept
- class wworld.
Percept
.
Specifies the object containing various percepts.
Percept(int)
- Constructor for class wworld.
Percept
Constructor.
PerceptKeeper
- class wclient.
PerceptKeeper
.
Responsible for keeping any transferpercept objects that may appear on the socket, so that they may be accessed by the agent at any time.
PerceptKeeper(Communicator)
- Constructor for class wclient.
PerceptKeeper
PerceptKeeperBean
- class wclient.
PerceptKeeperBean
.
Responsible for keeping any transferpercept objects that may appear on the socket, so that they may be accessed by the agent at any time.
PerceptKeeperBean(Communicator)
- Constructor for class wclient.
PerceptKeeperBean
Pit
- class wworld.
Pit
.
Class specifying Pit object.
PIT
- Static variable in class wworld.
GridObjectType
Pit(int, int)
- Constructor for class wworld.
Pit
Player
- class wclient.
Player
.
Player(int, Communicator)
- Constructor for class wclient.
Player
playGame1(Vector, Vector, Vector, projectFrame, int, int)
- Method in class wworld.
GameServer
Conducts the simulation from beginning to the end of current trial.
printAction(int)
- Static method in class wAction.
Action
printEnvironment()
- Method in class wworld.
Environment
Prints out the summary of the environment on standard output.
printPrompt(String)
- Static method in class wInput.
InputTaker
printPrompt(String)
- Static method in class wworld.
GameServer
prints the prompt
printStats()
- Method in class wworld.
WorldApplication
printStats()
- Method in class wworld.
GameServer
Prints all the statistics for each agent at the end of each trial, and at the end of all the trials.
process(TransferPercept, Frame1, Frame2)
- Method in class wclient.
Player
processWumpi()
- Method in class wworld.
Environment
Positions the wumpii to their next calculated location.
projectFrame
- class wworld.
projectFrame
.
Class specifying the grapical component of the server side.
projectFrame()
- Constructor for class wworld.
projectFrame
Constructor.
R
RANDOM
- Static variable in class wworld.
WumpusMode
readImage(FileInputStream, int, int)
- Method in class wworld.
Percept
Reads the image from a file given that the file contains an image in ascii PPM format.
readInformation()
- Method in class wclient.
Communicator
readIntFromStream()
- Method in class wclient.
Communicator
readLine()
- Static method in class wInput.
InputTaker
readLine()
- Static method in class wworld.
GameServer
Reads a line from the standard input
readLine(String)
- Static method in class wInput.
InputTaker
readLine(String)
- Static method in class wworld.
GameServer
readWorld(BufferedReader)
- Method in class wworld.
Environment
Reads in the environment from the input stream in and sets the gridimage according to the objects in the world
readWorldFromFile(Environment, BufferedReader)
- Method in class wworld.
WorldApplication
Reads in the wumpus world from the file.
readWorldFromFile(String)
- Method in class wworld.
Environment
Populates the environment after reading it from file.
removeGoldAt(GridPoint)
- Method in class wworld.
Environment
Removes gold pieces at location gp.
removePropertyChangeListener(PropertyChangeListener)
- Method in class wclient.
GenericBean
reset()
- Method in class wworld.
WorldObject
reset()
- Method in class wworld.
Agent
Used to reset the agent parameters at the end of every trial.
reset(Environment, int)
- Method in class wworld.
GameServer
Used to reset attributes at the end of a game.
resetCounter(int)
- Method in class wclient.
Player
retrievePercept()
- Method in class wclient.
PerceptKeeperBean
RIGHT
- Static variable in class wworld.
Directions
run()
- Method in class wclient.
PerceptKeeperBean
run()
- Method in class wclient.
PerceptKeeper
S
ScoreKeeper
- class wworld.
ScoreKeeper
.
Keeps track of the score statistics for each agent.
ScoreKeeper(int)
- Constructor for class wworld.
ScoreKeeper
Constructor.
sendIntToStream(Socket, ObjectInputStream, ObjectOutputStream, int)
- Method in class wworld.
GameServer
Sends an integer over the socket connection to the client.
sendToStream(Socket, ObjectOutputStream, Object)
- Method in class wworld.
GameServer
Sends the specified obj over the socket to the specified client.
setActionTaken(int)
- Method in class wPercept.
TransferPercept
setActorState(int)
- Method in class wworld.
ActorState
Returns the State of the Actor.
setAgentDoneLastTime(boolean)
- Method in class wworld.
Agent
setAgentStatusText(String)
- Method in class wclient.
Frame1
setArea()
- Method in class wclient.
Frame1
setArrowText(String)
- Method in class wclient.
Frame1
setAverageScore(double)
- Method in class wPercept.
TransferPercept
setBreezeText(String)
- Method in class wclient.
Frame1
setBumpedLastTime()
- Method in class wworld.
Percept
Used to indicate that in the last step, the agent tried to walk into a wall or an obstacle.
setBumpText(String)
- Method in class wclient.
Frame1
setCurrentStep(int)
- Method in class wworld.
projectFrame
Sets the current step number display on the server GUI.
setCurrentTrial(int)
- Method in class wworld.
projectFrame
Sets the current Trial number display on the server GUI.
setFacing(int)
- Method in class wworld.
Directions
Used to set the facing represented by this object.
setGameEnd(boolean)
- Method in class wworld.
projectFrame
Sets the end of the game attribute gameEnd.
setGameStart(boolean)
- Method in class wworld.
projectFrame
Sets start of the game attribute gameStart.
setGlitterText(String)
- Method in class wclient.
Frame1
setGoldPiecesText(String)
- Method in class wclient.
Frame1
setGridPoint(GridPoint)
- Method in class wworld.
GridPoint
Sets the attributes of this GridPoint to be the same as those of the GridPoint passed to it.
setGridPoint(int, int)
- Method in class wworld.
GridPoint
Sets the attributes to the indicated new values.
setHint(String)
- Method in class wPercept.
TransferPercept
setHintPanel()
- Method in class wclient.
Frame1
setHintText(String)
- Method in class wclient.
Frame1
setImage(Image)
- Method in class wclient.
Frame2
setImage(int[][][], int, int)
- Method in class wPercept.
TransferPercept
setLastActionText(String)
- Method in class wclient.
Frame1
setLocation(GridPoint)
- Method in class wworld.
GridObject
Sets the location of the gridObject to the gridpoint specified.
setLocation(int, int)
- Method in class wworld.
GridObject
Sets the location of the gridObject to the location (x,y) specified.
setMaxSteps(int)
- Method in class wworld.
projectFrame
Sets the maximum number of steps display on server GUI.
setMenu()
- Method in class wclient.
Frame1
setNumArrow(int)
- Method in class wPercept.
TransferPercept
setNumGold(int)
- Method in class wPercept.
TransferPercept
setNumTrials(int)
- Method in class wworld.
projectFrame
Sets total number of Trials display on the server GUI.
setOrientation(int)
- Method in class wworld.
MovingObject
Sets the direction or facing of the object.
setPercept(boolean, boolean, boolean, boolean, boolean)
- Method in class wPercept.
TransferPercept
setPerceptPanel()
- Method in class wclient.
Frame1
setPtX(int)
- Method in class wworld.
GridPoint
Used to set the x position of this Object.
setPtY(int)
- Method in class wworld.
GridPoint
Used to set the y position of this object.
setScore(int)
- Method in class wPercept.
TransferPercept
setScoreText(String)
- Method in class wclient.
Frame1
setScreamText(String)
- Method in class wclient.
Frame1
setSize(int)
- Method in class wworld.
Environment
Sets the size of the world.
setState(int)
- Method in class wworld.
Actor
Allows the simulator to set the State of the Actor.
setStatus(int)
- Method in class wPercept.
TransferPercept
setStatusPanel()
- Method in class wclient.
Frame1
setStdDeviation(double)
- Method in class wPercept.
TransferPercept
setStenchText(String)
- Method in class wclient.
Frame1
setTargetLoc(GridPoint)
- Method in class wworld.
Wumpus
setWorldSize(int)
- Method in class wworld.
projectFrame
Sets the Wumpus world size.
setWumpusDiedLastTime()
- Method in class wworld.
Percept
Used to indicate that in the last step, the agent shot a wumpus.
setWumpusTargets()
- Method in class wworld.
Environment
Sets targets for wumpii which have a mode that requires them to move to other locations with specific properties.
SHOOT
- Static variable in class wAction.
Action
SHOOT
- Static variable in class wworld.
Action
shootAtWumpus(GridPoint, int)
- Method in class wworld.
Environment
Processes the shooting of a wumpus from a location pt by an agent.
SIT
- Static variable in class wAction.
Action
SIT
- Static variable in class wworld.
Action
SPIN
- Static variable in class wworld.
WumpusMode
stackPlay()
- Method in class wclient.
Player
START_GAME
- Static variable in class wAction.
Action
START_GAME
- Static variable in class wworld.
Action
statusDisplay(TransferPercept)
- Method in class wclient.
Player
STAY
- Static variable in class wworld.
WumpusMode
T
toString()
- Method in class wworld.
GridPoint
Represents this object as a String of the form (x, y).
toString()
- Method in class wworld.
GridObjectType
Returns an String according to the type of the object.
toString()
- Method in class wworld.
Directions
Returns the direction or facing of the object as String.
toString()
- Method in class wworld.
ActorState
Returns the state of the actor as a string alive, dead or victorious
toString(int)
- Static method in class wworld.
WumpusMode
toString(int)
- Method in class wworld.
Action
Describes the action as a String.
TransferPercept
- class wPercept.
TransferPercept
.
Class whose objects are communicated between the server and clients.
TransferPercept()
- Constructor for class wPercept.
TransferPercept
TURN_LEFT
- Static variable in class wAction.
Action
TURN_LEFT
- Static variable in class wworld.
Action
TURN_RIGHT
- Static variable in class wAction.
Action
TURN_RIGHT
- Static variable in class wworld.
Action
turnLeft()
- Method in class wworld.
MovingObject
Performs the left turn and sets the new location and orientation of the object.
turnRight()
- Method in class wworld.
MovingObject
Performs the right turn and sets the new location and orientation of the object.
U
UP
- Static variable in class wworld.
Directions
updateDisplay(TransferPercept)
- Method in class wclient.
Frame1
V
VICTORIOUS
- Static variable in class wworld.
ActorState
Describes the state of the agent when the agent has climbed out of the cave alive.
W
wAction
- package wAction
WALK
- Static variable in class wworld.
WumpusMode
WALL
- Static variable in class wworld.
GridObjectType
wclient
- package wclient
wInput
- package wInput
WorldApplication
- class wworld.
WorldApplication
.
Class responsible for the simulation setup, start, end and command line arguments.
WorldApplication()
- Constructor for class wworld.
WorldApplication
WorldObject
- class wworld.
WorldObject
.
Class representing a generic object in the wumpus world.
WorldObject(int)
- Constructor for class wworld.
WorldObject
wPercept
- package wPercept
writeInformation(Object)
- Method in class wclient.
Communicator
writeInt(int)
- Method in class wclient.
Communicator
Wumpus
- class wworld.
Wumpus
.
Class Responsible for the behaviour of a Wumpus.
WUMPUS
- Static variable in class wworld.
GridObjectType
Wumpus(int, int, int, int, int, String, String)
- Constructor for class wworld.
Wumpus
Constructor
WumpusMode
- class wworld.
WumpusMode
.
Defines the various modes that any Wumpus can have.
WumpusMode()
- Constructor for class wworld.
WumpusMode
wworld
- package wworld
A
C
D
E
F
G
I
L
M
N
O
P
R
S
T
U
V
W
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes