Class SolverDES
-
- All Implemented Interfaces:
public class SolverDES extends NetworkSolver
- Since:
1.0
QORE Lab, Imperial College London
-
-
Field Summary
Fields Modifier and Type Field Description public Networkmodelpublic NetworkStructsnpublic SolverAvgHandlesavgHandlespublic SolverTranHandlestranHandlespublic Modelmodelpublic Stringnamepublic SolverOptionsoptionspublic SolverResultresultpublic booleanenableCheckspublic Randomrandom
-
Constructor Summary
Constructors Constructor Description SolverDES(Network model)Constructs a SolverDES with the given model using default options. SolverDES(Network model, Array<Object> args)Constructs a SolverDES with the given model and variable arguments. SolverDES(Network model, String method)Constructs a SolverDES with the given model and method. SolverDES(Network model, SolverOptions options)Constructs a SolverDES with the given model and options.
-
Method Summary
Modifier and Type Method Description static FeatureSetgetFeatureSet()Returns the feature set supported by the DES solver. NetworkStructgetStruct()Returns the network structure for this solver. voidgetTranAvg()Performs a transient analysis of the model using discrete event simulation. List<String>listValidMethods()Returns the list of valid solution methods for DES. List<String>listValidMethods(Network model)Returns the list of valid solution methods for DES. voidrunAnalyzer()Executes the solver algorithm to analyze the model. booleansupports(Network model)Checks if this solver supports the given network model. static SolverOptionsdefaultOptions()Returns the default solver options for the DES solver. -
Methods inherited from class jline.solvers.NetworkSolver
avg, avg, avg, avgArvR, avgArvRChain, avgArvRHandles, avgChain, avgChainTable, avgChainTable, avgChainTable, avgChainTable, avgChainTable, avgChainTable, avgHandles, avgNode, avgNodeArvRChain, avgNodeChain, avgNodeChainTable, avgNodeChainTable, avgNodeChainTable, avgNodeChainTable, avgNodeChainTable, avgNodeChainTable, avgNodeQLenChain, avgNodeResidTChain, avgNodeRespTChain, avgNodeTable, avgNodeTable, avgNodeTable, avgNodeTable, avgNodeTable, avgNodeTable, avgNodeTputChain, avgNodeUtilChain, avgQLen, avgQLenChain, avgQLenHandles, avgResidT, avgResidTChain, avgResidTHandles, avgRespT, avgRespTChain, avgRespTHandles, avgSys, avgSysRespT, avgSysTable, avgSysTable, avgSysTable, avgSysTput, avgTable, avgTable, avgTable, avgTable, avgTable, avgTable, avgTput, avgTputChain, avgTputHandles, avgUtil, avgUtilChain, avgUtilHandles, avgWaitT, cdfPassT, cdfPassT, cdfRespT, cdfRespT, getAllSolvers, getAvg, getAvg, getAvg, getAvgArvR, getAvgArvRChain, getAvgArvRHandles, getAvgChain, getAvgChainTable, getAvgChainTable, getAvgChainTable, getAvgChainTable, getAvgChainTable, getAvgChainTable, getAvgHandles, getAvgNode, getAvgNodeArvRChain, getAvgNodeChain, getAvgNodeChainTable, getAvgNodeChainTable, getAvgNodeChainTable, getAvgNodeChainTable, getAvgNodeChainTable, getAvgNodeChainTable, getAvgNodeQLenChain, getAvgNodeResidTChain, getAvgNodeRespTChain, getAvgNodeTable, getAvgNodeTable, getAvgNodeTable, getAvgNodeTable, getAvgNodeTable, getAvgNodeTable, getAvgNodeTputChain, getAvgNodeUtilChain, getAvgQLen, getAvgQLenChain, getAvgQLenHandles, getAvgResidT, getAvgResidTChain, getAvgResidTHandles, getAvgRespT, getAvgRespTChain, getAvgRespTHandles, getAvgSys, getAvgSys, getAvgSys, getAvgSysRespT, getAvgSysTable, getAvgSysTable, getAvgSysTable, getAvgSysTput, getAvgTable, getAvgTable, getAvgTable, getAvgTable, getAvgTable, getAvgTable, getAvgTput, getAvgTputChain, getAvgTputHandles, getAvgUtil, getAvgUtilChain, getAvgUtilHandles, getAvgWaitT, getCdfPassT, getCdfPassT, getCdfRespT, getCdfRespT, getModel, getProb, getProb, getProbAggr, getProbAggr, getProbMarg, getProbMarg, getProbNormConstAggr, getProbSys, getProbSysAggr, getStageTable, getStageTable, getTranCdfPassT, getTranCdfPassT, getTranCdfRespT, getTranCdfRespT, getTranHandles, hasAvgResults, hasDistribResults, hasTranResults, initHandles, model, print, prob, prob, probAggr, probAggr, probMarg, probMarg, probNormConstAggr, probSys, probSysAggr, runAnalyzerChecks, sample, sampleAggr, sampleSys, sampleSysAggr, setAvgHandles, setAvgResults, setDistribResults, setLang, setModel, setTranAvgResults, setTranHandles, setTranProb, stageTable, tranAvg, tranCdfPassT, tranCdfPassT, tranCdfRespT, tranCdfRespT, tranHandles -
Methods inherited from class jline.solvers.Solver
getName, getOptions, getResults, hasResults, isJavaAvailable, isValidOption, listValidOptions, parseOptions, parseOptions, reset, resetRandomGeneratorSeed, setChecks, setOptions -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
SolverDES
SolverDES(Network model)
Constructs a SolverDES with the given model using default options.- Parameters:
model- the queueing network model to solve
-
SolverDES
SolverDES(Network model, Array<Object> args)
Constructs a SolverDES with the given model and variable arguments.- Parameters:
model- the queueing network model to solveargs- variable arguments for solver options
-
SolverDES
SolverDES(Network model, String method)
Constructs a SolverDES with the given model and method.- Parameters:
model- the queueing network model to solvemethod- the solution method to use
-
SolverDES
SolverDES(Network model, SolverOptions options)
Constructs a SolverDES with the given model and options.- Parameters:
model- the queueing network model to solveoptions- solver configuration options
-
-
Method Detail
-
getFeatureSet
static FeatureSet getFeatureSet()
Returns the feature set supported by the DES solver. Supports multiclass Jackson queueing networks with FCFS queues.
- Returns:
the feature set supported by the DES solver
-
getStruct
NetworkStruct getStruct()
Returns the network structure for this solver.
- Returns:
the network structure
-
getTranAvg
void getTranAvg()
Performs a transient analysis of the model using discrete event simulation. The simulation is run for the time horizon specified in options.timespan. If options.timespan is not specified, it defaults to [0, 30/min_rate]. The number of replications is determined by options.samples.
-
listValidMethods
List<String> listValidMethods()
Returns the list of valid solution methods for DES.
- Returns:
list of valid method names
-
listValidMethods
List<String> listValidMethods(Network model)
Returns the list of valid solution methods for DES.
- Parameters:
model- the network model (unused, for interface compatibility)- Returns:
list of valid method names
-
runAnalyzer
void runAnalyzer()
Executes the solver algorithm to analyze the model. This abstract method must be implemented by concrete solver classes.
-
supports
boolean supports(Network model)
Checks if this solver supports the given network model. Default implementation returns true; subclasses should override to provide specific feature validation.
- Parameters:
model- the network model to check- Returns:
true if the model is supported, false otherwise
-
defaultOptions
static SolverOptions defaultOptions()
Returns the default solver options for the DES solver.
- Returns:
Default solver options with SolverType.DES
-
-
-
-