|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Thread | +--simulator.Agent | +--simulator.TransportAgent
this is the agent that reppresent the behavior of robot
Field Summary | |
protected simulator.Queue[] |
agentQueue
|
private Position |
goal
|
protected int |
I
|
protected int |
N
|
protected java.lang.String |
nameAg
|
private double |
rot
|
private Position |
startPos
|
private double |
Vmax
|
Fields inherited from class java.lang.Thread |
contextClassLoader,
daemon,
eetop,
group,
inheritedAccessControlContext,
MAX_PRIORITY,
MIN_PRIORITY,
name,
NORM_PRIORITY,
priority,
single_step,
stillborn,
stopThreadPermission,
target,
threadInitNumber,
threadQ,
values |
Constructor Summary | |
TransportAgent(int i,
java.lang.String name,
simulator.Queue[] agentQueue,
Position goal,
double rot,
Position startPos)
|
Method Summary | |
void |
run()
Execute a task of one agent robots |
Methods inherited from class java.lang.Thread |
|
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected int I
protected int N
protected simulator.Queue[] agentQueue
protected java.lang.String nameAg
private Position goal
private Position startPos
private double rot
private double Vmax
Constructor Detail |
public TransportAgent(int i, java.lang.String name, simulator.Queue[] agentQueue, Position goal, double rot, Position startPos)
Method Detail |
public void run()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |