Q - The type of SimQueues supported.public class DefaultSimQueuePrediction_SQ_SV<Q extends SimQueue> extends Object implements SimQueuePrediction_SQ_SV<Q>
SimQueuePrediction_SQ_SV.Copyright (C) 2005-2017 Jan de Jongh, TNO
This file is covered by the LICENSE file in the root of this project.
| Constructor and Description |
|---|
DefaultSimQueuePrediction_SQ_SV(Q queue,
Map<SimJob,JobQueueVisitLog<SimJob,Q>> visitLogs,
List<Map<Double,Boolean>> qavLog,
List<Map<Double,Boolean>> sacLog,
List<Map<Double,Boolean>> staLog)
Creates a new prediction.
|
| Modifier and Type | Method and Description |
|---|---|
Q |
getQueue()
Returns the
SimQueue for which this prediction was generated. |
List<Map<Double,Boolean>> |
getQueueAccessVacationLog()
Returns the predicted queue-access vacation (changes).
|
List<Map<Double,Boolean>> |
getServerAccessCreditsAvailabilityLog()
Returns the predicted server-access-credits availability.
|
List<Map<Double,Boolean>> |
getStartArmedLog()
Returns the predicted
StartArmed (changes). |
Map<SimJob,JobQueueVisitLog<SimJob,Q>> |
getVisitLogs()
Gets the predicted of job-visits (at most one per job).
|
public DefaultSimQueuePrediction_SQ_SV(Q queue, Map<SimJob,JobQueueVisitLog<SimJob,Q>> visitLogs, List<Map<Double,Boolean>> qavLog, List<Map<Double,Boolean>> sacLog, List<Map<Double,Boolean>> staLog)
queue - The queue to which the prediction applies, non-null.visitLogs - The job-visit logs, non-null.qavLog - The queue-access-vacation logs, non-null.sacLog - The server-access-credits availability logs, non-null.staLog - The StartArmed logs, non-null.IllegalArgumentException - If any of the arguments is null or improperly structured.public final Q getQueue()
SimQueuePrediction_SQ_SVSimQueue for which this prediction was generated.getQueue in interface SimQueuePrediction_SQ_SV<Q extends SimQueue>SimQueue for which this prediction was generated.public final Map<SimJob,JobQueueVisitLog<SimJob,Q>> getVisitLogs()
SimQueuePrediction_SQ_SVgetVisitLogs in interface SimQueuePrediction_SQ_SV<Q extends SimQueue>JobQueueVisitLog .public final List<Map<Double,Boolean>> getQueueAccessVacationLog()
SimQueuePrediction_SQ_SVgetQueueAccessVacationLog in interface SimQueuePrediction_SQ_SV<Q extends SimQueue>public final List<Map<Double,Boolean>> getServerAccessCreditsAvailabilityLog()
SimQueuePrediction_SQ_SVgetServerAccessCreditsAvailabilityLog in interface SimQueuePrediction_SQ_SV<Q extends SimQueue>public final List<Map<Double,Boolean>> getStartArmedLog()
SimQueuePrediction_SQ_SVStartArmed (changes).getStartArmedLog in interface SimQueuePrediction_SQ_SV<Q extends SimQueue>Copyright © 2018. All rights reserved.