| Constructor and Description |
|---|
DecoderParameters() |
DecoderParameters(boolean strict) |
DecoderParameters(boolean strict,
boolean allDecodes,
boolean removeDefaultedParameters,
boolean recursive,
Double frequencyTolerance,
Double absoluteTolerance,
Double relativeTolerance,
Double minimumLeadout,
boolean override,
boolean ignoreLeadingGarbage) |
DecoderParameters(boolean strict,
Double frequencyTolerance,
Double absoluteTolerance,
Double relativeTolerance,
Double minimumLeadout) |
| Modifier and Type | Method and Description |
|---|---|
Decoder.DecoderParameters |
adjust(boolean newStrict,
Double frequencyTolerance,
Double absoluteTolerance,
Double relativeTolerance,
Double minimumLeadout) |
Double |
getAbsoluteTolerance() |
Double |
getFrequencyTolerance() |
Double |
getMinimumLeadout() |
Double |
getRelativeTolerance() |
boolean |
isAllDecodes() |
boolean |
isOverride() |
boolean |
isRecursive() |
boolean |
isRemoveDefaultedParameters() |
boolean |
isStrict() |
void |
setAbsoluteTolerance(Double absoluteTolerance) |
void |
setAllDecodes(boolean allDecodes) |
void |
setFrequencyTolerance(Double frequencyTolerance) |
void |
setIgnoreLeadingGarbage(boolean ignoreLeadingGarbage) |
void |
setMinimumLeadout(Double minimumLeadout) |
void |
setOverride(boolean override) |
void |
setRecursive(boolean recursive) |
void |
setRelativeTolerance(Double relativeTolerance) |
void |
setRemoveDefaultedParameters(boolean removeDefaultedParameters) |
void |
setStrict(boolean strict) |
String |
toString() |
public DecoderParameters(boolean strict,
boolean allDecodes,
boolean removeDefaultedParameters,
boolean recursive,
Double frequencyTolerance,
Double absoluteTolerance,
Double relativeTolerance,
Double minimumLeadout,
boolean override,
boolean ignoreLeadingGarbage)
strict - If true, intro-, repeat-, and ending sequences are
required to match exactly.allDecodes - If true, output all possible decodes. Otherwise,
remove decodes according to prefer-over.removeDefaultedParameters - If true, remove parameters with
value equals to their default.recursive - frequencyTolerance - absoluteTolerance - relativeTolerance - minimumLeadout - override - If true, the given parameters override parameter specific parameter values.ignoreLeadingGarbage - public DecoderParameters()
public DecoderParameters(boolean strict)
public Decoder.DecoderParameters adjust(boolean newStrict, Double frequencyTolerance, Double absoluteTolerance, Double relativeTolerance, Double minimumLeadout)
public boolean isStrict()
public boolean isAllDecodes()
public boolean isRemoveDefaultedParameters()
public boolean isRecursive()
public Double getFrequencyTolerance()
public Double getAbsoluteTolerance()
public Double getRelativeTolerance()
public Double getMinimumLeadout()
public boolean isOverride()
public void setStrict(boolean strict)
strict - the strict to setpublic void setAllDecodes(boolean allDecodes)
allDecodes - the allDecodes to setpublic void setRemoveDefaultedParameters(boolean removeDefaultedParameters)
removeDefaultedParameters - the removeDefaultedParameters to setpublic void setRecursive(boolean recursive)
recursive - the recursive to setpublic void setFrequencyTolerance(Double frequencyTolerance)
frequencyTolerance - the frequencyTolerance to setpublic void setAbsoluteTolerance(Double absoluteTolerance)
absoluteTolerance - the absoluteTolerance to setpublic void setRelativeTolerance(Double relativeTolerance)
relativeTolerance - the relativeTolerance to setpublic void setMinimumLeadout(Double minimumLeadout)
minimumLeadout - the minimumLeadout to setpublic void setOverride(boolean override)
public void setIgnoreLeadingGarbage(boolean ignoreLeadingGarbage)
Copyright © 2019. All rights reserved.