public class MarketIntroductionEvent extends ScriptedProductEvent
productConcernedassociatedSimulationContainer| 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).
|
getProductConcernedcompareTo, getScheduledForTimegetAssociatedSimulationContainerpublic 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 EventsystemTime - The current time of the system for execution