Package jline.api.pfqn
Class Pfqn_cftp
java.lang.Object
jline.api.pfqn.Pfqn_cftp
Perfect/approximate stationary state sampler for closed single-class
multiserver product-form networks.
Draws states exactly distributed according to the product-form stationary distribution of a closed single-class Jackson network with multiple servers, using monotone Coupling From The Past (Propp-Wilson) as proposed by Kijima and Matsui.
Reference: S. Kijima and T. Matsui, "Approximate/Perfect Samplers for Closed Jackson Networks", Proc. Winter Simulation Conference, 2005.
- Since:
- LINE 3.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classResult holder mirroring the MATLAB [Q,X,T] return of pfqn_cftp. -
Method Summary
Modifier and TypeMethodDescriptionstatic Pfqn_cftp.PfqnCftpReturnExact (perfect) stationary state sampling with default single servers, one sample, and the 'cftp' method.static Pfqn_cftp.PfqnCftpReturnExact (perfect) or approximate stationary state sampling for closed single-class multiserver product-form networks via monotone Coupling From The Past.
-
Method Details
-
pfqn_cftp
Exact (perfect) stationary state sampling with default single servers, one sample, and the 'cftp' method.- Parameters:
L- service demands (M entries), L(i) = theta_i/mu_iN- total closed population K- Returns:
- the [Q,X,T] result
-
pfqn_cftp
public static Pfqn_cftp.PfqnCftpReturn pfqn_cftp(Matrix L, int N, Matrix S, int nsamples, String method) Exact (perfect) or approximate stationary state sampling for closed single-class multiserver product-form networks via monotone Coupling From The Past.- Parameters:
L- service demands (M entries), L(i) = theta_i/mu_iN- total closed population KS- servers per station (M entries), Double.POSITIVE_INFINITY for infinite server; null defaults to one server eachnsamples- number of independent samples to drawmethod- 'cftp' (exact, default) or 'approx' (rapidly mixing M_A)- Returns:
- the [Q,X,T] result
-