Interface EnumeratedParameter<T>
- Type Parameters:
T
- the type of the parameter
- All Superinterfaces:
Named
,Parameter<T>
,SampledParameter<T>
- All Known Implementing Classes:
Enumeration
Interface for enumerated parameters that can either enumerate all possible values or produce a sampling.
-
Method Summary
Methods inherited from interface org.moeaframework.analysis.parameter.Parameter
assignValue, encode, parse, readValue
Methods inherited from interface org.moeaframework.analysis.parameter.SampledParameter
sample
-
Method Details
-
values
Returns all possible values produced by this enumeration.- Returns:
- the values
-
enumerate
Enumerates the parameters by creating a "cross join" with the existing samples. If givenN
samples as input, the result will containN * values().size()
samples.- Parameters:
samples
- the input samples- Returns:
- the enumerated samples including this parameter
-