JacksonNet

scalation.simulation.queueingnet.JacksonNet
class JacksonNet(p: MatrixD, r: VectorD, mu: VectorD, var k: Array[Int])

The JacksonNet class is used to solve Jackson Queueing Network problems. Each node in the network represents a service station consisting of one queue and k_i servers. It is currently limited to networks of M/M/k queues.

Value parameters

k

the number of servers for each node

mu

the service rates for each node

p

the routing probabilities from node to node

r

the external arrival rates for each node

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def nQueue(j: Int): Double

Calculate the expected number in the queue at the j-th node.

Calculate the expected number in the queue at the j-th node.

Value parameters

j

the j-th node

Attributes

def nQueue_1(j: Int): Double

Calculate the expected number in the queue at the j-th node for an M/M/1 queue.

Calculate the expected number in the queue at the j-th node for an M/M/1 queue.

Value parameters

j

the j-th node

Attributes

def nQueue_k(j: Int): Double

Calculate the expected number in the queue at the j-th node for an M/M/k queue.

Calculate the expected number in the queue at the j-th node for an M/M/k queue.

Value parameters

j

the j-th node

Attributes

def pi_0(ro: Double, kk: Int): Double

Calculate the probability of a node being empty, based on its utilization factor and number of servers.

Calculate the probability of a node being empty, based on its utilization factor and number of servers.

Value parameters

kk

the number of servers

ro

the utilization factor

Attributes

def report(): Unit

Report the results.

Report the results.

Attributes

def view(): Unit

View/check intermediate results.

View/check intermediate results.

Attributes