Class SimulationDefaults
java.lang.Object
QueueNet.SimulationDefaults
Central repository for simulation engine default values that were previously
scattered as magic numbers across multiple classes.
Reference each constant from the class that originally owned the literal so
that future tuning only requires a change in one place.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intRefresh period (in simulation ticks) at which the NetController polls each node for intermediate statistics updates.static final intNumber of samples between convergence checks in the dynamic analyser.static final intInitial capacity of the hybrid and timing event queues.static final intInitial number of batches used by the batch-means confidence-interval estimator.static final intNumber of entries in the load-dependent service-time parameter cache.static final intMaximum number of samples used by the rule-based stopping criterion.static final intMaximum number of samples collected per measure before the simulation stops.static final intTime (ms) before the PA progress "About" panel auto-closes.static final intPolling interval (ms) for the statistical-outputs loader background thread. -
Method Summary
-
Field Details
-
MAX_SAMPLES
public static final int MAX_SAMPLESMaximum number of samples collected per measure before the simulation stops.- See Also:
-
CONVERGENCE_CHECK_INTERVAL
public static final int CONVERGENCE_CHECK_INTERVALNumber of samples between convergence checks in the dynamic analyser.- See Also:
-
MAX_RULE_SAMPLES
public static final int MAX_RULE_SAMPLESMaximum number of samples used by the rule-based stopping criterion.- See Also:
-
INITIAL_NUM_BATCHES
public static final int INITIAL_NUM_BATCHESInitial number of batches used by the batch-means confidence-interval estimator.- See Also:
-
ANIMATION_REFRESH_PERIOD
public static final int ANIMATION_REFRESH_PERIODRefresh period (in simulation ticks) at which the NetController polls each node for intermediate statistics updates.- See Also:
-
EVENT_QUEUE_INITIAL_CAPACITY
public static final int EVENT_QUEUE_INITIAL_CAPACITYInitial capacity of the hybrid and timing event queues. 111 is a small prime chosen to minimise hash collisions at startup.- See Also:
-
LD_STRATEGY_CACHE_SIZE
public static final int LD_STRATEGY_CACHE_SIZENumber of entries in the load-dependent service-time parameter cache.- See Also:
-
PA_ABOUT_AUTOCLOSE_MS
public static final int PA_ABOUT_AUTOCLOSE_MSTime (ms) before the PA progress "About" panel auto-closes.- See Also:
-
STATS_LOADER_POLL_MS
public static final int STATS_LOADER_POLL_MSPolling interval (ms) for the statistical-outputs loader background thread.- See Also:
-