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 Network
model
public NetworkStruct
sn
public SolverAvgHandles
avgHandles
public SolverTranHandles
tranHandles
public Model
model
public String
name
public SolverOptions
options
public SolverResult
result
public boolean
enableChecks
public Random
random
-
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. SolverResult
avg()
SolverResult
avg(SolverAvgHandles avgHandles)
SolverResult
avg(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A)
Matrix
avgArvR()
Matrix
avgArvRChain()
AvgHandle
avgArvRHandles()
SolverResult
avgChain()
NetworkAvgChainTable
avgChainTable()
NetworkAvgChainTable
avgChainTable(SolverAvgHandles avgHandles)
NetworkAvgChainTable
avgChainTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A)
NetworkAvgChainTable
avgChainTable(boolean keepDisabled)
NetworkAvgChainTable
avgChainTable(SolverAvgHandles avgHandles, boolean keepDisabled)
NetworkAvgChainTable
avgChainTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A, boolean keepDisabled)
SolverAvgHandles
avgHandles()
SolverResult
avgNode()
Matrix
avgNodeArvRChain()
SolverResult
avgNodeChain()
NetworkAvgNodeChainTable
avgNodeChainTable()
NetworkAvgNodeChainTable
avgNodeChainTable(SolverAvgHandles avgHandles)
NetworkAvgNodeChainTable
avgNodeChainTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A)
NetworkAvgNodeChainTable
avgNodeChainTable(boolean keepDisabled)
NetworkAvgNodeChainTable
avgNodeChainTable(SolverAvgHandles avgHandles, boolean keepDisabled)
NetworkAvgNodeChainTable
avgNodeChainTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A, boolean keepDisabled)
Matrix
avgNodeQLenChain()
Matrix
avgNodeResidTChain()
Matrix
avgNodeRespTChain()
NetworkAvgNodeTable
avgNodeTable()
NetworkAvgNodeTable
avgNodeTable(SolverAvgHandles avgHandles)
NetworkAvgNodeTable
avgNodeTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A)
NetworkAvgNodeTable
avgNodeTable(boolean keepDisabled)
NetworkAvgNodeTable
avgNodeTable(SolverAvgHandles avgHandles, boolean keepDisabled)
NetworkAvgNodeTable
avgNodeTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A, boolean keepDisabled)
Matrix
avgNodeTputChain()
Matrix
avgNodeUtilChain()
Matrix
avgQLen()
Matrix
avgQLenChain()
AvgHandle
avgQLenHandles()
Matrix
avgResidT()
Matrix
avgResidTChain()
AvgHandle
avgResidTHandles()
Matrix
avgRespT()
Matrix
avgRespTChain()
AvgHandle
avgRespTHandles()
void
avgSys()
Matrix
avgSysRespT()
NetworkAvgSysTable
avgSysTable()
NetworkAvgSysTable
avgSysTable(SolverAvgHandles avgHandles)
NetworkAvgSysTable
avgSysTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A)
Matrix
avgSysTput()
NetworkAvgTable
avgTable()
NetworkAvgTable
avgTable(SolverAvgHandles avgHandles)
NetworkAvgTable
avgTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A)
NetworkAvgTable
avgTable(boolean keepDisabled)
NetworkAvgTable
avgTable(SolverAvgHandles avgHandles, boolean keepDisabled)
NetworkAvgTable
avgTable(AvgHandle Q, AvgHandle U, AvgHandle R, AvgHandle W, AvgHandle T, AvgHandle A, boolean keepDisabled)
Matrix
avgTput()
Matrix
avgTputChain()
AvgHandle
avgTputHandles()
Matrix
avgUtil()
Matrix
avgUtilChain()
AvgHandle
avgUtilHandles()
Matrix
avgWaitT()
Ret.DistributionResult
cdfPassT()
Ret.DistributionResult
cdfPassT(AvgHandle R)
Ret.DistributionResult
cdfRespT()
Ret.DistributionResult
cdfRespT(AvgHandle R)
SolverResult
getAvg()
Computes and returns average station metrics at steady-state. SolverResult
getAvg(SolverAvgHandles avgHandles)
Computes and returns average station metrics at steady-state using specified handles. 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. Matrix
getAvgArvR()
Computes and returns average arrival rates at steady-state. Matrix
getAvgArvRChain()
Returns average arrival rates aggregated by job chains. AvgHandle
getAvgArvRHandles()
Returns the average arrival rate metric handles. SolverResult
getAvgChain()
Returns average station metrics aggregated by job chains. NetworkAvgChainTable
getAvgChainTable()
Returns a table of average station metrics aggregated by job chains. NetworkAvgChainTable
getAvgChainTable(SolverAvgHandles avgHandles)
Returns a table of average station metrics aggregated by job chains using specified handles. 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. NetworkAvgChainTable
getAvgChainTable(boolean keepDisabled)
Returns a table of average station metrics aggregated by job chains with keepDisabled option. NetworkAvgChainTable
getAvgChainTable(SolverAvgHandles avgHandles, boolean keepDisabled)
Returns a table of average station metrics aggregated by job chains using specified handles and keepDisabled option. 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. SolverAvgHandles
getAvgHandles()
Returns the steady-state average performance metric handles. void
setAvgHandles(SolverAvgHandles handles)
Sets the steady-state average performance metric handles. SolverResult
getAvgNode()
Computes average performance metrics at steady-state for all nodes. Matrix
getAvgNodeArvRChain()
Returns average node arrival rates aggregated by job chains. SolverResult
getAvgNodeChain()
Returns average node metrics aggregated by job chains. NetworkAvgNodeChainTable
getAvgNodeChainTable()
Returns a table of average node metrics aggregated by chains. NetworkAvgNodeChainTable
getAvgNodeChainTable(SolverAvgHandles avgHandles)
Returns a table of average node metrics aggregated by chains using specified handles. 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. NetworkAvgNodeChainTable
getAvgNodeChainTable(boolean keepDisabled)
Returns a table of average node metrics aggregated by chains with keepDisabled option. NetworkAvgNodeChainTable
getAvgNodeChainTable(SolverAvgHandles avgHandles, boolean keepDisabled)
Returns a table of average node metrics aggregated by chains using specified handles and keepDisabled option. 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. Matrix
getAvgNodeQLenChain()
Returns average node queue lengths aggregated by job chains. Matrix
getAvgNodeResidTChain()
Returns average node residence times aggregated by job chains. Matrix
getAvgNodeRespTChain()
Returns average node response times aggregated by job chains. NetworkAvgNodeTable
getAvgNodeTable()
Returns a table of average node metrics organized by job classes. NetworkAvgNodeTable
getAvgNodeTable(SolverAvgHandles avgHandles)
Returns a table of average node metrics organized by job classes using specified handles. 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. NetworkAvgNodeTable
getAvgNodeTable(boolean keepDisabled)
Returns a table of average node metrics organized by job classes with keepDisabled option. NetworkAvgNodeTable
getAvgNodeTable(SolverAvgHandles avgHandles, boolean keepDisabled)
Returns a table of average node metrics organized by job classes using specified handles and keepDisabled option. 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. Matrix
getAvgNodeTputChain()
Returns average node throughputs aggregated by job chains. Matrix
getAvgNodeUtilChain()
Returns average node utilizations aggregated by job chains. Matrix
getAvgQLen()
Computes and returns average queue lengths at steady-state. Matrix
getAvgQLenChain()
Returns average queue lengths aggregated by job chains. AvgHandle
getAvgQLenHandles()
Returns the average queue length metric handles. Matrix
getAvgResidT()
Computes and returns average residence times in queue (including service). Matrix
getAvgResidTChain()
Returns average residence times aggregated by job chains. AvgHandle
getAvgResidTHandles()
Returns the average residence time metric handles. Matrix
getAvgRespT()
Computes and returns average response times at steady-state. Matrix
getAvgRespTChain()
Returns average response times aggregated by job chains. AvgHandle
getAvgRespTHandles()
Returns the average response time metric handles. void
getAvgSys()
Computes average system-level metrics at steady state. void
getAvgSys(SolverAvgHandles avgHandles)
Computes average system-level metrics at steady state using specified handles. 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. Matrix
getAvgSysRespT()
Returns average system response times at steady state. NetworkAvgSysTable
getAvgSysTable()
Returns a table of average system-level metrics. NetworkAvgSysTable
getAvgSysTable(SolverAvgHandles avgHandles)
Returns a table of average system-level metrics using specified handles. 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. Matrix
getAvgSysTput()
Returns average system throughputs at steady state. NetworkAvgTable
getAvgTable()
Returns a table of average station metrics organized by job classes. NetworkAvgTable
getAvgTable(SolverAvgHandles avgHandles)
Returns a table of average station metrics organized by job classes using specified handles. 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. NetworkAvgTable
getAvgTable(boolean keepDisabled)
Returns a table of average station metrics organized by job classes with keepDisabled option. NetworkAvgTable
getAvgTable(SolverAvgHandles avgHandles, boolean keepDisabled)
Returns a table of average station metrics organized by job classes using specified handles and keepDisabled option. 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. Matrix
getAvgTput()
Computes and returns average throughputs at steady-state. Matrix
getAvgTputChain()
Returns average throughputs aggregated by job chains. AvgHandle
getAvgTputHandles()
Returns the average throughput metric handles. Matrix
getAvgUtil()
Computes and returns average server utilizations at steady-state. Matrix
getAvgUtilChain()
Returns average server utilizations aggregated by job chains. AvgHandle
getAvgUtilHandles()
Returns the average utilization metric handles. Matrix
getAvgWaitT()
Computes and returns average waiting times in queue excluding service time. Ret.DistributionResult
getCdfPassT(AvgHandle R)
Returns cumulative distribution functions of passage times at steady-state. Ret.DistributionResult
getCdfPassT()
Returns cumulative distribution functions of passage times at steady-state. Ret.DistributionResult
getCdfRespT(AvgHandle R)
Returns cumulative distribution functions of response times at steady-state. Ret.DistributionResult
getCdfRespT()
Returns cumulative distribution functions of response times at steady-state. Network
getModel()
Returns the queueing network model being solved. void
setModel(Network model)
Sets the queueing network model to be solved. Ret.ProbabilityResult
getProb(int node, Matrix state)
Returns marginal state probabilities for a specific node and state. Ret.ProbabilityResult
getProb(int node)
Returns marginal state probabilities for a specific node (all states). Ret.ProbabilityResult
getProbAggr(int node, Matrix state_a)
Returns aggregated marginal state probabilities for a specific node. Ret.ProbabilityResult
getProbAggr(int node)
Returns aggregated marginal state probabilities for a specific node (all states). Ret.ProbabilityResult
getProbMarg(int node, int jobclass, Matrix state_m)
Returns marginalized state probabilities for a specific node and class. Ret.ProbabilityResult
getProbMarg(int node, int jobclass)
Returns marginalized state probabilities for a specific node and class (all states). Ret.ProbabilityResult
getProbNormConstAggr()
Returns the logarithm of the normalizing constant of state probabilities. Ret.ProbabilityResult
getProbSys()
Returns joint state probabilities for the entire system. Ret.ProbabilityResult
getProbSysAggr()
Returns aggregated joint state probabilities for the entire system. NetworkAvgTable
getStageTable()
Returns a table of average stage metrics organized by job classes. NetworkAvgTable
getStageTable(boolean keepDisabled)
Returns a table of average stage metrics organized by job classes with keepDisabled option. void
getTranAvg()
Computes transient average station metrics over the specified time interval. Ret.DistributionResult
getTranCdfPassT(AvgHandle R)
Returns cumulative distribution functions of passage times during transient analysis. Ret.DistributionResult
getTranCdfPassT()
Returns cumulative distribution functions of passage times during transient analysis. Ret.DistributionResult
getTranCdfRespT(AvgHandle R)
Returns cumulative distribution functions of response times during transient analysis. Ret.DistributionResult
getTranCdfRespT()
Returns cumulative distribution functions of response times during transient analysis. SolverTranHandles
getTranHandles()
Returns the transient performance metric handles. void
setTranHandles(SolverTranHandles handles)
Sets the transient performance metric handles. boolean
hasAvgResults()
Checks if the solver has computed steady-state average metrics. boolean
hasDistribResults()
Checks if the solver has computed steady-state distribution metrics. boolean
hasTranResults()
Checks if the solver has computed transient average metrics. void
initHandles()
Initializes performance metric handles from the model. Network
model()
void
print()
Detailed print function that displays all contents of the NetworkSolver. Ret.ProbabilityResult
prob(int node)
Ret.ProbabilityResult
prob(int node, Matrix state_a)
Ret.ProbabilityResult
probAggr(int node)
Ret.ProbabilityResult
probAggr(int node, Matrix state_a)
Ret.ProbabilityResult
probMarg(int node, int jobclass)
Ret.ProbabilityResult
probMarg(int node, int jobclass, Matrix state_m)
Ret.ProbabilityResult
probNormConstAggr()
Ret.ProbabilityResult
probSys()
Ret.ProbabilityResult
probSysAggr()
void
runAnalyzerChecks(SolverOptions options)
Validates model compatibility and method support before analysis. Ret.SampleResult
sample(int node, int numEvents)
Samples state trajectories for a specific node. Ret.SampleResult
sampleAggr(int node, int numEvents)
Samples aggregated state trajectories for a specific node. Ret.SampleResult
sampleSys(int numEvents)
Samples joint system state trajectories. Ret.SampleResult
sampleSysAggr(int numEvents)
Samples aggregated joint system state trajectories. 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. final void
setDistribResults(Matrix RD, double runtime)
Stores distribution metrics at steady-state. void
setLang()
Sets the language for solver execution. 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. final void
setTranProb(Matrix t, Matrix pi_t, Matrix SS, double runtimet)
Stores transient probability distributions. Object
stageTable()
void
tranAvg()
Ret.DistributionResult
tranCdfPassT()
Ret.DistributionResult
tranCdfPassT(AvgHandle R)
Ret.DistributionResult
tranCdfRespT()
Ret.DistributionResult
tranCdfRespT(AvgHandle R)
SolverTranHandles
tranHandles()
-
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()
-
-
-
-