logist.simulation
Class Manager
java.lang.Object
logist.simulation.Manager
- All Implemented Interfaces:
- Context
public class Manager
- extends java.lang.Object
- implements Context
Does every part of the simulation except the simulation of actions. Assigns
agents to companies, generates tasks and does the auctioning.
- Author:
- Robin Steiger
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Manager
public Manager(LogistSettings settings,
Topology topology,
java.util.List<AgentImpl> agents,
java.util.List<Company> companies,
DefaultTaskDistribution taskDistribution)
run
public void run()
close
public void close()
- Specified by:
close in interface Context
getTaskDistribution
public TaskDistribution getTaskDistribution()
- Specified by:
getTaskDistribution in interface Context
getTopology
public Topology getTopology()
- Specified by:
getTopology in interface Context
getSettings
public LogistSettings getSettings()
- Specified by:
getSettings in interface Context