Class NetworkSolver
-
- All Implemented Interfaces:
public abstract class NetworkSolver extends Solver
Abstract base class for solvers applicable to queueing network models.
This class provides the core functionality for analyzing queueing networks using various solution algorithms. It manages performance metrics computation including queue lengths, utilizations, response times, throughputs, and arrival rates at both steady-state and transient conditions.
The solver operates on Network models and produces results through various table formats for different levels of aggregation (station-level, node-level, chain-level).
-
-
Field Summary
Fields Modifier and Type Field Description public Networkmodelpublic NetworkStructsnpublic SolverAvgHandlesavgHandlespublic SolverTranHandlestranHandlespublic Modelmodelpublic Stringnamepublic SolverOptionsoptionspublic SolverResultresultpublic booleanenableCheckspublic Randomrandom
-
Constructor Summary
Constructors Constructor Description NetworkSolver(Network model, String name, SolverOptions options)Constructs a NetworkSolver with the specified model, name, and options. NetworkSolver(Network model, String name)Constructs a NetworkSolver with the specified model and name using default options.
-
Method Summary
Modifier and Type Method Description static List<NetworkSolver>getAllSolvers(Network model)Returns a list containing instances of all available network solvers for the given model. SolverResultavg()SolverResultavg(SolverAvgHandles avgHandles)SolverResultavg(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A)MatrixavgArvR()MatrixavgArvRChain()AvgHandleavgArvRHandles()SolverResultavgChain()NetworkAvgChainTableavgChainTable()NetworkAvgChainTableavgChainTable(SolverAvgHandles avgHandles)NetworkAvgChainTableavgChainTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A)NetworkAvgChainTableavgChainTable(boolean keepDisabled)NetworkAvgChainTableavgChainTable(SolverAvgHandles avgHandles, boolean keepDisabled)NetworkAvgChainTableavgChainTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A, boolean keepDisabled)SolverAvgHandlesavgHandles()SolverResultavgNode()MatrixavgNodeArvRChain()SolverResultavgNodeChain()NetworkAvgNodeChainTableavgNodeChainTable()NetworkAvgNodeChainTableavgNodeChainTable(SolverAvgHandles avgHandles)NetworkAvgNodeChainTableavgNodeChainTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A)NetworkAvgNodeChainTableavgNodeChainTable(boolean keepDisabled)NetworkAvgNodeChainTableavgNodeChainTable(SolverAvgHandles avgHandles, boolean keepDisabled)NetworkAvgNodeChainTableavgNodeChainTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A, boolean keepDisabled)MatrixavgNodeQLenChain()MatrixavgNodeResidTChain()MatrixavgNodeRespTChain()NetworkAvgNodeTableavgNodeTable()NetworkAvgNodeTableavgNodeTable(SolverAvgHandles avgHandles)NetworkAvgNodeTableavgNodeTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A)NetworkAvgNodeTableavgNodeTable(boolean keepDisabled)NetworkAvgNodeTableavgNodeTable(SolverAvgHandles avgHandles, boolean keepDisabled)NetworkAvgNodeTableavgNodeTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A, boolean keepDisabled)MatrixavgNodeTputChain()MatrixavgNodeUtilChain()MatrixavgQLen()MatrixavgQLenChain()AvgHandleavgQLenHandles()MatrixavgResidT()MatrixavgResidTChain()AvgHandleavgResidTHandles()MatrixavgRespT()MatrixavgRespTChain()AvgHandleavgRespTHandles()voidavgSys()MatrixavgSysRespT()NetworkAvgSysTableavgSysTable()NetworkAvgSysTableavgSysTable(SolverAvgHandles avgHandles)NetworkAvgSysTableavgSysTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A)MatrixavgSysTput()NetworkAvgTableavgTable()NetworkAvgTableavgTable(SolverAvgHandles avgHandles)NetworkAvgTableavgTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A)NetworkAvgTableavgTable(boolean keepDisabled)NetworkAvgTableavgTable(SolverAvgHandles avgHandles, boolean keepDisabled)NetworkAvgTableavgTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A, boolean keepDisabled)MatrixavgTput()MatrixavgTputChain()AvgHandleavgTputHandles()MatrixavgUtil()MatrixavgUtilChain()AvgHandleavgUtilHandles()MatrixavgWaitT()Ret.DistributionResultcdfPassT()Ret.DistributionResultcdfPassT(AvgHandle R)Ret.DistributionResultcdfRespT()Ret.DistributionResultcdfRespT(AvgHandle R)SolverResultgetAvg()Computes and returns average station metrics at steady-state. SolverResultgetAvg(SolverAvgHandles avgHandles)Computes and returns average station metrics at steady-state using specified handles. SolverResultgetAvg(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A)Computes and returns average station metrics at steady-state using individual handles. MatrixgetAvgArvR()Computes and returns average arrival rates at steady-state. MatrixgetAvgArvRChain()Returns average arrival rates aggregated by job chains. AvgHandlegetAvgArvRHandles()Returns the average arrival rate metric handles. SolverResultgetAvgChain()Returns average station metrics aggregated by job chains. NetworkAvgChainTablegetAvgChainTable()Returns a table of average station metrics aggregated by job chains. NetworkAvgChainTablegetAvgChainTable(SolverAvgHandles avgHandles)Returns a table of average station metrics aggregated by job chains using specified handles. NetworkAvgChainTablegetAvgChainTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A)Returns a table of average station metrics aggregated by job chains using individual handles. NetworkAvgChainTablegetAvgChainTable(boolean keepDisabled)Returns a table of average station metrics aggregated by job chains with keepDisabled option. NetworkAvgChainTablegetAvgChainTable(SolverAvgHandles avgHandles, boolean keepDisabled)Returns a table of average station metrics aggregated by job chains using specified handles and keepDisabled option. NetworkAvgChainTablegetAvgChainTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A, boolean keepDisabled)Returns a table of average station metrics aggregated by job chains using individual handles and keepDisabled option. SolverAvgHandlesgetAvgHandles()Returns the steady-state average performance metric handles. voidsetAvgHandles(SolverAvgHandles handles)Sets the steady-state average performance metric handles. SolverResultgetAvgNode()Computes average performance metrics at steady-state for all nodes. MatrixgetAvgNodeArvRChain()Returns average node arrival rates aggregated by job chains. SolverResultgetAvgNodeChain()Returns average node metrics aggregated by job chains. NetworkAvgNodeChainTablegetAvgNodeChainTable()Returns a table of average node metrics aggregated by chains. NetworkAvgNodeChainTablegetAvgNodeChainTable(SolverAvgHandles avgHandles)Returns a table of average node metrics aggregated by chains using specified handles. NetworkAvgNodeChainTablegetAvgNodeChainTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A)Returns a table of average node metrics aggregated by chains using individual handles. NetworkAvgNodeChainTablegetAvgNodeChainTable(boolean keepDisabled)Returns a table of average node metrics aggregated by chains with keepDisabled option. NetworkAvgNodeChainTablegetAvgNodeChainTable(SolverAvgHandles avgHandles, boolean keepDisabled)Returns a table of average node metrics aggregated by chains using specified handles and keepDisabled option. NetworkAvgNodeChainTablegetAvgNodeChainTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A, boolean keepDisabled)Returns a table of average node metrics aggregated by chains using individual handles and keepDisabled option. MatrixgetAvgNodeQLenChain()Returns average node queue lengths aggregated by job chains. MatrixgetAvgNodeResidTChain()Returns average node residence times aggregated by job chains. MatrixgetAvgNodeRespTChain()Returns average node response times aggregated by job chains. NetworkAvgNodeTablegetAvgNodeTable()Returns a table of average node metrics organized by job classes. NetworkAvgNodeTablegetAvgNodeTable(SolverAvgHandles avgHandles)Returns a table of average node metrics organized by job classes using specified handles. NetworkAvgNodeTablegetAvgNodeTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A)Returns a table of average node metrics organized by job classes using individual handles. NetworkAvgNodeTablegetAvgNodeTable(boolean keepDisabled)Returns a table of average node metrics organized by job classes with keepDisabled option. NetworkAvgNodeTablegetAvgNodeTable(SolverAvgHandles avgHandles, boolean keepDisabled)Returns a table of average node metrics organized by job classes using specified handles and keepDisabled option. NetworkAvgNodeTablegetAvgNodeTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A, boolean keepDisabled)Returns a table of average node metrics organized by job classes using individual handles and keepDisabled option. MatrixgetAvgNodeTputChain()Returns average node throughputs aggregated by job chains. MatrixgetAvgNodeUtilChain()Returns average node utilizations aggregated by job chains. MatrixgetAvgQLen()Computes and returns average queue lengths at steady-state. MatrixgetAvgQLenChain()Returns average queue lengths aggregated by job chains. AvgHandlegetAvgQLenHandles()Returns the average queue length metric handles. MatrixgetAvgResidT()Computes and returns average residence times in queue (including service). MatrixgetAvgResidTChain()Returns average residence times aggregated by job chains. AvgHandlegetAvgResidTHandles()Returns the average residence time metric handles. MatrixgetAvgRespT()Computes and returns average response times at steady-state. MatrixgetAvgRespTChain()Returns average response times aggregated by job chains. AvgHandlegetAvgRespTHandles()Returns the average response time metric handles. voidgetAvgSys()Computes average system-level metrics at steady state. voidgetAvgSys(SolverAvgHandles avgHandles)Computes average system-level metrics at steady state using specified handles. voidgetAvgSys(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A)Computes average system-level metrics at steady state using individual handles. MatrixgetAvgSysRespT()Returns average system response times at steady state. NetworkAvgSysTablegetAvgSysTable()Returns a table of average system-level metrics. NetworkAvgSysTablegetAvgSysTable(SolverAvgHandles avgHandles)Returns a table of average system-level metrics using specified handles. NetworkAvgSysTablegetAvgSysTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A)Returns a table of average system-level metrics using individual handles. MatrixgetAvgSysTput()Returns average system throughputs at steady state. NetworkAvgTablegetAvgTable()Returns a table of average station metrics organized by job classes. NetworkAvgTablegetAvgTable(SolverAvgHandles avgHandles)Returns a table of average station metrics organized by job classes using specified handles. NetworkAvgTablegetAvgTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A)Returns a table of average station metrics organized by job classes using individual handles. NetworkAvgTablegetAvgTable(boolean keepDisabled)Returns a table of average station metrics organized by job classes with keepDisabled option. NetworkAvgTablegetAvgTable(SolverAvgHandles avgHandles, boolean keepDisabled)Returns a table of average station metrics organized by job classes using specified handles and keepDisabled option. NetworkAvgTablegetAvgTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A, boolean keepDisabled)Returns a table of average station metrics organized by job classes using individual handles and keepDisabled option. MatrixgetAvgTput()Computes and returns average throughputs at steady-state. MatrixgetAvgTputChain()Returns average throughputs aggregated by job chains. AvgHandlegetAvgTputHandles()Returns the average throughput metric handles. MatrixgetAvgUtil()Computes and returns average server utilizations at steady-state. MatrixgetAvgUtilChain()Returns average server utilizations aggregated by job chains. AvgHandlegetAvgUtilHandles()Returns the average utilization metric handles. MatrixgetAvgWaitT()Computes and returns average waiting times in queue excluding service time. Ret.DistributionResultgetCdfPassT(AvgHandle R)Returns cumulative distribution functions of passage times at steady-state. Ret.DistributionResultgetCdfPassT()Returns cumulative distribution functions of passage times at steady-state. Ret.DistributionResultgetCdfRespT(AvgHandle R)Returns cumulative distribution functions of response times at steady-state. Ret.DistributionResultgetCdfRespT()Returns cumulative distribution functions of response times at steady-state. NetworkgetModel()Returns the queueing network model being solved. voidsetModel(Network model)Sets the queueing network model to be solved. Ret.ProbabilityResultgetProb(int node, Matrix state)Returns marginal state probabilities for a specific node and state. Ret.ProbabilityResultgetProb(int node)Returns marginal state probabilities for a specific node (all states). Ret.ProbabilityResultgetProbAggr(int node, Matrix state_a)Returns aggregated marginal state probabilities for a specific node. Ret.ProbabilityResultgetProbAggr(int node)Returns aggregated marginal state probabilities for a specific node (all states). Ret.ProbabilityResultgetProbMarg(int node, int jobclass, Matrix state_m)Returns marginalized state probabilities for a specific node and class. Ret.ProbabilityResultgetProbMarg(int node, int jobclass)Returns marginalized state probabilities for a specific node and class (all states). Ret.ProbabilityResultgetProbNormConstAggr()Returns the logarithm of the normalizing constant of state probabilities. Ret.ProbabilityResultgetProbSys()Returns joint state probabilities for the entire system. Ret.ProbabilityResultgetProbSysAggr()Returns aggregated joint state probabilities for the entire system. NetworkAvgTablegetStageTable()Returns a table of average stage metrics organized by job classes. NetworkAvgTablegetStageTable(boolean keepDisabled)Returns a table of average stage metrics organized by job classes with keepDisabled option. voidgetTranAvg()Computes transient average station metrics over the specified time interval. Ret.DistributionResultgetTranCdfPassT(AvgHandle R)Returns cumulative distribution functions of passage times during transient analysis. Ret.DistributionResultgetTranCdfPassT()Returns cumulative distribution functions of passage times during transient analysis. Ret.DistributionResultgetTranCdfRespT(AvgHandle R)Returns cumulative distribution functions of response times during transient analysis. Ret.DistributionResultgetTranCdfRespT()Returns cumulative distribution functions of response times during transient analysis. SolverTranHandlesgetTranHandles()Returns the transient performance metric handles. voidsetTranHandles(SolverTranHandles handles)Sets the transient performance metric handles. booleanhasAvgResults()Checks if the solver has computed steady-state average metrics. booleanhasDistribResults()Checks if the solver has computed steady-state distribution metrics. booleanhasTranResults()Checks if the solver has computed transient average metrics. voidinitHandles()Initializes performance metric handles from the model. Networkmodel()voidprint()Detailed print function that displays all contents of the NetworkSolver. Ret.ProbabilityResultprob(int node)Ret.ProbabilityResultprob(int node, Matrix state_a)Ret.ProbabilityResultprobAggr(int node)Ret.ProbabilityResultprobAggr(int node, Matrix state_a)Ret.ProbabilityResultprobMarg(int node, int jobclass)Ret.ProbabilityResultprobMarg(int node, int jobclass, Matrix state_m)Ret.ProbabilityResultprobNormConstAggr()Ret.ProbabilityResultprobSys()Ret.ProbabilityResultprobSysAggr()voidrunAnalyzerChecks(SolverOptions options)Validates model compatibility and method support before analysis. Ret.SampleResultsample(int node, int numEvents)Samples state trajectories for a specific node. Ret.SampleResultsampleAggr(int node, int numEvents)Samples aggregated state trajectories for a specific node. Ret.SampleResultsampleSys(int numEvents)Samples joint system state trajectories. Ret.SampleResultsampleSysAggr(int numEvents)Samples aggregated joint system state trajectories. voidsetAvgResults(Matrix Q, Matrix U, Matrix R, Matrix T, Matrix A, Matrix W, Matrix C, Matrix X, double runtime, String method, int iter)Stores computed average metrics at steady-state in the solver result. final voidsetDistribResults(Matrix RD, double runtime)Stores distribution metrics at steady-state. voidsetLang()Sets the language for solver execution. voidsetTranAvgResults(Array<Array<Matrix>> Qt, Array<Array<Matrix>> Ut, Array<Array<Matrix>> Rt, Array<Array<Matrix>> Tt, Array<Array<Matrix>> Ct, Array<Array<Matrix>> Xt, double runtimet)Stores computed transient average metrics. final voidsetTranProb(Matrix t, Matrix pi_t, Matrix SS, double runtimet)Stores transient probability distributions. ObjectstageTable()voidtranAvg()Ret.DistributionResulttranCdfPassT()Ret.DistributionResulttranCdfPassT(AvgHandle R)Ret.DistributionResulttranCdfRespT()Ret.DistributionResulttranCdfRespT(AvgHandle R)SolverTranHandlestranHandles()-
Methods inherited from class jline.solvers.Solver
defaultOptions, getName, getOptions, getResults, hasResults, isJavaAvailable, isValidOption, listValidOptions, parseOptions, parseOptions, reset, resetRandomGeneratorSeed, runAnalyzer, setChecks, setOptions, supports -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
NetworkSolver
NetworkSolver(Network model, String name, SolverOptions options)
Constructs a NetworkSolver with the specified model, name, and options.- Parameters:
model- the queueing network model to solvename- the name identifier for this solver instanceoptions- configuration options for the solver
-
-
Method Detail
-
getAllSolvers
static List<NetworkSolver> getAllSolvers(Network model)
Returns a list containing instances of all available network solvers for the given model.
- Parameters:
model- the queueing network model- Returns:
list of all available solver implementations
-
avg
SolverResult avg()
-
avg
SolverResult avg(SolverAvgHandles avgHandles)
-
avgArvRChain
Matrix avgArvRChain()
-
avgArvRHandles
AvgHandle avgArvRHandles()
-
avgChain
SolverResult avgChain()
-
avgChainTable
NetworkAvgChainTable avgChainTable()
-
avgChainTable
NetworkAvgChainTable avgChainTable(SolverAvgHandles avgHandles)
-
avgChainTable
NetworkAvgChainTable avgChainTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A)
-
avgChainTable
NetworkAvgChainTable avgChainTable(boolean keepDisabled)
-
avgChainTable
NetworkAvgChainTable avgChainTable(SolverAvgHandles avgHandles, boolean keepDisabled)
-
avgChainTable
NetworkAvgChainTable avgChainTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A, boolean keepDisabled)
-
avgHandles
SolverAvgHandles avgHandles()
-
avgNode
SolverResult avgNode()
-
avgNodeArvRChain
Matrix avgNodeArvRChain()
-
avgNodeChain
SolverResult avgNodeChain()
-
avgNodeChainTable
NetworkAvgNodeChainTable avgNodeChainTable()
-
avgNodeChainTable
NetworkAvgNodeChainTable avgNodeChainTable(SolverAvgHandles avgHandles)
-
avgNodeChainTable
NetworkAvgNodeChainTable avgNodeChainTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A)
-
avgNodeChainTable
NetworkAvgNodeChainTable avgNodeChainTable(boolean keepDisabled)
-
avgNodeChainTable
NetworkAvgNodeChainTable avgNodeChainTable(SolverAvgHandles avgHandles, boolean keepDisabled)
-
avgNodeChainTable
NetworkAvgNodeChainTable avgNodeChainTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A, boolean keepDisabled)
-
avgNodeQLenChain
Matrix avgNodeQLenChain()
-
avgNodeResidTChain
Matrix avgNodeResidTChain()
-
avgNodeRespTChain
Matrix avgNodeRespTChain()
-
avgNodeTable
NetworkAvgNodeTable avgNodeTable()
-
avgNodeTable
NetworkAvgNodeTable avgNodeTable(SolverAvgHandles avgHandles)
-
avgNodeTable
NetworkAvgNodeTable avgNodeTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A)
-
avgNodeTable
NetworkAvgNodeTable avgNodeTable(boolean keepDisabled)
-
avgNodeTable
NetworkAvgNodeTable avgNodeTable(SolverAvgHandles avgHandles, boolean keepDisabled)
-
avgNodeTable
NetworkAvgNodeTable avgNodeTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A, boolean keepDisabled)
-
avgNodeTputChain
Matrix avgNodeTputChain()
-
avgNodeUtilChain
Matrix avgNodeUtilChain()
-
avgQLenChain
Matrix avgQLenChain()
-
avgQLenHandles
AvgHandle avgQLenHandles()
-
avgResidTChain
Matrix avgResidTChain()
-
avgResidTHandles
AvgHandle avgResidTHandles()
-
avgRespTChain
Matrix avgRespTChain()
-
avgRespTHandles
AvgHandle avgRespTHandles()
-
avgSys
void avgSys()
-
avgSysRespT
Matrix avgSysRespT()
-
avgSysTable
NetworkAvgSysTable avgSysTable()
-
avgSysTable
NetworkAvgSysTable avgSysTable(SolverAvgHandles avgHandles)
-
avgSysTable
NetworkAvgSysTable avgSysTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A)
-
avgSysTput
Matrix avgSysTput()
-
avgTable
NetworkAvgTable avgTable()
-
avgTable
NetworkAvgTable avgTable(SolverAvgHandles avgHandles)
-
avgTable
NetworkAvgTable avgTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A)
-
avgTable
NetworkAvgTable avgTable(boolean keepDisabled)
-
avgTable
NetworkAvgTable avgTable(SolverAvgHandles avgHandles, boolean keepDisabled)
-
avgTable
NetworkAvgTable avgTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A, boolean keepDisabled)
-
avgTputChain
Matrix avgTputChain()
-
avgTputHandles
AvgHandle avgTputHandles()
-
avgUtilChain
Matrix avgUtilChain()
-
avgUtilHandles
AvgHandle avgUtilHandles()
-
cdfPassT
Ret.DistributionResult cdfPassT()
-
cdfPassT
Ret.DistributionResult cdfPassT(AvgHandle R)
-
cdfRespT
Ret.DistributionResult cdfRespT()
-
cdfRespT
Ret.DistributionResult cdfRespT(AvgHandle R)
-
getAvg
SolverResult getAvg()
Computes and returns average station metrics at steady-state. This is the main method for obtaining steady-state performance metrics.
- Returns:
solver result containing station-level average metrics
-
getAvg
SolverResult getAvg(SolverAvgHandles avgHandles)
Computes and returns average station metrics at steady-state using specified handles.
- Parameters:
avgHandles- custom handles for performance metrics- Returns:
solver result containing station-level average metrics
-
getAvg
SolverResult getAvg(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A)
Computes and returns average station metrics at steady-state using individual handles.
- Parameters:
Q- queue length handleU- utilization handleR- response time handleW- residence time handleT- throughput handleA- arrival rate handle- Returns:
solver result containing station-level average metrics
-
getAvgArvR
Matrix getAvgArvR()
Computes and returns average arrival rates at steady-state. If results are not available, triggers solver execution.
- Returns:
matrix of average arrival rates [stations x classes]
-
getAvgArvRChain
Matrix getAvgArvRChain()
Returns average arrival rates aggregated by job chains.
- Returns:
matrix of arrival rates [stations x chains]
-
getAvgArvRHandles
AvgHandle getAvgArvRHandles()
Returns the average arrival rate metric handles.
- Returns:
handles for arrival rate metrics
-
getAvgChain
SolverResult getAvgChain()
Returns average station metrics aggregated by job chains.
- Returns:
solver result with metrics aggregated by chains
-
getAvgChainTable
NetworkAvgChainTable getAvgChainTable()
Returns a table of average station metrics aggregated by job chains.
- Returns:
table containing station metrics organized by chains
-
getAvgChainTable
NetworkAvgChainTable getAvgChainTable(SolverAvgHandles avgHandles)
Returns a table of average station metrics aggregated by job chains using specified handles.
- Parameters:
avgHandles- custom handles for performance metrics- Returns:
table containing station metrics organized by chains
-
getAvgChainTable
NetworkAvgChainTable getAvgChainTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A)
Returns a table of average station metrics aggregated by job chains using individual handles.
- Parameters:
Q- queue length handleU- utilization handleR- response time handleW- residence time handleT- throughput handleA- arrival rate handle- Returns:
table containing station metrics organized by chains
-
getAvgChainTable
NetworkAvgChainTable getAvgChainTable(boolean keepDisabled)
Returns a table of average station metrics aggregated by job chains with keepDisabled option.
- Parameters:
keepDisabled- whether to include disabled metrics in the table- Returns:
table containing station metrics organized by chains
-
getAvgChainTable
NetworkAvgChainTable getAvgChainTable(SolverAvgHandles avgHandles, boolean keepDisabled)
Returns a table of average station metrics aggregated by job chains using specified handles and keepDisabled option.
- Parameters:
avgHandles- custom handles for performance metricskeepDisabled- whether to include disabled metrics in the table- Returns:
table containing station metrics organized by chains
-
getAvgChainTable
NetworkAvgChainTable getAvgChainTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A, boolean keepDisabled)
Returns a table of average station metrics aggregated by job chains using individual handles and keepDisabled option.
- Parameters:
Q- queue length handleU- utilization handleR- response time handleW- residence time handleT- throughput handleA- arrival rate handlekeepDisabled- whether to include disabled metrics in the table- Returns:
table containing station metrics organized by chains
-
getAvgHandles
SolverAvgHandles getAvgHandles()
Returns the steady-state average performance metric handles.
- Returns:
the average handles object
-
setAvgHandles
void setAvgHandles(SolverAvgHandles handles)
Sets the steady-state average performance metric handles.
- Parameters:
handles- the average handles to set
-
getAvgNode
SolverResult getAvgNode()
Computes average performance metrics at steady-state for all nodes. This method aggregates station-level metrics to node-level metrics.
- Returns:
solver result containing node-level average metrics
-
getAvgNodeArvRChain
Matrix getAvgNodeArvRChain()
Returns average node arrival rates aggregated by job chains.
- Returns:
matrix of node arrival rates [nodes x chains]
-
getAvgNodeChain
SolverResult getAvgNodeChain()
Returns average node metrics aggregated by job chains.
- Returns:
solver result with node metrics aggregated by chains
-
getAvgNodeChainTable
NetworkAvgNodeChainTable getAvgNodeChainTable()
Returns a table of average node metrics aggregated by chains.
- Returns:
table containing node-level metrics organized by job chains
-
getAvgNodeChainTable
NetworkAvgNodeChainTable getAvgNodeChainTable(SolverAvgHandles avgHandles)
Returns a table of average node metrics aggregated by chains using specified handles.
- Parameters:
avgHandles- custom handles for performance metrics- Returns:
table containing node-level metrics organized by job chains
-
getAvgNodeChainTable
NetworkAvgNodeChainTable getAvgNodeChainTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A)
Returns a table of average node metrics aggregated by chains using individual handles.
- Parameters:
Q- queue length handleU- utilization handleR- response time handleW- residence time handleT- throughput handleA- arrival rate handle- Returns:
table containing node-level metrics organized by job chains
-
getAvgNodeChainTable
NetworkAvgNodeChainTable getAvgNodeChainTable(boolean keepDisabled)
Returns a table of average node metrics aggregated by chains with keepDisabled option.
- Parameters:
keepDisabled- whether to include disabled metrics in the table- Returns:
table containing node-level metrics organized by job chains
-
getAvgNodeChainTable
NetworkAvgNodeChainTable getAvgNodeChainTable(SolverAvgHandles avgHandles, boolean keepDisabled)
Returns a table of average node metrics aggregated by chains using specified handles and keepDisabled option.
- Parameters:
avgHandles- custom handles for performance metricskeepDisabled- whether to include disabled metrics in the table- Returns:
table containing node-level metrics organized by job chains
-
getAvgNodeChainTable
NetworkAvgNodeChainTable getAvgNodeChainTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A, boolean keepDisabled)
Returns a table of average node metrics aggregated by chains using individual handles and keepDisabled option.
- Parameters:
Q- queue length handleU- utilization handleR- response time handleW- residence time handleT- throughput handleA- arrival rate handlekeepDisabled- whether to include disabled metrics in the table- Returns:
table containing node-level metrics organized by job chains
-
getAvgNodeQLenChain
Matrix getAvgNodeQLenChain()
Returns average node queue lengths aggregated by job chains.
- Returns:
matrix of node queue lengths [nodes x chains]
-
getAvgNodeResidTChain
Matrix getAvgNodeResidTChain()
Returns average node residence times aggregated by job chains.
- Returns:
matrix of node residence times [nodes x chains]
-
getAvgNodeRespTChain
Matrix getAvgNodeRespTChain()
Returns average node response times aggregated by job chains.
- Returns:
matrix of node response times [nodes x chains]
-
getAvgNodeTable
NetworkAvgNodeTable getAvgNodeTable()
Returns a table of average node metrics organized by job classes.
- Returns:
table containing node-level metrics for each class
-
getAvgNodeTable
NetworkAvgNodeTable getAvgNodeTable(SolverAvgHandles avgHandles)
Returns a table of average node metrics organized by job classes using specified handles.
- Parameters:
avgHandles- custom handles for performance metrics- Returns:
table containing node-level metrics for each class
-
getAvgNodeTable
NetworkAvgNodeTable getAvgNodeTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A)
Returns a table of average node metrics organized by job classes using individual handles.
- Parameters:
Q- queue length handleU- utilization handleR- response time handleW- residence time handleT- throughput handleA- arrival rate handle- Returns:
table containing node-level metrics for each class
-
getAvgNodeTable
NetworkAvgNodeTable getAvgNodeTable(boolean keepDisabled)
Returns a table of average node metrics organized by job classes with keepDisabled option.
- Parameters:
keepDisabled- whether to include disabled metrics in the table- Returns:
table containing node-level metrics for each class
-
getAvgNodeTable
NetworkAvgNodeTable getAvgNodeTable(SolverAvgHandles avgHandles, boolean keepDisabled)
Returns a table of average node metrics organized by job classes using specified handles and keepDisabled option.
- Parameters:
avgHandles- custom handles for performance metricskeepDisabled- whether to include disabled metrics in the table- Returns:
table containing node-level metrics for each class
-
getAvgNodeTable
NetworkAvgNodeTable getAvgNodeTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A, boolean keepDisabled)
Returns a table of average node metrics organized by job classes using individual handles and keepDisabled option.
- Parameters:
Q- queue length handleU- utilization handleR- response time handleW- residence time handleT- throughput handleA- arrival rate handlekeepDisabled- whether to include disabled metrics in the table- Returns:
table containing node-level metrics for each class
-
getAvgNodeTputChain
Matrix getAvgNodeTputChain()
Returns average node throughputs aggregated by job chains.
- Returns:
matrix of node throughputs [nodes x chains]
-
getAvgNodeUtilChain
Matrix getAvgNodeUtilChain()
Returns average node utilizations aggregated by job chains.
- Returns:
matrix of node utilizations [nodes x chains]
-
getAvgQLen
Matrix getAvgQLen()
Computes and returns average queue lengths at steady-state. If results are not available, triggers solver execution.
- Returns:
matrix of average queue lengths [stations x classes]
-
getAvgQLenChain
Matrix getAvgQLenChain()
Returns average queue lengths aggregated by job chains.
- Returns:
matrix of queue lengths [stations x chains]
-
getAvgQLenHandles
AvgHandle getAvgQLenHandles()
Returns the average queue length metric handles.
- Returns:
handles for queue length metrics
-
getAvgResidT
Matrix getAvgResidT()
Computes and returns average residence times in queue (including service). If results are not available, triggers solver execution.
- Returns:
matrix of average residence times [stations x classes]
-
getAvgResidTChain
Matrix getAvgResidTChain()
Returns average residence times aggregated by job chains.
- Returns:
matrix of residence times [stations x chains]
-
getAvgResidTHandles
AvgHandle getAvgResidTHandles()
Returns the average residence time metric handles.
- Returns:
handles for residence time metrics
-
getAvgRespT
Matrix getAvgRespT()
Computes and returns average response times at steady-state. If results are not available, triggers solver execution.
- Returns:
matrix of average response times [stations x classes]
-
getAvgRespTChain
Matrix getAvgRespTChain()
Returns average response times aggregated by job chains.
- Returns:
matrix of response times [stations x chains]
-
getAvgRespTHandles
AvgHandle getAvgRespTHandles()
Returns the average response time metric handles.
- Returns:
handles for response time metrics
-
getAvgSys
void getAvgSys()
Computes average system-level metrics at steady state. This includes system response times and throughputs aggregated across all chains.
-
getAvgSys
void getAvgSys(SolverAvgHandles avgHandles)
Computes average system-level metrics at steady state using specified handles. This includes system response times and throughputs aggregated across all chains.
- Parameters:
avgHandles- custom handles for performance metrics
-
getAvgSys
void getAvgSys(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A)
Computes average system-level metrics at steady state using individual handles. This includes system response times and throughputs aggregated across all chains.
- Parameters:
Q- queue length handleU- utilization handleR- response time handleW- residence time handleT- throughput handleA- arrival rate handle
-
getAvgSysRespT
Matrix getAvgSysRespT()
Returns average system response times at steady state.
- Returns:
matrix of system response times by chain
-
getAvgSysTable
NetworkAvgSysTable getAvgSysTable()
Returns a table of average system-level metrics.
- Returns:
table containing system response times and throughputs by chain
-
getAvgSysTable
NetworkAvgSysTable getAvgSysTable(SolverAvgHandles avgHandles)
Returns a table of average system-level metrics using specified handles.
- Parameters:
avgHandles- custom handles for performance metrics- Returns:
table containing system response times and throughputs by chain
-
getAvgSysTable
NetworkAvgSysTable getAvgSysTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A)
Returns a table of average system-level metrics using individual handles.
- Parameters:
Q- queue length handleU- utilization handleR- response time handleW- residence time handleT- throughput handleA- arrival rate handle- Returns:
table containing system response times and throughputs by chain
-
getAvgSysTput
Matrix getAvgSysTput()
Returns average system throughputs at steady state.
- Returns:
matrix of system throughputs by chain
-
getAvgTable
NetworkAvgTable getAvgTable()
Returns a table of average station metrics organized by job classes.
- Returns:
table containing station-level metrics for each class
-
getAvgTable
NetworkAvgTable getAvgTable(SolverAvgHandles avgHandles)
Returns a table of average station metrics organized by job classes using specified handles.
- Parameters:
avgHandles- custom handles for performance metrics- Returns:
table containing station-level metrics for each class
-
getAvgTable
NetworkAvgTable getAvgTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A)
Returns a table of average station metrics organized by job classes using individual handles.
- Parameters:
Q- queue length handleU- utilization handleR- response time handleW- residence time handleT- throughput handleA- arrival rate handle- Returns:
table containing station-level metrics for each class
-
getAvgTable
NetworkAvgTable getAvgTable(boolean keepDisabled)
Returns a table of average station metrics organized by job classes with keepDisabled option.
- Parameters:
keepDisabled- whether to include disabled metrics in the table- Returns:
table containing station-level metrics for each class
-
getAvgTable
NetworkAvgTable getAvgTable(SolverAvgHandles avgHandles, boolean keepDisabled)
Returns a table of average station metrics organized by job classes using specified handles and keepDisabled option.
- Parameters:
avgHandles- custom handles for performance metricskeepDisabled- whether to include disabled metrics in the table- Returns:
table containing station-level metrics for each class
-
getAvgTable
NetworkAvgTable getAvgTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A, boolean keepDisabled)
Returns a table of average station metrics organized by job classes using individual handles and keepDisabled option.
- Parameters:
Q- queue length handleU- utilization handleR- response time handleW- residence time handleT- throughput handleA- arrival rate handlekeepDisabled- whether to include disabled metrics in the table- Returns:
table containing station-level metrics for each class
-
getAvgTput
Matrix getAvgTput()
Computes and returns average throughputs at steady-state. If results are not available, triggers solver execution.
- Returns:
matrix of average throughputs [stations x classes]
-
getAvgTputChain
Matrix getAvgTputChain()
Returns average throughputs aggregated by job chains.
- Returns:
matrix of throughputs [stations x chains]
-
getAvgTputHandles
AvgHandle getAvgTputHandles()
Returns the average throughput metric handles.
- Returns:
handles for throughput metrics
-
getAvgUtil
Matrix getAvgUtil()
Computes and returns average server utilizations at steady-state. If results are not available, triggers solver execution.
- Returns:
matrix of average utilizations [stations x classes]
-
getAvgUtilChain
Matrix getAvgUtilChain()
Returns average server utilizations aggregated by job chains.
- Returns:
matrix of utilizations [stations x chains]
-
getAvgUtilHandles
AvgHandle getAvgUtilHandles()
Returns the average utilization metric handles.
- Returns:
handles for utilization metrics
-
getAvgWaitT
Matrix getAvgWaitT()
Computes and returns average waiting times in queue excluding service time. Waiting time = Response time - Service time (1/rate)
- Returns:
matrix of average waiting times [stations x classes]
-
getCdfPassT
Ret.DistributionResult getCdfPassT(AvgHandle R)
Returns cumulative distribution functions of passage times at steady-state. This is an abstract method that must be implemented by concrete solver subclasses.
- Parameters:
R- response time handles (optional)- Returns:
result containing CDFs for passage times
-
getCdfPassT
Ret.DistributionResult getCdfPassT()
Returns cumulative distribution functions of passage times at steady-state. Uses default response time handles.
- Returns:
result containing CDFs for passage times
-
getCdfRespT
Ret.DistributionResult getCdfRespT(AvgHandle R)
Returns cumulative distribution functions of response times at steady-state. This is an abstract method that must be implemented by concrete solver subclasses.
- Parameters:
R- response time handles (optional)- Returns:
result containing CDFs for response times [stations x classes]
-
getCdfRespT
Ret.DistributionResult getCdfRespT()
Returns cumulative distribution functions of response times at steady-state. Uses default response time handles.
- Returns:
result containing CDFs for response times [stations x classes]
-
getModel
Network getModel()
Returns the queueing network model being solved.
- Returns:
the network model
-
setModel
void setModel(Network model)
Sets the queueing network model to be solved.
- Parameters:
model- the network model to set
-
getProb
Ret.ProbabilityResult getProb(int node, Matrix state)
Returns marginal state probabilities for a specific node and state. This is an abstract method that must be implemented by concrete solver subclasses.
- Parameters:
node- the node index for which to compute probabilitiesstate- the state vector to query (optional, null for all states)- Returns:
result containing marginal state probabilities
-
getProb
Ret.ProbabilityResult getProb(int node)
Returns marginal state probabilities for a specific node (all states). This is an abstract method that must be implemented by concrete solver subclasses.
- Parameters:
node- the node index for which to compute probabilities- Returns:
result containing marginal state probabilities
-
getProbAggr
Ret.ProbabilityResult getProbAggr(int node, Matrix state_a)
Returns aggregated marginal state probabilities for a specific node. This is an abstract method that must be implemented by concrete solver subclasses.
- Parameters:
node- the node index for which to compute probabilitiesstate_a- the aggregated state vector to query (optional, null for all states)- Returns:
result containing aggregated marginal state probabilities
-
getProbAggr
Ret.ProbabilityResult getProbAggr(int node)
Returns aggregated marginal state probabilities for a specific node (all states). This is an abstract method that must be implemented by concrete solver subclasses.
- Parameters:
node- the node index for which to compute probabilities- Returns:
result containing aggregated marginal state probabilities
-
getProbMarg
Ret.ProbabilityResult getProbMarg(int node, int jobclass, Matrix state_m)
Returns marginalized state probabilities for a specific node and class. This computes probabilities marginalized on a given class, in contrast to getProbAggr which aggregates over all classes.
- Parameters:
node- the node index for which to compute probabilitiesjobclass- the job class index for marginalizationstate_m- the marginalized state vector to query (optional, null for all states)- Returns:
result containing marginalized state probabilities
-
getProbMarg
Ret.ProbabilityResult getProbMarg(int node, int jobclass)
Returns marginalized state probabilities for a specific node and class (all states). This is an abstract method that must be implemented by concrete solver subclasses.
- Parameters:
node- the node index for which to compute probabilitiesjobclass- the job class index for marginalization- Returns:
result containing marginalized state probabilities
-
getProbNormConstAggr
Ret.ProbabilityResult getProbNormConstAggr()
Returns the logarithm of the normalizing constant of state probabilities. This is an abstract method that must be implemented by concrete solver subclasses.
- Returns:
result containing the log normalizing constant
-
getProbSys
Ret.ProbabilityResult getProbSys()
Returns joint state probabilities for the entire system. This is an abstract method that must be implemented by concrete solver subclasses.
- Returns:
result containing joint state probabilities
-
getProbSysAggr
Ret.ProbabilityResult getProbSysAggr()
Returns aggregated joint state probabilities for the entire system. This is an abstract method that must be implemented by concrete solver subclasses.
- Returns:
result containing aggregated joint state probabilities
-
getStageTable
NetworkAvgTable getStageTable()
Returns a table of average stage metrics organized by job classes. Note: This method is not yet fully implemented and will throw an exception.
- Returns:
table containing stage-level metrics for each class
-
getStageTable
NetworkAvgTable getStageTable(boolean keepDisabled)
Returns a table of average stage metrics organized by job classes with keepDisabled option. Note: This method is not yet fully implemented and will throw an exception.
- Parameters:
keepDisabled- whether to include disabled metrics in the table- Returns:
table containing stage-level metrics for each class
-
getTranAvg
void getTranAvg()
Computes transient average station metrics over the specified time interval. The timespan is defined in the solver options.
-
getTranCdfPassT
Ret.DistributionResult getTranCdfPassT(AvgHandle R)
Returns cumulative distribution functions of passage times during transient analysis. This is an abstract method that must be implemented by concrete solver subclasses.
- Parameters:
R- response time handles (optional)- Returns:
result containing transient CDFs for passage times
-
getTranCdfPassT
Ret.DistributionResult getTranCdfPassT()
Returns cumulative distribution functions of passage times during transient analysis. Uses default response time handles.
- Returns:
result containing transient CDFs for passage times
-
getTranCdfRespT
Ret.DistributionResult getTranCdfRespT(AvgHandle R)
Returns cumulative distribution functions of response times during transient analysis. This is an abstract method that must be implemented by concrete solver subclasses.
- Parameters:
R- response time handles (optional)- Returns:
result containing transient CDFs for response times
-
getTranCdfRespT
Ret.DistributionResult getTranCdfRespT()
Returns cumulative distribution functions of response times during transient analysis. Uses default response time handles.
- Returns:
result containing transient CDFs for response times
-
getTranHandles
SolverTranHandles getTranHandles()
Returns the transient performance metric handles.
- Returns:
the transient handles object
-
setTranHandles
void setTranHandles(SolverTranHandles handles)
Sets the transient performance metric handles.
- Parameters:
handles- the transient handles to set
-
hasAvgResults
boolean hasAvgResults()
Checks if the solver has computed steady-state average metrics.
- Returns:
true if steady-state results are available, false otherwise
-
hasDistribResults
boolean hasDistribResults()
Checks if the solver has computed steady-state distribution metrics.
- Returns:
true if distribution results are available
-
hasTranResults
boolean hasTranResults()
Checks if the solver has computed transient average metrics.
- Returns:
true if transient results are available, false otherwise
-
initHandles
void initHandles()
Initializes performance metric handles from the model. This method retrieves and sets both average and transient handles.
-
print
void print()
Detailed print function that displays all contents of the NetworkSolver. This function prints actual values, not reference addresses, and includes ALL fields from both NetworkSolver and its parent Solver class for comprehensive comparison.
-
prob
Ret.ProbabilityResult prob(int node)
-
prob
Ret.ProbabilityResult prob(int node, Matrix state_a)
-
probAggr
Ret.ProbabilityResult probAggr(int node)
-
probAggr
Ret.ProbabilityResult probAggr(int node, Matrix state_a)
-
probMarg
Ret.ProbabilityResult probMarg(int node, int jobclass)
-
probMarg
Ret.ProbabilityResult probMarg(int node, int jobclass, Matrix state_m)
-
probNormConstAggr
Ret.ProbabilityResult probNormConstAggr()
-
probSys
Ret.ProbabilityResult probSys()
-
probSysAggr
Ret.ProbabilityResult probSysAggr()
-
runAnalyzerChecks
void runAnalyzerChecks(SolverOptions options)
Validates model compatibility and method support before analysis.
- Parameters:
options- solver options containing method specification
-
sample
Ret.SampleResult sample(int node, int numEvents)
Samples state trajectories for a specific node. This is an abstract method that must be implemented by concrete solver subclasses.
- Parameters:
node- the node index to sample fromnumEvents- the number of events to sample- Returns:
result containing sampled state trajectories
-
sampleAggr
Ret.SampleResult sampleAggr(int node, int numEvents)
Samples aggregated state trajectories for a specific node. This is an abstract method that must be implemented by concrete solver subclasses.
- Parameters:
node- the node index to sample fromnumEvents- the number of events to sample- Returns:
result containing sampled aggregated state trajectories
-
sampleSys
Ret.SampleResult sampleSys(int numEvents)
Samples joint system state trajectories. This is an abstract method that must be implemented by concrete solver subclasses.
- Parameters:
numEvents- the number of events to sample- Returns:
result containing sampled joint system state trajectories
-
sampleSysAggr
Ret.SampleResult sampleSysAggr(int numEvents)
Samples aggregated joint system state trajectories. This is an abstract method that must be implemented by concrete solver subclasses.
- Parameters:
numEvents- the number of events to sample- Returns:
result containing sampled aggregated joint system state trajectories
-
setAvgResults
void setAvgResults(Matrix Q, Matrix U, Matrix R, Matrix T, Matrix A, Matrix W, Matrix C, Matrix X, double runtime, String method, int iter)
Stores computed average metrics at steady-state in the solver result.
- Parameters:
Q- queue length matrix [stations x classes]U- utilization matrix [stations x classes]R- response time matrix [stations x classes]T- throughput matrix [stations x classes]A- arrival rate matrix [stations x classes]W- residence time matrix [stations x classes]C- system response time vector [chains]X- system throughput vector [chains]runtime- computation time in secondsmethod- solution algorithm usediter- number of iterations performed
-
setDistribResults
final void setDistribResults(Matrix RD, double runtime)
Stores distribution metrics at steady-state.
- Parameters:
RD- distribution data [stations x classes] containing CDFsruntime- computation time for distribution analysis
-
setLang
void setLang()
Sets the language for solver execution. This method configures the solver to use either MATLAB or Java backend.
-
setTranAvgResults
void setTranAvgResults(Array<Array<Matrix>> Qt, Array<Array<Matrix>> Ut, Array<Array<Matrix>> Rt, Array<Array<Matrix>> Tt, Array<Array<Matrix>> Ct, Array<Array<Matrix>> Xt, double runtimet)
Stores computed transient average metrics.
- Parameters:
Qt- transient queue length matrices [time][stations x classes]Ut- transient utilization matrices [time][stations x classes]Rt- transient response time matrices [time][stations x classes]Tt- transient throughput matrices [time][stations x classes]Ct- transient system response time matrices [time][chains]Xt- transient system throughput matrices [time][chains]runtimet- computation time for transient analysis
-
setTranProb
final void setTranProb(Matrix t, Matrix pi_t, Matrix SS, double runtimet)
Stores transient probability distributions.
- Parameters:
t- time points vectorpi_t- transient probability distributionsSS- steady-state distributionruntimet- computation time for transient analysis
-
stageTable
Object stageTable()
-
tranAvg
void tranAvg()
-
tranCdfPassT
Ret.DistributionResult tranCdfPassT()
-
tranCdfPassT
Ret.DistributionResult tranCdfPassT(AvgHandle R)
-
tranCdfRespT
Ret.DistributionResult tranCdfRespT()
-
tranCdfRespT
Ret.DistributionResult tranCdfRespT(AvgHandle R)
-
tranHandles
SolverTranHandles tranHandles()
-
-
-
-