Package jline.api.sim
Class QuestOptions
java.lang.Object
jline.api.sim.QuestOptions
Procedure constants of
Sim_fquest and Sim_firquest.
The defaults are the ones the articles report after their own
experimentation: b0 = 50 gives the warmup randomness test enough
power, 32 batches suffice to estimate the variance parameter while fewer than
10 make the interval unreliable, and the decaying warmup significance keeps the
batch size from growing so far that truncation eats a short sample. With these
values the fourth warmup iteration runs at
beta*exp(-0.2*3^2.3) = 0.025.
Sim_firquest substitutes b0 = 25 and an s chosen from
the replication count; see Sim_firquest.defaultBatchCounts(int).
Port of MATLAB sim_quest_options.m.
- Since:
- LINE 3.1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionintInitial batch count for the warmup stage.doubleSignificance level of the stage tests.doubleDecay coefficient of the warmup significance.booleanWhether to deliver a heuristic interval when a stage test fails.intInitial batch size for the warmup stage.int[]Descending batch counts for the test stages.doubleDecay exponent of the warmup significance.doubleConstant STS weight function. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
b0
public int b0Initial batch count for the warmup stage. -
m0
public int m0Initial batch size for the warmup stage. -
s
public int[] sDescending batch counts for the test stages. -
beta
public double betaSignificance level of the stage tests. -
eta
public double etaDecay coefficient of the warmup significance. -
theta
public double thetaDecay exponent of the warmup significance. -
weight
public double weightConstant STS weight function. -
force
public boolean forceWhether to deliver a heuristic interval when a stage test fails.
-
-
Constructor Details
-
QuestOptions
public QuestOptions()
-
-
Method Details
-
validate
public void validate()Rejects inadmissible option values.- Throws:
IllegalArgumentException- when a field is out of range
-