logist.agent
Interface AgentStatistics

All Superinterfaces:
java.lang.Comparable<AgentStatistics>
All Known Subinterfaces:
Agent

public interface AgentStatistics
extends java.lang.Comparable<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

name

java.lang.String name()
The name of the agent


getTotalDistanceUnits

long getTotalDistanceUnits()
The total distance (in units) traveled by all vehicles.

See Also:
Measures

getTotalDistance

double getTotalDistance()
The total distance (in km) traveled by all vehicles


getTotalCost

long getTotalCost()
The total cost of all vehicles


getTotalReward

long getTotalReward()
The total reward for all delivered tasks


getTotalProfit

long getTotalProfit()
The total profit of the agent, calculated as (total reward - total cost)


getTotalTasks

int getTotalTasks()
The total number of tasks that are handled by this agent