public class BOAparameter
extends java.lang.Object
implements java.io.Serializable
Tournament
. However, these are also stored in the
BOAagentRepository
and in BOAcomponent
, where we would expect
no such generating stuff.
Class used to store the information of a BOA parameter. If lower and higher
bound is used, it also requires a step size and all in-between values in the
range are being generated immediately. Basically, what is stored is
[Lowerbound:Stepsize:Upperbound]. [1:5:20] = {1, 6, 11, 16}.
Please report bugs to author.Constructor and Description |
---|
BOAparameter(java.lang.String name,
java.math.BigDecimal low,
java.math.BigDecimal high,
java.math.BigDecimal step)
Describes a parameter for a BOA component.
|
BOAparameter(java.lang.String name,
java.math.BigDecimal low,
java.math.BigDecimal high,
java.math.BigDecimal step,
java.lang.String description)
Describes a parameter for a decoupled component.
|
BOAparameter(java.lang.String name,
java.math.BigDecimal defaultValue,
java.lang.String description)
Describes a parameter for a BOA component.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
java.math.BigDecimal |
getHigh() |
java.math.BigDecimal |
getLow() |
java.lang.String |
getName() |
java.math.BigDecimal |
getStep() |
java.util.HashSet<Pair<java.lang.String,java.math.BigDecimal>> |
getValuePairs()
Returns all values of the parameters which satisfy
[Lowerbound:Stepsize:Upperbound].
|
java.lang.String |
toString() |
java.lang.String |
toXML() |
public BOAparameter(java.lang.String name, java.math.BigDecimal low, java.math.BigDecimal high, java.math.BigDecimal step)
name
- of the parameter.low
- value of the range.high
- value of the range.step
- of the range.public BOAparameter(java.lang.String name, java.math.BigDecimal defaultValue, java.lang.String description)
name
- defaultValue
- description
- public BOAparameter(java.lang.String name, java.math.BigDecimal low, java.math.BigDecimal high, java.math.BigDecimal step, java.lang.String description)
name
- of the parameter.low
- value of the range.high
- value of the range.step
- of the range.description
- of the parameter.public java.util.HashSet<Pair<java.lang.String,java.math.BigDecimal>> getValuePairs()
public java.lang.String getName()
public java.math.BigDecimal getLow()
public java.math.BigDecimal getHigh()
public java.math.BigDecimal getStep()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getDescription()
public java.lang.String toXML()