Package jline.solvers.ldes
Class LDESResult
java.lang.Object
jline.solvers.SolverResult
jline.solvers.ldes.LDESResult
- Since:
- 1.0
- Author:
- QORE Lab, Imperial College London
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionConfidence interval half-widths for arrival rates [stations x classes]Average orbit size (time-weighted mean jobs in orbit) [stations x classes]Average wait time before reneging [stations x classes]Number of customers who balked (refused to join upon arrival) [stations x classes]Balking probability (balked / arrivals) [stations x classes]booleanFlag indicating whether the simulation converged before reaching max events/timeintNumber of batches used for final confidence interval estimationPassage time samples for empirical CDF computation [stations][classes].Confidence interval half-widths for queue lengths [stations x classes]Relative precision achieved for queue lengths (CI half-width / mean) [stations x classes]Number of samples (observations) used for queue length estimation [stations x classes]Number of customers who reneged (abandoned queue due to expired patience) [stations x classes]Reneging rate (reneged / (completed + reneged + dropped)) [stations x classes]Response time samples for empirical CDF computation [stations][classes].Number of customers dropped after exceeding max retrial attempts [stations x classes]Number of successful retrial attempts (customers who re-entered queue from orbit) [stations x classes]Confidence interval half-widths for response times [stations x classes]Relative precision achieved for response times (CI half-width / mean) [stations x classes]Number of samples (observations) used for response time estimation [stations x classes]Network structure used for the analysisStopping reason: "convergence", "max_events", or "max_time"Confidence interval half-widths for throughputs [stations x classes]Relative precision achieved for throughputs (CI half-width / mean) [stations x classes]Number of samples (observations) used for throughput estimation [stations x classes]longTotal number of simulated service completion eventsTransient aggregated state probabilities per node [nodeIdx] -> [numTimePoints x numAggrStates].Transient aggregated state space per node [nodeIdx] -> [numAggrStates x numClasses].Transient state probabilities over time [numTimePoints x numStates].Transient state space matrix [numStates x stateVectorLength].Time points for transient probability analysis.Transient synchronization matrix for multi-class coordinationTransient system state matrices indexed by time pointsConfidence interval half-widths for utilizations [stations x classes]Relative precision achieved for utilizations (CI half-width / mean) [stations x classes]Number of samples (observations) used for utilization estimation [stations x classes]Variance reduction method used during simulation.Confidence interval half-widths for residence times [stations x classes] -
Constructor Summary
ConstructorsConstructorDescriptionConstructs an empty LDESResult to allow field population from different sources.LDESResult(Matrix QN, Matrix UN, Matrix RN, Matrix TN, Matrix CN, Matrix XN, Map<Integer, Matrix> tranSysState, Matrix tranSync, NetworkStruct sn) Constructs a LDESResult with the specified performance metrics and state information. -
Method Summary
Modifier and TypeMethodDescriptionvoidinitRespTimeSamples(int nStations, int nClasses) Initializes the respTimeSamples array with empty lists for each (station, class) pair.Methods inherited from class jline.solvers.SolverResult
deepCopy, reset
-
Field Details
-
tranSysState
Transient system state matrices indexed by time points -
tranSync
Transient synchronization matrix for multi-class coordination -
sn
Network structure used for the analysis -
QNCI
Confidence interval half-widths for queue lengths [stations x classes] -
UNCI
Confidence interval half-widths for utilizations [stations x classes] -
RNCI
Confidence interval half-widths for response times [stations x classes] -
TNCI
Confidence interval half-widths for throughputs [stations x classes] -
ANCI
Confidence interval half-widths for arrival rates [stations x classes] -
WNCI
Confidence interval half-widths for residence times [stations x classes] -
varianceReductionMethod
Variance reduction method used during simulation. Values: "none" (default), "antithetic", "control", "both" - "none": Standard simulation without variance reduction - "antithetic": Antithetic variates using synchronized 1-U method - "control": Control variates using mean-based correction - "both": Combined antithetic and control variates -
converged
public boolean convergedFlag indicating whether the simulation converged before reaching max events/time -
stoppingReason
Stopping reason: "convergence", "max_events", or "max_time" -
convergenceBatches
public int convergenceBatchesNumber of batches used for final confidence interval estimation -
totalSimulatedEvents
public long totalSimulatedEventsTotal number of simulated service completion events -
QNSamples
Number of samples (observations) used for queue length estimation [stations x classes] -
UNSamples
Number of samples (observations) used for utilization estimation [stations x classes] -
RNSamples
Number of samples (observations) used for response time estimation [stations x classes] -
TNSamples
Number of samples (observations) used for throughput estimation [stations x classes] -
QNRelPrec
Relative precision achieved for queue lengths (CI half-width / mean) [stations x classes] -
UNRelPrec
Relative precision achieved for utilizations (CI half-width / mean) [stations x classes] -
RNRelPrec
Relative precision achieved for response times (CI half-width / mean) [stations x classes] -
TNRelPrec
Relative precision achieved for throughputs (CI half-width / mean) [stations x classes] -
renegedCustomers
Number of customers who reneged (abandoned queue due to expired patience) [stations x classes] -
avgRenegingWaitTime
Average wait time before reneging [stations x classes] -
renegingRate
Reneging rate (reneged / (completed + reneged + dropped)) [stations x classes] -
balkedCustomers
Number of customers who balked (refused to join upon arrival) [stations x classes] -
balkingProbability
Balking probability (balked / arrivals) [stations x classes] -
retriedCustomers
Number of successful retrial attempts (customers who re-entered queue from orbit) [stations x classes] -
retrialDropped
Number of customers dropped after exceeding max retrial attempts [stations x classes] -
avgOrbitSize
Average orbit size (time-weighted mean jobs in orbit) [stations x classes] -
respTimeSamples
Response time samples for empirical CDF computation [stations][classes]. Each element is a list of individual response time observations. -
passTimeSamples
Passage time samples for empirical CDF computation [stations][classes]. Passage times track time from arrival to departure including routing delays. -
tranProbT
Time points for transient probability analysis. -
tranProbPit
Transient state probabilities over time [numTimePoints x numStates]. Each row contains probability distribution at that time point. -
tranProbStateSpace
Transient state space matrix [numStates x stateVectorLength]. Defines the state corresponding to each column in tranProbPit. -
tranProbAggrPit
Transient aggregated state probabilities per node [nodeIdx] -> [numTimePoints x numAggrStates]. -
tranProbAggrStateSpace
Transient aggregated state space per node [nodeIdx] -> [numAggrStates x numClasses].
-
-
Constructor Details
-
LDESResult
public LDESResult()Constructs an empty LDESResult to allow field population from different sources. -
LDESResult
public LDESResult(Matrix QN, Matrix UN, Matrix RN, Matrix TN, Matrix CN, Matrix XN, Map<Integer, Matrix> tranSysState, Matrix tranSync, NetworkStruct sn) Constructs a LDESResult with the specified performance metrics and state information.- Parameters:
QN- queue lengths [stations x classes]UN- utilizations [stations x classes]RN- response times [stations x classes]TN- throughputs [stations x classes]CN- visit counts [stations x classes]XN- arrival rates [stations x classes]tranSysState- transient system states indexed by timetranSync- transient synchronization matrixsn- network structure information
-
-
Method Details
-
initRespTimeSamples
public void initRespTimeSamples(int nStations, int nClasses) Initializes the respTimeSamples array with empty lists for each (station, class) pair.- Parameters:
nStations- number of stationsnClasses- number of classes
-