Node

abstract class Node(label: String, val incoming: List<InputChannel<*, *>>, val outgoing: List<OutputChannel<*, *>>) : NodeGroup

Base class for nodes in the simulation network.

A node is a processing element that receives entities through input channels and sends them through output channels. Nodes form the basic building blocks of a queueing network.

Inheritors

Constructors

Link copied to clipboard
constructor(label: String, incoming: List<InputChannel<*, *>>, outgoing: List<OutputChannel<*, *>>)

Properties

Link copied to clipboard
override val incoming: List<InputChannel<*, *>>

input channels connected to this node

Link copied to clipboard

human-readable name for this node group

Link copied to clipboard
override val outgoing: List<OutputChannel<*, *>>

output channels connected to this node

Link copied to clipboard

The parent node group, if this group was created within another group's scope.

Link copied to clipboard

Stack trace at the point this node group was created.

Functions

Link copied to clipboard
context(_: Simulator)
open fun onStart()

Called when the simulation starts, before the first event is processed.

Link copied to clipboard

Returns the display properties for this object.

Link copied to clipboard
open override fun toString(): String

Prints the label of the NodeGroup