logist.agent
Interface AgentInfo

All Superinterfaces:
AgentStatistics, java.lang.Comparable<AgentStatistics>

public interface AgentInfo
extends AgentStatistics

Collection of useful information about an agent.

A get-prefix indicates that the return value of the method may change over time.

Author:
Robin Steiger

Method Summary
 TaskSet getTasks()
          The tasks that the agent has accepted, but not yet picked up or delivered.
 int id()
          A unique id in the range [0,numAgents).
 java.util.List<VehicleInfo> vehicles()
          The vehicles controlled by the agent
 
Methods inherited from interface logist.agent.AgentStatistics
getTotalCost, getTotalDistance, getTotalDistanceUnits, getTotalProfit, getTotalReward, getTotalTasks, name
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Method Detail

id

int id()
A unique id in the range [0,numAgents). The id of each agent corresponds to the index of its bid in the table received by AuctionBehavior.auctionResult(Task,int,Long[])


vehicles

java.util.List<VehicleInfo> vehicles()
The vehicles controlled by the agent


getTasks

TaskSet getTasks()
The tasks that the agent has accepted, but not yet picked up or delivered.