Class BusyPeriodExample

java.lang.Object
jline.examples.java.advanced.BusyPeriodExample

public class BusyPeriodExample extends Object
Busy period of a subnetwork, exactly and by simulation. The busy period of order n for a set of stations is the time from the instant a job entering the set finds n-1 jobs in it up to the next instant when fewer than n remain. For large n it is a heavy-traffic period of the subnetwork, so the whole family describes how long congestion of a given depth persists. SolverNC.getAvgBusyPeriod(int[], int[]) evaluates the mean value analysis of H. Daduna, "Busy Periods for Subnetworks in Stochastic Networks: Mean Value Analysis", J. ACM 35(3), 1988, from the normalizing constants of the subnetwork and of its complement. SolverLDES.getAvgBusyPeriod(int[], int, int) measures the same quantity along the simulated sample path, for a set of stations and optionally for a single class.
  • Constructor Details

    • BusyPeriodExample

      public BusyPeriodExample()
  • Method Details

    • busyp_subnetwork

      public static void busyp_subnetwork()
      Mean busy period of order n for a subnetwork, exactly and by simulation (busyp_subnetwork.m).

      Station indexes are ZERO-based here and one-based in the reference, so the subnetwork [0, 1] below is the reference's [1 2].

    • main

      public static void main(String[] args)