ABS_REF_PERIODS, BIAS, BP_TRAINING, decoder, DELAYS, evolver, FUNCTIONS, id, LINKS, maxValue, minValue, NEURONS, params, PATTERNS, REL_REF_PERIODS, RPROP_TRAINING, SPLINE, THRESHOLDS, valueCount, WEIGHTS
Constructor and Description |
---|
RealValues(Decoder decoder)
Constructs a single value in the unit interval.
|
RealValues(Decoder decoder,
double minValue,
double maxValue)
Constructs a single value with min and max value.
|
RealValues(Decoder decoder,
int valueCount)
Constructs a number of values in the unit interval.
|
RealValues(Decoder decoder,
int valueCount,
double minValue,
double maxValue)
Constructs the feature.
|
Modifier and Type | Method and Description |
---|---|
void |
develop()
Develops the feature by decoding all real values.
|
double[] |
getValues()
Returns the evolved real values.
|
void |
setup(Evolver evolver)
Sets up the feature parameters.
|
compareTo, getDecoder, getField, getId, getMaxValue, getMinValue, getValueCount, setDecoder, setMaxValue, setMinValue, setupFields, toString
public RealValues(Decoder decoder)
decoder
- a decoderpublic RealValues(Decoder decoder, int valueCount)
decoder
- a decodervalueCount
- the number of valuespublic RealValues(Decoder decoder, double minValue, double maxValue)
decoder
- a decoderminValue
- the min valuemaxValue
- the max valuepublic RealValues(Decoder decoder, int valueCount, double minValue, double maxValue)
decoder
- a decodervalueCount
- the number of valuesminValue
- the minimal valuemaxValue
- the maximal valuepublic void setup(Evolver evolver)
public void develop()
public double[] getValues()