public class ProductConfiguration
extends java.lang.Object
Constructor and Description |
---|
ProductConfiguration(java.util.Set<ProductGroup> productGroups,
java.util.List<MarketIntroductionEventDescription> marketIntroductionEvents,
java.util.List<ProductDiscontinuationEventDescription> productDiscontinuationEvents,
java.util.Map<ProductGroup,java.lang.Integer> noProductsPerGroup)
The configuration consists of the productGroups used in the simulation,
the events describing when products enter (marketIntroductionEvents) or (productDiscontinuationEvents)
leave the market, and the noProductsPerGroup that are stochastically instantiated.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<MarketIntroductionEventDescription> |
getMarketIntroductionEvents() |
java.util.Map<ProductGroup,java.lang.Integer> |
getNoProductsPerGroup() |
java.util.List<ProductDiscontinuationEventDescription> |
getProductDiscontinuationEvents() |
java.util.Set<ProductGroup> |
getProductGroups() |
public ProductConfiguration(java.util.Set<ProductGroup> productGroups, java.util.List<MarketIntroductionEventDescription> marketIntroductionEvents, java.util.List<ProductDiscontinuationEventDescription> productDiscontinuationEvents, java.util.Map<ProductGroup,java.lang.Integer> noProductsPerGroup)
productGroups
- The ProductGroups that are used in the simulationmarketIntroductionEvents
- The events describing the introduction of products to the marketproductDiscontinuationEvents
- The events describing the discontinuation of products to the marketnoProductsPerGroup
- The number of products that are stochastically instantiated in every product grouppublic java.util.Map<ProductGroup,java.lang.Integer> getNoProductsPerGroup()
public java.util.Set<ProductGroup> getProductGroups()
public java.util.List<MarketIntroductionEventDescription> getMarketIntroductionEvents()
public java.util.List<ProductDiscontinuationEventDescription> getProductDiscontinuationEvents()