Class Solver_nc_oi

java.lang.Object
jline.solvers.nc.handlers.Solver_nc_oi

public final class Solver_nc_oi extends Object
Exact normalizing-constant analysis of a closed queueing network that mixes order-independent (OI) stations with ordinary BCMP product-form stations. Port of matlab/src/solvers/NC/solver_nc_oi_analyzer.m. Supported stations: OI (SchedStrategy.OI / PAS with empty swap graph), analyzed by the balanced-fairness rank rate; and any BCMP product-form station (infinite server / delay, PS, LCFS-PR, SIRO, class-independent-rate FCFS, single- or multi-server), analyzed by the load-dependent BCMP weight table W_i(n) = (sum n)!/prod(n_r!) * prod_r D_{i,r}^{n_r} / prod_k min(k,c). The full-network normalizing-constant table G(P) is assembled by convolution (OI + delay via Pfqn_ncoi, then each BCMP queue folded in); the exact per-class mean queue length at any station follows from the OI functional- server (FNC) identity Pfqn_oi_fnc: E[n_{i,r}] = G^{+}_{i,r}/G - 1. General per-class visits at OI stations are supported via a v-weighted balanced-fairness balance Phi^v(n)=(1/mu(n)) sum_r v_r Phi^v(n-e_r).
  • Method Details

    • nc_is_oi_model

      public static boolean nc_is_oi_model(NetworkStruct sn)
      True when the model is a closed, open or mixed queueing network with at least one OI station and every other station a BCMP product-form station: infinite server (delay), PS, LCFS-PR, SIRO or class-independent-rate FCFS (plus the Source of an open or mixed model). Such models are solved exactly by solver_nc_oi(jline.lang.NetworkStruct, jline.solvers.SolverOptions) (closed: Pfqn_ncoi; open: Solver_oi_open_analyzer and Pfqn_oi_open; mixed: Solver_nc_oi_mixed and Pfqn_oi_mixed). The OI requirement keeps pure-BCMP networks on the standard (faster) paths. Port of matlab/src/solvers/NC/nc_is_oi_model.m.
    • nc_oi_refusal

      public static String nc_oi_refusal(NetworkStruct sn)
      May the exact order-independent route run on this model? Empty when it may, otherwise the reason it may not, in the words the analyzer refuses with. Port of the 'oi' route of matlab/src/solvers/NC/nc_oi_refusal.m (the 'pas' route of the importance sampler keeps its own checks in Solver_nc_pas_is). Asked by the closed, open and mixed analyzers, by SolverNC's method refusal and by SolverMVA's OI gate, so the report and the run cannot disagree.

      The rank rate of an OI station is a function of the RAW classes present, so a chain that switches class has no rank rate; a finite buffer at an open OI station makes it a loss queue, which is not quasi-reversible, so the open product form would silently ignore the cap (only the total cap and the OPEN classes' caps count; the one exception is the isolated loss queue of SnIsOiLoss); and every BCMP station table is built from the server count alone, so a Fork or a load-, class- or joint-dependent rate would be dropped.

    • rankRate

      public static ToDoubleFunction<int[]> rankRate(NetworkStruct sn, int ist)
      OI rank rate on a per-class count vector, evaluated on the canonical 0-based microstate holding n_r copies of class r. Shared by the closed, open and mixed analyzers.
    • solver_nc_oi

      public static SolverNC.SolverNCReturn solver_nc_oi(NetworkStruct sn, SolverOptions options)