|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Agent | |
---|---|
agent | |
vacworld |
Uses of Agent in agent |
---|
Methods in agent with parameters of type Agent | |
---|---|
abstract void |
Environment.addAgent(Agent agent)
Add a new agent to the environment. |
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. |
abstract int |
Environment.getPerformanceMeasure(Agent a)
Return the performance measure of a particular agent in the current environment. |
Constructors in agent with parameters of type Agent | |
---|---|
Percept(State s,
Agent a)
Construct a percept for a state from the point of view of a particular agent. |
Uses of Agent in vacworld |
---|
Methods in vacworld with parameters of type Agent | |
---|---|
void |
VacuumWorld.addAgent(Agent agent)
Add a new agent to the environment. |
State |
SuckDirt.execute(Agent a,
State s)
Return the state that results from the agent sucking up dirt 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. |
State |
TurnLeft.execute(Agent a,
State s)
Return the state that results from the agent turning left 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 |
TurnRight.execute(Agent a,
State s)
Return the state that results from the agent turning right in the given state. |
int |
VacuumWorld.getPerformanceMeasure(Agent ag)
Returns the performance measure of the agent in the current environment. |
Constructors in vacworld with parameters of type Agent | |
---|---|
VacPercept(VacuumState state,
Agent agent)
Construct a vacuum world percept. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |