NodeBuilder
Interface for objects that can be built upon by the DSL functions.
Inheritors
Functions
Attaches a buffered queue (of limited max capacity) into the builder chain, which can then be continued after this call. If a bounded queue reaches maximum capacity, the node will not accept anymore pushes, or will not pull from the upstream node, until something has left the bounded queue
Attaches a dead end node and terminates the builder chain. This represents a node whose push input channel is always closed, or never pulls.
Attaches a delay node to the builder chain, applying a delay to all vehicles passing through the node. Vehicles that has passed through the delay node are pushed to the next node in the chain.
Attaches a fork node to the builder chain, which splits the current builder chain to numLanes parallel lanes, whose behaviour is determined by laneAction. The subsequent lanes will commence with a pull input connection from the fork.
Attaches a fork node to the builder chain, which splits the current builder chain to numLanes parallel lanes, whose behaviour is determined by laneAction. The subsequent lanes will commence with a push input connection from the fork.
Attaches a loss sink, a special loss node that is hidden from certain metrics, to be used to simulate loss / dropped items
Attaches a match node into the builder chain, which can then be continued after this call.
Attaches a pump node to the builder chain, converting the builder chain from a pull output to a push output.
Attaches a fork node to the builder chain, which splits the current builder chain to numLanes parallel lanes, whose behaviour is determined by laneAction. The subsequent lanes will commence with a push input connection from the fork.
Attaches an unbuffered queue (infinite capacity) into the builder chain, which can then be continued after this call.
Attaches a service node into the builder chain, which can then be continued after this call.
Attaches a split node into the builder chain. Then the different pathways for the splitter node outputs are defined. Split node simulates a location where one item splits into two items, such as
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.