Package jline.solvers.auto
Class SolverAUTO
java.lang.Object
jline.solvers.Solver
jline.solvers.NetworkSolver
jline.solvers.auto.SolverAUTO
Automatic solver selection for queueing network models.
This solver automatically selects the most appropriate solution method based on model characteristics and requested performance metrics.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class jline.solvers.NetworkSolver
avgHandles, model, sn, tranHandles -
Constructor Summary
ConstructorsConstructorDescriptionSolverAUTO(Network model) Constructor with model onlySolverAUTO(Network model, Object... varargin) Constructor with model and varargsSolverAUTO(Network model, String method) Constructor with model and methodSolverAUTO(Network model, SolverOptions options) Constructor with model and options -
Method Summary
Modifier and TypeMethodDescriptionavg()Alias for getAvg()avgArvR()Alias for getAvgArvR()Alias for getAvgArvRChain()avgChain()Alias for getAvgChain()Alias for getAvgChainTable()avgNode()Alias for getAvgNode()Alias for getAvgNodeTable()avgQLen()Alias for getAvgQLen()Alias for getAvgQLenChain()Alias for getAvgResidT()Alias for getAvgResidTChain()avgRespT()Alias for getAvgRespT()Alias for getAvgRespTChain()Alias for getAvgSysRespT()Alias for getAvgSysTable()Alias for getAvgSysTput()avgTable()Alias for getAvgTable()avgTput()Alias for getAvgTput()Alias for getAvgTputChain()avgUtil()Alias for getAvgUtil()Alias for getAvgUtilChain()avgWaitT()Alias for getAvgWaitT()cdfPassT()Alias for getCdfPassT()cdfRespT()Alias for getCdfRespT()getAvg()Computes and returns average station metrics at steady-state.Get average arrival rates at steady-stateReturns average arrival rates aggregated by job chains.Returns average station metrics aggregated by job chains.Returns a table of average station metrics aggregated by job chains.Computes average performance metrics at steady-state for all nodes.Get average node arrival rate by chainGet average node queue length by chainGet average node residence time by chainGet average node response time by chainReturns a table of average node metrics organized by job classes.Get average node throughput by chainGet average node utilization by chainGet average queue lengths at steady-stateReturns average queue lengths aggregated by job chains.Get average queue length tableGet average residence times at steady-stateGet average residence time by chainGet average response times at steady-stateReturns average response times aggregated by job chains.Get average response time tablevoidComputes average system-level metrics at steady state.Returns average system response times at steady state.Returns a table of average system-level metrics.Returns average system throughputs at steady state.Returns a table of average station metrics organized by job classes.Get average throughputs at steady-stateReturns average throughputs aggregated by job chains.Get average throughput tableGet average utilizations at steady-stateReturns average server utilizations aggregated by job chains.Get average utilization tableGet average waiting times (queue time excluding service)Get list of candidate solver namesGet CDF of passage times at steady-stateReturns cumulative distribution functions of response times at steady-state.getPerctRespT(double[] percentiles) Get response time percentilesdoubledoublegetProbAggr(Node node, Matrix state_a) doublegetProbMarg(Node node, int jobclass, Matrix state_m) Get marginalized state probabilityReturns the logarithm of the normalizing constant of state probabilities.Returns joint state probabilities for the entire system.Returns aggregated joint state probabilities for the entire system.Get the name of the selected solvervoidComputes transient average station metrics over the specified time interval.Returns cumulative distribution functions of passage times during transient analysis.Returns cumulative distribution functions of response times during transient analysis.Matrix[]getTranProb(Node node) Matrix[]getTranProbAggr(Node node) Matrix[]Matrix[]perctRespT(double[] percentiles) Alias for getPerctRespT()doubleAlias for getProb()doubleAlias for getProbAggr()doubleAlias for getProbMarg()Alias for getProbNormConstAggr()probSys()Alias for getProbSys()Alias for getProbSysAggr()voidOverride the main run method to ensure proper delegationAlias for sample()sampleAggr(Node node, int numEvents) Alias for sampleSys()sampleSys(int numEvents) Samples joint system state trajectories.sampleSysAggr(int numEvents) Samples aggregated joint system state trajectories.booleanChecks if this solver supports the given network model.Methods inherited from class jline.solvers.NetworkSolver
aCT, aCT, aCT, aCT, aCT, aCT, aNCT, aNCT, aNCT, aNCT, aNCT, aNCT, aNT, aNT, aNT, aNT, aNT, aNT, aST, aST, aST, aT, aT, aT, aT, aT, aT, avg, avg, avgArvRHandles, avgChainT, avgChainT, avgChainT, avgChainT, avgChainT, avgChainT, avgChainTable, avgChainTable, avgChainTable, avgChainTable, avgChainTable, avgHandles, avgNodeArvRChain, avgNodeChain, avgNodeChainT, avgNodeChainT, avgNodeChainT, avgNodeChainT, avgNodeChainT, avgNodeChainT, avgNodeChainTable, avgNodeChainTable, avgNodeChainTable, avgNodeChainTable, avgNodeChainTable, avgNodeChainTable, avgNodeQLenChain, avgNodeResidTChain, avgNodeRespTChain, avgNodeT, avgNodeT, avgNodeT, avgNodeT, avgNodeT, avgNodeT, avgNodeTable, avgNodeTable, avgNodeTable, avgNodeTable, avgNodeTable, avgNodeTputChain, avgNodeUtilChain, avgQLenHandles, avgResidTHandles, avgRespTHandles, avgSys, avgSysT, avgSysT, avgSysT, avgSysTable, avgSysTable, avgT, avgT, avgT, avgT, avgT, avgT, avgTable, avgTable, avgTable, avgTable, avgTable, avgTputHandles, avgUtilHandles, cdfPassT, cdfRespT, chainAvgT, chainAvgT, chainAvgT, chainAvgT, chainAvgT, chainAvgT, getAllSolvers, getAvg, getAvg, getAvgArvRHandles, getAvgChainTable, getAvgChainTable, getAvgChainTable, getAvgChainTable, getAvgChainTable, getAvgHandles, getAvgNodeChain, getAvgNodeChainTable, getAvgNodeChainTable, getAvgNodeChainTable, getAvgNodeChainTable, getAvgNodeChainTable, getAvgNodeChainTable, getAvgNodeTable, getAvgNodeTable, getAvgNodeTable, getAvgNodeTable, getAvgNodeTable, getAvgQLenHandles, getAvgResidTHandles, getAvgRespTHandles, getAvgSys, getAvgSys, getAvgSysTable, getAvgSysTable, getAvgT, getAvgT, getAvgT, getAvgT, getAvgT, getAvgT, getAvgTable, getAvgTable, getAvgTable, getAvgTable, getAvgTable, getAvgTputHandles, getAvgUtilHandles, getCdfPassT, getCdfRespT, getChainAvgT, getChainAvgT, getChainAvgT, getChainAvgT, getChainAvgT, getChainAvgT, getDeadlineTable, getModel, getNodeAvgT, getNodeAvgT, getNodeAvgT, getNodeAvgT, getNodeAvgT, getNodeAvgT, getNodeChainAvgT, getNodeChainAvgT, getNodeChainAvgT, getNodeChainAvgT, getNodeChainAvgT, getNodeChainAvgT, getProb, getProb, getProbAggr, getProbAggr, getProbMarg, getProbMarg, getStageT, getStageT, getStageTable, getStageTable, getSysAvgT, getSysAvgT, getSysAvgT, getTranCdfPassT, getTranCdfRespT, getTranHandles, hasAvgResults, hasDistribResults, hasTranResults, initHandles, model, nodeAvgT, nodeAvgT, nodeAvgT, nodeAvgT, nodeAvgT, nodeAvgT, nodeChainAvgT, nodeChainAvgT, nodeChainAvgT, nodeChainAvgT, nodeChainAvgT, nodeChainAvgT, print, prob, prob, probAggr, probAggr, probMarg, probMarg, runAnalyzerChecks, sample, sampleAggr, setAvgHandles, setAvgResults, setDistribResults, setLang, setModel, setTranAvgResults, setTranHandles, setTranProb, stageT, stageTable, sysAvgT, sysAvgT, sysAvgT, tranAvg, tranCdfPassT, tranCdfPassT, tranCdfRespT, tranCdfRespT, tranHandlesMethods inherited from class jline.solvers.Solver
defaultOptions, getName, getOptions, getResults, hasResults, isJavaAvailable, isValidOption, listValidOptions, parseOptions, parseOptions, reset, resetRandomGeneratorSeed, setChecks, setOptions
-
Field Details
-
CANDIDATE_CTMC
public static final int CANDIDATE_CTMC- See Also:
-
CANDIDATE_LDES
public static final int CANDIDATE_LDES- See Also:
-
CANDIDATE_FLUID
public static final int CANDIDATE_FLUID- See Also:
-
CANDIDATE_JMT
public static final int CANDIDATE_JMT- See Also:
-
CANDIDATE_MAM
public static final int CANDIDATE_MAM- See Also:
-
CANDIDATE_MVA
public static final int CANDIDATE_MVA- See Also:
-
CANDIDATE_NC
public static final int CANDIDATE_NC- See Also:
-
CANDIDATE_SSA
public static final int CANDIDATE_SSA- See Also:
-
METHOD_DEFAULT
- See Also:
-
METHOD_HEURISTIC
- See Also:
-
METHOD_SIM
- See Also:
-
METHOD_EXACT
- See Also:
-
METHOD_FAST
- See Also:
-
METHOD_ACCURATE
- See Also:
-
-
Constructor Details
-
SolverAUTO
Constructor with model only -
SolverAUTO
Constructor with model and method -
SolverAUTO
Constructor with model and options -
SolverAUTO
Constructor with model and varargs
-
-
Method Details
-
getCandidateSolverNames
Get list of candidate solver names -
getSelectedSolverName
Get the name of the selected solver -
runAnalyzer
public void runAnalyzer()Override the main run method to ensure proper delegation- Specified by:
runAnalyzerin classSolver
-
supports
Description copied from class:SolverChecks if this solver supports the given network model. Default implementation returns true; subclasses should override to provide specific feature validation. -
getAvgChainTable
Description copied from class:NetworkSolverReturns a table of average station metrics aggregated by job chains.- Overrides:
getAvgChainTablein classNetworkSolver- Returns:
- table containing station metrics organized by chains
-
getAvgSysTable
Description copied from class:NetworkSolverReturns a table of average system-level metrics.- Overrides:
getAvgSysTablein classNetworkSolver- Returns:
- table containing system response times and throughputs by chain
-
getAvgNodeTable
Description copied from class:NetworkSolverReturns a table of average node metrics organized by job classes.- Overrides:
getAvgNodeTablein classNetworkSolver- Returns:
- table containing node-level metrics for each class
-
getAvgTable
Description copied from class:NetworkSolverReturns a table of average station metrics organized by job classes.- Overrides:
getAvgTablein classNetworkSolver- Returns:
- table containing station-level metrics for each class
-
getAvg
Description copied from class:NetworkSolverComputes and returns average station metrics at steady-state. This is the main method for obtaining steady-state performance metrics.- Overrides:
getAvgin classNetworkSolver- Returns:
- solver result containing station-level average metrics
-
getAvgChain
Description copied from class:NetworkSolverReturns average station metrics aggregated by job chains.- Overrides:
getAvgChainin classNetworkSolver- Returns:
- solver result with metrics aggregated by chains
-
getAvgSys
public void getAvgSys()Description copied from class:NetworkSolverComputes average system-level metrics at steady state. This includes system response times and throughputs aggregated across all chains.- Overrides:
getAvgSysin classNetworkSolver
-
getAvgNode
Description copied from class:NetworkSolverComputes average performance metrics at steady-state for all nodes. This method aggregates station-level metrics to node-level metrics.- Overrides:
getAvgNodein classNetworkSolver- Returns:
- solver result containing node-level average metrics
-
getAvgArvRChain
Description copied from class:NetworkSolverReturns average arrival rates aggregated by job chains.- Overrides:
getAvgArvRChainin classNetworkSolver- Returns:
- matrix of arrival rates [stations x chains]
-
getAvgQLenChain
Description copied from class:NetworkSolverReturns average queue lengths aggregated by job chains.- Overrides:
getAvgQLenChainin classNetworkSolver- Returns:
- matrix of queue lengths [stations x chains]
-
getAvgUtilChain
Description copied from class:NetworkSolverReturns average server utilizations aggregated by job chains.- Overrides:
getAvgUtilChainin classNetworkSolver- Returns:
- matrix of utilizations [stations x chains]
-
getAvgRespTChain
Description copied from class:NetworkSolverReturns average response times aggregated by job chains.- Overrides:
getAvgRespTChainin classNetworkSolver- Returns:
- matrix of response times [stations x chains]
-
getAvgTputChain
Description copied from class:NetworkSolverReturns average throughputs aggregated by job chains.- Overrides:
getAvgTputChainin classNetworkSolver- Returns:
- matrix of throughputs [stations x chains]
-
getAvgSysRespT
Description copied from class:NetworkSolverReturns average system response times at steady state.- Overrides:
getAvgSysRespTin classNetworkSolver- Returns:
- matrix of system response times by chain
-
getAvgSysTput
Description copied from class:NetworkSolverReturns average system throughputs at steady state.- Overrides:
getAvgSysTputin classNetworkSolver- Returns:
- matrix of system throughputs by chain
-
getTranAvg
public void getTranAvg()Description copied from class:NetworkSolverComputes transient average station metrics over the specified time interval. The timespan is defined in the solver options.- Overrides:
getTranAvgin classNetworkSolver
-
getTranCdfPassT
Description copied from class:NetworkSolverReturns cumulative distribution functions of passage times during transient analysis. Uses default response time handles.- Overrides:
getTranCdfPassTin classNetworkSolver- Returns:
- result containing transient CDFs for passage times
-
getTranCdfRespT
Description copied from class:NetworkSolverReturns cumulative distribution functions of response times during transient analysis. Uses default response time handles.- Overrides:
getTranCdfRespTin classNetworkSolver- Returns:
- result containing transient CDFs for response times
-
getTranProb
-
getTranProbAggr
-
getTranProbSys
-
getTranProbSysAggr
-
sample
-
sampleAggr
-
sampleSys
Description copied from class:NetworkSolverSamples joint system state trajectories. This is an abstract method that must be implemented by concrete solver subclasses.- Overrides:
sampleSysin classNetworkSolver- Parameters:
numEvents- the number of events to sample- Returns:
- result containing sampled joint system state trajectories
-
sampleSysAggr
Description copied from class:NetworkSolverSamples aggregated joint system state trajectories. This is an abstract method that must be implemented by concrete solver subclasses.- Overrides:
sampleSysAggrin classNetworkSolver- Parameters:
numEvents- the number of events to sample- Returns:
- result containing sampled aggregated joint system state trajectories
-
getCdfRespT
Description copied from class:NetworkSolverReturns cumulative distribution functions of response times at steady-state. Uses default response time handles.- Overrides:
getCdfRespTin classNetworkSolver- Returns:
- result containing CDFs for response times [stations x classes]
-
getProb
-
getProbAggr
-
getProbSys
Description copied from class:NetworkSolverReturns joint state probabilities for the entire system. This is an abstract method that must be implemented by concrete solver subclasses.- Overrides:
getProbSysin classNetworkSolver- Returns:
- result containing joint state probabilities
-
getProbSysAggr
Description copied from class:NetworkSolverReturns aggregated joint state probabilities for the entire system. This is an abstract method that must be implemented by concrete solver subclasses.- Overrides:
getProbSysAggrin classNetworkSolver- Returns:
- result containing aggregated joint state probabilities
-
getProbNormConstAggr
Description copied from class:NetworkSolverReturns the logarithm of the normalizing constant of state probabilities. This is an abstract method that must be implemented by concrete solver subclasses.- Overrides:
getProbNormConstAggrin classNetworkSolver- Returns:
- result containing the log normalizing constant
-
getAvgQLen
Get average queue lengths at steady-state- Overrides:
getAvgQLenin classNetworkSolver- Returns:
- matrix of average queue lengths [stations x classes]
-
getAvgUtil
Get average utilizations at steady-state- Overrides:
getAvgUtilin classNetworkSolver- Returns:
- matrix of average utilizations [stations x classes]
-
getAvgRespT
Get average response times at steady-state- Overrides:
getAvgRespTin classNetworkSolver- Returns:
- matrix of average response times [stations x classes]
-
getAvgResidT
Get average residence times at steady-state- Overrides:
getAvgResidTin classNetworkSolver- Returns:
- matrix of average residence times [stations x classes]
-
getAvgWaitT
Get average waiting times (queue time excluding service)- Overrides:
getAvgWaitTin classNetworkSolver- Returns:
- matrix of average waiting times [stations x classes]
-
getAvgTput
Get average throughputs at steady-state- Overrides:
getAvgTputin classNetworkSolver- Returns:
- matrix of average throughputs [stations x classes]
-
getAvgArvR
Get average arrival rates at steady-state- Overrides:
getAvgArvRin classNetworkSolver- Returns:
- matrix of average arrival rates [stations x classes]
-
getAvgQLenTable
Get average queue length table -
getAvgUtilTable
Get average utilization table -
getAvgRespTTable
Get average response time table -
getAvgTputTable
Get average throughput table -
getAvgResidTChain
Get average residence time by chain- Overrides:
getAvgResidTChainin classNetworkSolver- Returns:
- matrix of residence times [stations x chains]
-
getAvgNodeQLenChain
Get average node queue length by chain- Overrides:
getAvgNodeQLenChainin classNetworkSolver- Returns:
- matrix of node queue lengths [nodes x chains]
-
getAvgNodeUtilChain
Get average node utilization by chain- Overrides:
getAvgNodeUtilChainin classNetworkSolver- Returns:
- matrix of node utilizations [nodes x chains]
-
getAvgNodeRespTChain
Get average node response time by chain- Overrides:
getAvgNodeRespTChainin classNetworkSolver- Returns:
- matrix of node response times [nodes x chains]
-
getAvgNodeResidTChain
Get average node residence time by chain- Overrides:
getAvgNodeResidTChainin classNetworkSolver- Returns:
- matrix of node residence times [nodes x chains]
-
getAvgNodeTputChain
Get average node throughput by chain- Overrides:
getAvgNodeTputChainin classNetworkSolver- Returns:
- matrix of node throughputs [nodes x chains]
-
getAvgNodeArvRChain
Get average node arrival rate by chain- Overrides:
getAvgNodeArvRChainin classNetworkSolver- Returns:
- matrix of node arrival rates [nodes x chains]
-
getCdfPassT
Get CDF of passage times at steady-state- Overrides:
getCdfPassTin classNetworkSolver- Returns:
- result containing CDFs for passage times
-
getPerctRespT
Get response time percentiles -
getProbMarg
Get marginalized state probability -
avgTable
Alias for getAvgTable()- Overrides:
avgTablein classNetworkSolver
-
avgSysTable
Alias for getAvgSysTable()- Overrides:
avgSysTablein classNetworkSolver
-
avgNodeTable
Alias for getAvgNodeTable()- Overrides:
avgNodeTablein classNetworkSolver
-
avgChainTable
Alias for getAvgChainTable()- Overrides:
avgChainTablein classNetworkSolver
-
avg
Alias for getAvg()- Overrides:
avgin classNetworkSolver
-
avgChain
Alias for getAvgChain()- Overrides:
avgChainin classNetworkSolver
-
avgNode
Alias for getAvgNode()- Overrides:
avgNodein classNetworkSolver
-
avgQLen
Alias for getAvgQLen()- Overrides:
avgQLenin classNetworkSolver
-
avgUtil
Alias for getAvgUtil()- Overrides:
avgUtilin classNetworkSolver
-
avgRespT
Alias for getAvgRespT()- Overrides:
avgRespTin classNetworkSolver
-
avgResidT
Alias for getAvgResidT()- Overrides:
avgResidTin classNetworkSolver
-
avgWaitT
Alias for getAvgWaitT()- Overrides:
avgWaitTin classNetworkSolver
-
avgTput
Alias for getAvgTput()- Overrides:
avgTputin classNetworkSolver
-
avgArvR
Alias for getAvgArvR()- Overrides:
avgArvRin classNetworkSolver
-
avgQLenChain
Alias for getAvgQLenChain()- Overrides:
avgQLenChainin classNetworkSolver
-
avgUtilChain
Alias for getAvgUtilChain()- Overrides:
avgUtilChainin classNetworkSolver
-
avgRespTChain
Alias for getAvgRespTChain()- Overrides:
avgRespTChainin classNetworkSolver
-
avgResidTChain
Alias for getAvgResidTChain()- Overrides:
avgResidTChainin classNetworkSolver
-
avgTputChain
Alias for getAvgTputChain()- Overrides:
avgTputChainin classNetworkSolver
-
avgArvRChain
Alias for getAvgArvRChain()- Overrides:
avgArvRChainin classNetworkSolver
-
avgSysRespT
Alias for getAvgSysRespT()- Overrides:
avgSysRespTin classNetworkSolver
-
avgSysTput
Alias for getAvgSysTput()- Overrides:
avgSysTputin classNetworkSolver
-
cdfRespT
Alias for getCdfRespT()- Overrides:
cdfRespTin classNetworkSolver
-
cdfPassT
Alias for getCdfPassT()- Overrides:
cdfPassTin classNetworkSolver
-
perctRespT
Alias for getPerctRespT() -
prob
Alias for getProb() -
probAggr
Alias for getProbAggr() -
probSys
Alias for getProbSys()- Overrides:
probSysin classNetworkSolver
-
probSysAggr
Alias for getProbSysAggr()- Overrides:
probSysAggrin classNetworkSolver
-
probNormConstAggr
Alias for getProbNormConstAggr()- Overrides:
probNormConstAggrin classNetworkSolver
-
probMarg
Alias for getProbMarg() -
sample
Alias for sample() -
sampleSys
Alias for sampleSys()
-