|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AgentStatistics
| Method Summary | |
|---|---|
long |
getTotalCost()
The total cost of all vehicles |
double |
getTotalDistance()
The total distance (in km) traveled by all vehicles |
long |
getTotalDistanceUnits()
The total distance (in units) traveled by all vehicles. |
long |
getTotalProfit()
The total profit of the agent, calculated as (total reward - total cost) |
long |
getTotalReward()
The total reward for all delivered tasks |
int |
getTotalTasks()
The total number of tasks that are handled by this agent |
java.lang.String |
name()
The name of the agent |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
java.lang.String name()
long getTotalDistanceUnits()
Measuresdouble getTotalDistance()
long getTotalCost()
long getTotalReward()
long getTotalProfit()
int getTotalTasks()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||