Supply Chain Scope
Top-level DSL scope: items, root nodes, cost formulations, strategy.
Properties
Link copied to clipboard
Convenience accessor for TransportStrategySpec.NetworkTimeBased.
Link copied to clipboard
Convenience accessor for TransportStrategySpec.PerIHPTimeBased.
Link copied to clipboard
Convenience accessor for TransportStrategySpec.SharedCarrier.
Link copied to clipboard
How shipments move between nodes; defaults to sharedCarrier.
Functions
Link copied to clipboard
Allocate the next auto stream number (see supplyChain's autoStreamBase).
Link copied to clipboard
Attach a network-wide default-parameter cost formulation.
Link copied to clipboard
A root inventory holding point (parent = external supplier).
Link copied to clipboard
fun perNodeCost(name: String? = null, default: CostParamsSpec = CostParamsSpec(), overrides: Map<String, CostParamsSpec> = emptyMap())
Attach a per-node-override cost formulation (built last; needs D5 runtime).
Link copied to clipboard
fun star(rootName: String, leafNames: List<String>, transportTimeFromRoot: RVSpec? = null, rootConfig: NodeScope.() -> Unit = {}, leafConfig: NodeScope.(String) -> Unit = {}): NodeScope
A one-level star: a root IHP plus a leaf IHP per name in leafNames, each attached to the root with transportTimeFromRoot.