Package jline.examples.java.basic
Class OpenNHPPModel
java.lang.Object
jline.examples.java.basic.OpenNHPPModel
Open queueing network with an NHPP (cyclic) arrival process.
NHPP is a non-homogeneous Poisson process with a piecewise-constant intensity: segment i covers [breakpoints[i], breakpoints[i+1]) and carries rate rates[i]. With cyclic=true the schedule repeats with period breakpoints[n]-breakpoints[0], giving a cyclic Poisson process. Only the LDES simulation engine honours the exact schedule; every analytical solver rejects a model using it via the standard unsupported-feature check.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
OpenNHPPModel
public OpenNHPPModel()
-
-
Method Details
-
oqn_nhpp
Open M/M/1 whose Source uses a cyclic NHPP arrival stream. Rates 2, 8, 4 are held for 3, 1, 2 time units respectively, repeating cyclically, so the breakpoints are cumsum([0, 3, 1, 2]) = [0, 3, 4, 6].- Returns:
- configured open network with an NHPP arrival process
-
main
Solves the NHPP model with the LDES simulation engine and prints the average performance table.- Parameters:
args- command line arguments (not used)- Throws:
Exception- if the solver encounters an error
-