Package jline.api.sn
Class SnIsOiLoss
java.lang.Object
jline.api.sn.SnIsOiLoss
The isolated order-independent (OI) loss queue.
Port of matlab/src/api/sn/sn_is_oi_loss.m. True for an open
Source -> Queue -> Sink system (any number of classes, each visiting the
queue once) whose queue is an order-independent station (SchedStrategy.OI,
or PAS with an all-zero swap graph, with a service-rate function) holding a
finite total capacity or a finite per-class capacity for some open class,
with arrivals beyond it lost (DropStrategy.Drop, or the WaitingQueue default
of a class-cap-only station, which a Source-fed queue cannot honour and
every state-space solver drops). This is the regime of
Qsys_oi_loss (Berezner, Krzesinski 1996): the loss
queue is exact only in isolation, since truncation destroys
quasi-reversibility.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisFiniteCap(double v) True when a capacity read off sn.cap / sn.classcap is finite (the JAR writes none as MaxInt).static intstatic boolean
-
Method Details
-
snIsOiLoss
- Parameters:
sn- network structure- Returns:
- true if the model is an isolated OI loss queue
-
isFiniteCap
public static boolean isFiniteCap(double v) True when a capacity read off sn.cap / sn.classcap is finite (the JAR writes none as MaxInt). -
queueStation
- Parameters:
sn- network structure- Returns:
- the queue's station index (0-based) when the model is an isolated OI loss queue, -1 otherwise
-