DemandLoadFormingRuleIfc

Strategy hook called by DemandLoadBuilder when its default DemandLoadBuilder.LoadFormingOption is RULE. Implementations decide when and how to drain the demand queue into a SupplyChainModel.DemandLoad.

See sc.transportlayer.DemandLoadFormingRuleIfc

Functions

Link copied to clipboard
abstract fun formLoad(builder: DemandLoadBuilder): Boolean

Inspect builder and form one or more loads if appropriate. Return true if a load was placed in the builder's load queue.