Package | Description |
---|---|
agent | |
vacworld |
Modifier and Type | Method and Description |
---|---|
abstract State |
Action.execute(Agent a,
State s)
Return the State of the environment that results after Agent a
executes the Action in State s.
|
Modifier and Type | Method and Description |
---|---|
abstract State |
Action.execute(Agent a,
State s)
Return the State of the environment that results after Agent a
executes the Action in State s.
|
void |
Environment.start(State initState)
Run the simulation starting from a given state.
|
Constructor and Description |
---|
Percept(State s,
Agent a)
Construct a percept for a state from the point of view of a
particular agent.
|
Modifier and Type | Class and Description |
---|---|
class |
VacuumState
Represents a state in the vacuum world.
|
Modifier and Type | Method and Description |
---|---|
State |
TurnRight.execute(Agent a,
State s)
Return the state that results from the agent turning right in the
given state.
|
State |
TurnLeft.execute(Agent a,
State s)
Return the state that results from the agent turning left in the
given state.
|
State |
SuckDirt.execute(Agent a,
State s)
Return the state that results from the agent sucking up dirt in the
given state.
|
State |
ShutOff.execute(Agent a,
State s)
Return the state that results from the agent shutting off in the
given state.
|
State |
GoForward.execute(Agent a,
State s)
Return the state that results from the agent moving forward in the
given state.
|
Modifier and Type | Method and Description |
---|---|
State |
TurnRight.execute(Agent a,
State s)
Return the state that results from the agent turning right in the
given state.
|
State |
TurnLeft.execute(Agent a,
State s)
Return the state that results from the agent turning left in the
given state.
|
State |
SuckDirt.execute(Agent a,
State s)
Return the state that results from the agent sucking up dirt in the
given state.
|
State |
ShutOff.execute(Agent a,
State s)
Return the state that results from the agent shutting off in the
given state.
|
State |
GoForward.execute(Agent a,
State s)
Return the state that results from the agent moving forward in the
given state.
|
void |
VacuumWorld.start(State initState)
Starts the simulation.
|