massim.framework.simulation
Class AbstractSimulationAgent

java.lang.Object
  extended by massim.framework.simulation.AbstractSimulationAgent
All Implemented Interfaces:
SimulationAgent
Direct Known Subclasses:
GraphSimulationAgent, SimulationAgentExtend

public abstract class AbstractSimulationAgent
extends java.lang.Object
implements SimulationAgent


Constructor Summary
AbstractSimulationAgent()
           
 
Method Summary
 SimulationAgent getAgent()
           
 void setAgent(SimulationAgent agent)
          Assign a low level agent to this higher level agent, to interact with.
 void setAgentParameter(AgentParameter agentpar)
          Set agent creation parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface massim.framework.simulation.SimulationAgent
createFinalPerception, createInitialPerception, createPerception, getAgentState, processAction
 

Constructor Detail

AbstractSimulationAgent

public AbstractSimulationAgent()
Method Detail

setAgent

public void setAgent(SimulationAgent agent)
Description copied from interface: SimulationAgent
Assign a low level agent to this higher level agent, to interact with.

Specified by:
setAgent in interface SimulationAgent
Parameters:
agent - low level agent to use

getAgent

public SimulationAgent getAgent()
Specified by:
getAgent in interface SimulationAgent

setAgentParameter

public void setAgentParameter(AgentParameter agentpar)
Description copied from interface: SimulationAgent
Set agent creation parameter. Implementating this method is useful to know what exact properties this agent might have.

Specified by:
setAgentParameter in interface SimulationAgent
Parameters:
agentpar - agent parameters to use


Copyright © 2011. All Rights Reserved.