Queueing Network Model Builder
class QueueingNetworkModelBuilder(spec: QueueingNetworkSpec, predicates: Map<String, QObjectPredicate> = emptyMap(), childFactories: Map<String, ChildFactoryIfc> = emptyMap(), childCounts: Map<String, ChildCountIfc> = emptyMap(), markings: Map<String, MarkingHookIfc> = emptyMap()) : ModelBuilderIfc(source)
A ModelBuilderIfc that builds a runnable Model containing a single ksl.modeling.station.StationNetwork from a QueueingNetworkSpec. This makes a serialized (e.g., TOML) network a portable model source that plugs into the app/config layer (run configuration, scenarios, optimization).
Parameters
spec
the network specification to build
predicates
hooks for RoutingSpec.ByCondition cases; unknown names fail loudly
child Factories
hooks for ForkStationSpec.childFactory names
child Counts
hooks for ForkStationSpec.childCount names
Constructors
Link copied to clipboard
constructor(spec: QueueingNetworkSpec, predicates: Map<String, QObjectPredicate> = emptyMap(), childFactories: Map<String, ChildFactoryIfc> = emptyMap(), childCounts: Map<String, ChildCountIfc> = emptyMap(), markings: Map<String, MarkingHookIfc> = emptyMap())