Default Order Generator
open class DefaultOrderGenerator @JvmOverloads constructor(supplyChainModel: SupplyChainModel, timeUntilFirstRV: RVariableIfc, timeBtwEventsRV: RVariableIfc, maxNumberOfEvents: Long = Long.MAX_VALUE, timeOfTheLastEvent: Double = Double.POSITIVE_INFINITY, name: String? = null) : OrderGenerator(source)
Convenience subclass of OrderGenerator that bundles a built-in RandomOrderCreator. Item types are registered via the generator's own addItemTypeDistribution rather than configuring the creator separately.
See sc.inventorylayer.DefaultOrderGenerator
Constructors
Link copied to clipboard
constructor(supplyChainModel: SupplyChainModel, timeUntilFirstRV: RVariableIfc, timeBtwEventsRV: RVariableIfc, maxNumberOfEvents: Long = Long.MAX_VALUE, timeOfTheLastEvent: Double = Double.POSITIVE_INFINITY, name: String? = null)
Properties
Link copied to clipboard
The built-in RandomOrderCreator.
Functions
Link copied to clipboard
fun addItemTypeDistribution(type: ItemType, includeDistribution: RVariableIfc = ConstantRV.ONE, amountDistribution: RVariableIfc = ConstantRV.ONE)
Delegates to randomOrderCreator.