Package jline.api
Class NPFQN
java.lang.Object
jline.api.NPFQN
APIs for evaluating non-product-form queueing networks.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Ret.npfqnNonexpApprox
npfqn_nonexp_approx
(String method, NetworkStruct sn, Matrix ST, Matrix V, Matrix SCV, Matrix Tin, Matrix Uin, Matrix gamma, Matrix nservers) Approximates non-product-form queueing networks using the specified method.static MatrixCell
npfqn_traffic_merge
(Map<Integer, MatrixCell> MMAPa, String config_merge_, String config_compress_) Merges MMAP traffic flows with specified configurations.static MatrixCell
npfqn_traffic_merge_cs
(Map<Integer, MatrixCell> MMAPs, Matrix prob) Merges MMAP traffic flows with class switching using default parameters.static MatrixCell
npfqn_traffic_merge_cs
(Map<Integer, MatrixCell> MMAPs, Matrix prob, String config) Merges MMAP traffic flows with class switching.static Map<Integer,
MatrixCell> npfqn_traffic_split_cs
(MatrixCell MMAP, Matrix P) Splits MMAP traffic flows with class switching.
-
Constructor Details
-
NPFQN
public NPFQN()
-
-
Method Details
-
npfqn_traffic_merge
public static MatrixCell npfqn_traffic_merge(Map<Integer, MatrixCell> MMAPa, String config_merge_, String config_compress_) Merges MMAP traffic flows with specified configurations.- Parameters:
MMAPa
- Map of MMAP traffic flows to be mergedconfig_merge_
- Configuration for merging ("super", "mixture", "interpos")config_compress_
- Configuration for compressing (currently unused)- Returns:
- Merged and normalized MMAP traffic flow
- Throws:
RuntimeException
- If unsupported configuration for merge is provided
-
npfqn_traffic_merge_cs
Merges MMAP traffic flows with class switching using default parameters.- Parameters:
MMAPs
- Map of MMAP traffic flowsprob
- Probability matrix for class switching- Returns:
- Merged and normalized MMAP traffic flow
-
npfqn_traffic_merge_cs
public static MatrixCell npfqn_traffic_merge_cs(Map<Integer, MatrixCell> MMAPs, Matrix prob, String config) Merges MMAP traffic flows with class switching.- Parameters:
MMAPs
- Map of MMAP traffic flowsprob
- Probability matrix for class switchingconfig
- Configuration for merging ("default", "super")- Returns:
- Merged and normalized MMAP traffic flow
-
npfqn_traffic_split_cs
Splits MMAP traffic flows with class switching.- Parameters:
MMAP
- MMAP to be splitP
- Class switching matrix- Returns:
- Map of split MMAPs
-
npfqn_nonexp_approx
public static Ret.npfqnNonexpApprox npfqn_nonexp_approx(String method, NetworkStruct sn, Matrix ST, Matrix V, Matrix SCV, Matrix Tin, Matrix Uin, Matrix gamma, Matrix nservers) Approximates non-product-form queueing networks using the specified method.- Parameters:
method
- Approximation method ("default", "none", "hmva", "interp")sn
- Network structureST
- Service time matrixV
- Visit ratios matrixSCV
- Squared coefficient of variation matrixTin
- Initial throughput matrixUin
- Initial utilization matrixgamma
- Gamma matrix for correctionnservers
- Number of servers matrix- Returns:
- Result containing updated matrices and additional parameters
-