public class ZipfRandomContextGenerator extends UniformRandomContextGenerator implements com.exalead.util.Checkable, java.io.Serializable
UniformRandomContextGenerator.Transformer<T>, UniformRandomContextGenerator.Values
DocumentProcessor.FromDataModel
Modifier and Type | Field and Description |
---|---|
double |
parameter |
modulo, outputContext, values
acceptCondition, dataModelClass, dataModelProperty, dataModelState, DEFAULT_DISABLED, disabled, fromDataModel, name
Constructor and Description |
---|
ZipfRandomContextGenerator() |
ZipfRandomContextGenerator(ZipfRandomContextGenerator o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(DocumentProcessor.Transformer<T> transformer,
T[] t) |
<T> T |
accept(UniformRandomContextGenerator.Transformer<T> transformer,
T[] t) |
void |
check(boolean deep,
java.lang.String errorContext)
Checks this ZipfRandomContextGenerator.
|
static ZipfRandomContextGenerator |
fromString(java.lang.String s)
String representation of this ZipfRandomContextGenerator.
|
double |
getParameter()
The exponent characterizing the distribution.
|
ZipfRandomContextGenerator |
makeCopy()
Creates and returns a deep copy of this ZipfRandomContextGenerator.
|
static ZipfRandomContextGenerator |
readFrom(java.io.InputStream is)
Read this ZipfRandomContextGenerator from an XML fragment.
|
void |
setParameter(double parameter)
The exponent characterizing the distribution.
|
java.lang.String |
toString()
String representation of this ZipfRandomContextGenerator.
|
ZipfRandomContextGenerator |
withAcceptCondition(AcceptCondition acceptCondition) |
ZipfRandomContextGenerator |
withDataModelClass(java.lang.String dataModelClass) |
ZipfRandomContextGenerator |
withDataModelProperty(java.lang.String dataModelProperty) |
ZipfRandomContextGenerator |
withDataModelState(java.lang.String dataModelState) |
ZipfRandomContextGenerator |
withDisabled(boolean disabled) |
ZipfRandomContextGenerator |
withDisabled(java.lang.Boolean disabled) |
ZipfRandomContextGenerator |
withFromDataModel(DocumentProcessor fromDataModel) |
ZipfRandomContextGenerator |
withModulo(int modulo) |
ZipfRandomContextGenerator |
withModulo(java.lang.Integer modulo) |
ZipfRandomContextGenerator |
withName(java.lang.String name) |
ZipfRandomContextGenerator |
withOutputContext(java.lang.String outputContext) |
ZipfRandomContextGenerator |
withParameter(double parameter) |
ZipfRandomContextGenerator |
withValues(java.util.Collection<StringValue> __values) |
ZipfRandomContextGenerator |
withValues(StringValue... __values)
List of possible values.
|
void |
writeTo(java.io.OutputStream os)
Write this ZipfRandomContextGenerator as an XML fragment
|
getModulo, getOutputContext, getValues, setModulo, setOutputContext, setValues, withValues
getAcceptCondition, getDataModelClass, getDataModelProperty, getDataModelState, getFromDataModel, getName, isDisabled, setAcceptCondition, setDataModelClass, setDataModelProperty, setDataModelState, setDisabled, setFromDataModel, setName
public ZipfRandomContextGenerator()
public ZipfRandomContextGenerator(ZipfRandomContextGenerator o)
public ZipfRandomContextGenerator withOutputContext(java.lang.String outputContext)
withOutputContext
in class UniformRandomContextGenerator
public ZipfRandomContextGenerator withValues(StringValue... __values)
withValues
in class UniformRandomContextGenerator
public ZipfRandomContextGenerator withValues(java.util.Collection<StringValue> __values)
withValues
in class UniformRandomContextGenerator
public ZipfRandomContextGenerator withModulo(int modulo)
withModulo
in class UniformRandomContextGenerator
public ZipfRandomContextGenerator withModulo(java.lang.Integer modulo)
withModulo
in class UniformRandomContextGenerator
public ZipfRandomContextGenerator withAcceptCondition(AcceptCondition acceptCondition)
withAcceptCondition
in class UniformRandomContextGenerator
public ZipfRandomContextGenerator withName(java.lang.String name)
withName
in class UniformRandomContextGenerator
public ZipfRandomContextGenerator withDataModelState(java.lang.String dataModelState)
withDataModelState
in class UniformRandomContextGenerator
public ZipfRandomContextGenerator withFromDataModel(DocumentProcessor fromDataModel)
withFromDataModel
in class UniformRandomContextGenerator
public ZipfRandomContextGenerator withDataModelClass(java.lang.String dataModelClass)
withDataModelClass
in class UniformRandomContextGenerator
public ZipfRandomContextGenerator withDataModelProperty(java.lang.String dataModelProperty)
withDataModelProperty
in class UniformRandomContextGenerator
public ZipfRandomContextGenerator withDisabled(boolean disabled)
withDisabled
in class UniformRandomContextGenerator
public ZipfRandomContextGenerator withDisabled(java.lang.Boolean disabled)
withDisabled
in class UniformRandomContextGenerator
public void setParameter(double parameter)
public double getParameter()
public ZipfRandomContextGenerator withParameter(double parameter)
public ZipfRandomContextGenerator makeCopy()
makeCopy
in class UniformRandomContextGenerator
public static ZipfRandomContextGenerator readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
writeTo
in class UniformRandomContextGenerator
javax.xml.bind.JAXBException
java.io.IOException
public static ZipfRandomContextGenerator fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class UniformRandomContextGenerator
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class UniformRandomContextGenerator
com.exalead.util.TypedException
public <T> T accept(UniformRandomContextGenerator.Transformer<T> transformer, T[] t) throws com.exalead.util.TypedException
accept
in class UniformRandomContextGenerator
com.exalead.util.TypedException
public <T> T accept(DocumentProcessor.Transformer<T> transformer, T[] t) throws com.exalead.util.TypedException
accept
in class UniformRandomContextGenerator
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.