public class MarketIntroductionEvent extends ScriptedProductEvent
productConcerned
associatedSimulationContainer
Constructor and Description |
---|
MarketIntroductionEvent(SimulationContainer simulationContainer,
Product productToBeIntroduced,
double scheduledForTime)
Represents the event that a product enters the market.
|
Modifier and Type | Method and Description |
---|---|
void |
processEvent(double systemTime)
Processing a market introduction event merely activates the product
(since products have to be instantiated at the beginning of the simulation).
|
getProductConcerned
compareTo, getScheduledForTime
getAssociatedSimulationContainer
public MarketIntroductionEvent(SimulationContainer simulationContainer, Product productToBeIntroduced, double scheduledForTime)
simulationContainer
- The container in which the simulation runsproductToBeIntroduced
- The product that is introduced into the marketscheduledForTime
- The time the product enters the market (the event is executedpublic void processEvent(double systemTime)
processEvent
in class Event
systemTime
- The current time of the system for execution