massim.gridsimulations
Class SimulationAgentParameter

java.lang.Object
  extended by massim.gridsimulations.SimulationAgentParameter
All Implemented Interfaces:
AgentParameter, TeamAgentParameter
Direct Known Subclasses:
GraphSimulationAgentParameter, GridSimulationAgentParameter, GridSimulationAgentParameter, GridSimulationAgentParameter, GridSimulationAgentParameter, GridSimulationAgentParameter

public class SimulationAgentParameter
extends java.lang.Object
implements TeamAgentParameter

This class represents the AgentParameter.


Field Summary
 java.lang.Object team
           
 
Constructor Summary
SimulationAgentParameter()
           
 
Method Summary
 java.lang.Object getTeam()
          Returns a team identifier.
 void setTeam(java.lang.Object team)
          Sets the team identifier.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

team

public java.lang.Object team
Constructor Detail

SimulationAgentParameter

public SimulationAgentParameter()
Method Detail

getTeam

public java.lang.Object getTeam()
Description copied from interface: TeamAgentParameter
Returns a team identifier. This identifier will be used to create an appropriate agent. Note that Object.equals might be used while doing that to compare it to some other identifier. Returning null means that the team doesn't matter.

Specified by:
getTeam in interface TeamAgentParameter
Returns:
team identifier.

setTeam

public void setTeam(java.lang.Object team)
Description copied from interface: TeamAgentParameter
Sets the team identifier.

Specified by:
setTeam in interface TeamAgentParameter


Copyright © 2011. All Rights Reserved.