Package | Description |
---|---|
agent | |
pacworld |
Modifier and Type | Field and Description |
---|---|
protected State |
Environment.state
The current state of the environment.
|
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 |
PackageState
Represents a state in the package world.
|
Modifier and Type | Method and Description |
---|---|
State |
Say.execute(Agent agent,
State s)
Return the state that results from the agent sending a message.
|
State |
Pickup.execute(Agent agent,
State s)
Return the state that results from the agent picking up a package in
the given direction.
|
State |
Move.execute(Agent agent,
State s)
Return the state that results from the agent moving in the given direction
in the given state.
|
State |
Idle.execute(Agent agent,
State s)
Return the state that results from the agent doing nothing.
|
State |
Dropoff.execute(Agent a,
State s)
Return the state that results from the agent dropping a package in the
given direction in the given state.
|
Modifier and Type | Method and Description |
---|---|
State |
Say.execute(Agent agent,
State s)
Return the state that results from the agent sending a message.
|
State |
Pickup.execute(Agent agent,
State s)
Return the state that results from the agent picking up a package in
the given direction.
|
State |
Move.execute(Agent agent,
State s)
Return the state that results from the agent moving in the given direction
in the given state.
|
State |
Idle.execute(Agent agent,
State s)
Return the state that results from the agent doing nothing.
|
State |
Dropoff.execute(Agent a,
State s)
Return the state that results from the agent dropping a package in the
given direction in the given state.
|
void |
PackageWorld.start(State initState)
Run the simulation starting from a given state.
|