Package-level declarations
Types
Link copied to clipboard
object RandomContext
Controls and provides seeds for distributions we sample data from during the running of a scenario.
Functions
Link copied to clipboard
fun <ItemT, InputChannelT : ChannelType<InputChannelT>, OutputChannelT : ChannelType<OutputChannelT>> NodeBuilder<ItemT, InputChannelT>.thenSubnetwork(networkName: String = "Bounded Subnetwork", capacity: Int, inner: (NodeBuilder<ItemT, InputChannelT>) -> NodeBuilder<ItemT, OutputChannelT>): RegularNodeBuilder<BoundedSubnetwork<ItemT, InputChannelT, OutputChannelT>, ItemT, OutputChannelT>
Attaches a bounded subnetwork defined in inner to the current NodeBuilder chain. The output of the subnetwork can then be connected to downstream nodes using the DSL system as well.
Link copied to clipboard
Converts to a rate with appropriate units
Link copied to clipboard
Link copied to clipboard
Converts duration to the string with the closest and most appropriate unit
Link copied to clipboard
Walks downstream from this OutputChannel, and returns a sequence of the following NodeGroup instances that exist downstream of this channel.
Link copied to clipboard
Walks upstream from this InputChannel, and returns a sequence of the following NodeGroup instances that exist upstream of this channel.