- see(Percept) - Method in class agent.Agent
-
Provide a Percept to the agent.
- seeDirt() - Method in class vacworld.VacPercept
-
Returns true if the percept reflects that the agent is over dirt.
- seeObstacle() - Method in class vacworld.VacPercept
-
Returns true if the percept reflects that the square immediately
in front of the agent contains an obstacle.
- selectAction() - Method in class agent.Agent
-
Have the agent select its next action to perform.
- setAgentDir(int) - Method in class vacworld.VacuumState
-
Change the agent's orientation.
- setAgentX(int) - Method in class vacworld.VacuumState
-
Change the agent's X position.
- setAgentY(int) - Method in class vacworld.VacuumState
-
Change the agent's Y position.
- setBump(boolean) - Method in class vacworld.VacuumState
-
Set an indicator that the robot bumped into an obstacle
during its previous move.
- setRobotOff(boolean) - Method in class vacworld.VacuumState
-
Set an indicator that the robot has shut down in the state.
- ShutOff - Class in vacworld
-
A vacuum cleaning world action that causes the agent to power down.
- ShutOff() - Constructor for class vacworld.ShutOff
-
- SOUTH - Static variable in class vacworld.Direction
-
- start(State) - Method in class agent.Environment
-
Run the simulation starting from a given state.
- start(State) - Method in class vacworld.VacuumWorld
-
Starts the simulation.
- State - Class in agent
-
A complete representation of a situation in the agent environment.
- State() - Constructor for class agent.State
-
- StateSelector - Class in vacworld
-
This is a utility class used to preview randomly generated Vacuum World
states.
- StateSelector() - Constructor for class vacworld.StateSelector
-
- SuckDirt - Class in vacworld
-
A vacuum cleaning world action that causes the agent to suck up
dirt from it current location.
- SuckDirt() - Constructor for class vacworld.SuckDirt
-