BuildResult

data class BuildResult(val supplyChainModel: SupplyChainModel, val network: MultiEchelonNetwork, val itemsByName: Map<String, ItemType>, val nodesByName: Map<String, NetworkNodeIfc>)(source)

The result of SupplyChainBuilder.build: the running MultiEchelonNetwork plus the handles a caller needs to post-mutate it (the v1 escape hatch for custom carriers, backlog policies, delivery endpoints, RULE formation, and custom cost formulations).

Parameters

supplyChainModel

the SupplyChainModel created to hold the network

network

the instantiated, ready-to-simulate network

itemsByName

built ItemTypes keyed by ItemSpec.name

nodesByName

built nodes keyed by NodeSpec.name

Constructors

Link copied to clipboard
constructor(supplyChainModel: SupplyChainModel, network: MultiEchelonNetwork, itemsByName: Map<String, ItemType>, nodesByName: Map<String, NetworkNodeIfc>)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard