se.liu.ida.critiquer.scenarios.standard
Class StandardAgentFactory

java.lang.Object
  extended by se.liu.ida.critiquer.scenarios.standard.StandardAgentFactory
All Implemented Interfaces:
AgentFactory

public class StandardAgentFactory
extends Object
implements AgentFactory


Constructor Summary
StandardAgentFactory()
           
 
Method Summary
 Agent getAgentStructure()
          Create a group structure, where the root agent is some abstract rescue unit, which has helicopters, ambulances and police units and homogeneous sub-units
 Agent getAgentStructure(boolean forceUpdate)
          Return a new organization structure, optionally overwriting a previous one
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardAgentFactory

public StandardAgentFactory()
Method Detail

getAgentStructure

public Agent getAgentStructure(boolean forceUpdate)
Return a new organization structure, optionally overwriting a previous one

Specified by:
getAgentStructure in interface AgentFactory
Parameters:
forceUpdate - true iff you want to override previous structures already created.
Returns:
a top level agent

getAgentStructure

public Agent getAgentStructure()
Description copied from interface: AgentFactory
Create a group structure, where the root agent is some abstract rescue unit, which has helicopters, ambulances and police units and homogeneous sub-units

Specified by:
getAgentStructure in interface AgentFactory