public class POSAgentFactory
extends java.lang.Object
| Constructor and Description |
|---|
POSAgentFactory() |
| Modifier and Type | Method and Description |
|---|---|
static POSAgent |
createDefaultPOSAgent(SimulationContainer simulationContainer)
Creates a POS agent with default values independent of the configuration.
|
static java.util.Set<POSAgent> |
createPOSAgents(SimulationContainer simulationContainer,
java.util.Set<POSAgentConfiguration> configuration)
Method to create a number of POS agents with their respective POSAgentConfiguration within the simulation.
|
static java.util.Set<POSAgent> |
createPOSAgents(SimulationContainer simulationContainer,
java.util.Set<Product> simulationProducts,
java.util.Set<POSAgentConfiguration> configuration)
Method to create a number of POS agents with their respective POSAgentConfiguration within the simulation.
|
public static POSAgent createDefaultPOSAgent(SimulationContainer simulationContainer)
simulationContainer - The container the simulation the POS agent is to be part of takes place inpublic static java.util.Set<POSAgent> createPOSAgents(SimulationContainer simulationContainer, java.util.Set<Product> simulationProducts, java.util.Set<POSAgentConfiguration> configuration)
simulationContainer - The container the simulation the POS agent is to be part of takes place insimulationProducts - The products the POS agent is to be initialized withconfiguration - The configuration of the POS agents to be createdpublic static java.util.Set<POSAgent> createPOSAgents(SimulationContainer simulationContainer, java.util.Set<POSAgentConfiguration> configuration)
simulationContainer - The container the simulation the POS agent is to be part of takes place inconfiguration - The configuration of the POS agents to be created