Class Parameter<T>

java.lang.Object
org.uma.evolver.parameter.Parameter<T>
Type Parameters:
T - the type of the parameter value
Direct Known Subclasses:
BooleanParameter, CategoricalIntegerParameter, CategoricalParameter, RangeParameter, StringParameter

public abstract class Parameter<T> extends Object
Represents a configurable parameter with a value of type T, supporting hierarchical sub-parameters.

A Parameter can have:

  • Global sub-parameters: Always relevant, regardless of this parameter's value.
  • Specific sub-parameters: Only relevant when this parameter has a certain value or condition.
  • Non-configurable sub-parameters: Internal or fixed configuration values.

Subclasses must implement the parse(String[]) method to define how the parameter value is parsed from arguments. This class provides fluent methods for adding sub-parameters and utilities for parsing and retrieving them.