BoundedSubnetwork
constructor(label: String, capacity: Int, input: Connection<out ItemT, InputChannelT>, inner: (NodeBuilder<ItemT, InputChannelT>) -> NodeBuilder<ItemT, OutputChannelT>, output: OutputRef<ItemT, OutputChannelT>)
Parameters
ItemT
Type of entity to passing through the subnetwork.
InputChannelT
Type of channel, upper bound by ChannelType, the subnetwork takes in as input
OutputChannelT
Type of channel, upper bound by ChannelType, the subnetwork produces
capacity
Maximum capacity of the bounded subnetwork
input
Connection into the bounded subnetwork
inner
Internal contents of the subnetwork
output
Output reference for the subnetwork's output to be connected to