se.sics.tasim.sim
Class SimulationManager
java.lang.Object
se.sics.tasim.sim.SimulationManager
public abstract class SimulationManager
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimulationManager
protected SimulationManager()
getName
protected java.lang.String getName()
getConfig
protected ConfigManager getConfig()
loadSimulationConfig
protected ConfigManager loadSimulationConfig(java.lang.String simulationType)
checkSimulationType
protected void checkSimulationType(java.lang.String simulationType)
registerType
protected void registerType(java.lang.String type)
- Register the specified simulation type.
- Parameters:
type
- the simulation type to register
createSimulationInfo
protected SimulationInfo createSimulationInfo(java.lang.String type,
java.lang.String params,
int length)
init
protected abstract void init()
- Initializes this simulation manager. Recommended actions is to register
all supported simulation types.
createSimulationInfo
public abstract SimulationInfo createSimulationInfo(java.lang.String type,
java.lang.String params)
join
public abstract boolean join(int agent,
int role,
SimulationInfo info)
getSimulationRoleName
public abstract java.lang.String getSimulationRoleName(java.lang.String type,
int simRole)
getSimulationRoleID
public abstract int getSimulationRoleID(java.lang.String type,
java.lang.String simRole)
getSimulationLength
public abstract int getSimulationLength(java.lang.String type,
java.lang.String params)
createSimulation
public abstract Simulation createSimulation(SimulationInfo info)
Copyright © 2007-2009 Association for Trading Agent Research. All Rights Reserved.