public class GeneratorOption extends Object
Modifier and Type | Field | Description |
---|---|---|
int |
cutBackDepth |
if the generated element exceeds this depth,
the generator tries to cut back.
|
DataTypeGenerator |
dtGenerator |
|
boolean |
insertComment |
if set to true, comments are inserted whenever an error is generated.
|
com.sun.msv.generator.NameGenerator |
nameGenerator |
|
ExpressionPool |
pool |
|
double |
probAttrNameTypo |
probability of "attribute name typo" per # of attributes.
|
double |
probElemNameTypo |
probability of "element name typo" per # of elements.
|
double |
probGreedyChoiceError |
probability of "greedy choice error" per # of choice.
|
double |
probMissingAttrError |
probability of "missing attribute error" per # of attributes.
|
double |
probMissingElemError |
probability of "missing element error" per # of elements.
|
double |
probMissingPlus |
probability of "missing plus error" per # of '+' operator.
|
double |
probMutatedAttrError |
probability of "mutated attribute error" per # of attributes.
|
double |
probMutatedElemError |
probability of "mutated element error" per # of elements.
|
double |
probSeqError |
probability of "sequencing error" per # of sequences.
|
double |
probSlipInAttrError |
probability of "slip-in attribute error" per # of attributes.
|
double |
probSlipInElemError |
probability of "slip-in element error" per # of elements.
|
Random |
random |
random number generator.
|
Rand |
width |
this object is responsible to calculate how many times '*' or '+' is repeated.
|
Constructor | Description |
---|---|
GeneratorOption() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
errorSpecified() |
|
void |
fillInByDefault() |
fills unspecified parameters by default values.
|
public Random random
public int cutBackDepth
public Rand width
public com.sun.msv.generator.NameGenerator nameGenerator
public DataTypeGenerator dtGenerator
public ExpressionPool pool
public double probSeqError
public double probMissingElemError
public double probMissingPlus
public double probSlipInElemError
public double probMutatedElemError
public double probMissingAttrError
public double probSlipInAttrError
public double probMutatedAttrError
public double probGreedyChoiceError
public double probElemNameTypo
public double probAttrNameTypo
public boolean insertComment
Copyright © 2019 Oracle Corporation. All rights reserved.