Skip to content

C-TAEA configuration

Configure ctaea through vamos.algorithms.CTAEAConfig. This page is the parameter reference, not a tutorial about the algorithm; see C-TAEA for the algorithm, its weight vectors and its budget rule.

New in VAMOS 1.2.0. The 1.0 compatibility baseline does not cover C-TAEA and CTAEAConfig yet.

from vamos.algorithms import CTAEAConfig

Configuration overview · Algorithm contracts · Optimization

CTAEAConfig dataclass

Bases: _SerializableConfig

Configuration of C-TAEA (Li et al., 2019).

pop_size is the requested number of weight vectors, at least 1. The number of vectors generated from it, N, is the size of each of the two archives (91 for 100 and three objectives), so a run's initial population and generations have N individuals. The crossover must mate parents two by two; only its first child is kept.

default(pop_size=None, n_var=None, encoding=None) classmethod

Create the default C-TAEA configuration: that of the paper and of jMetal's port.

pop_size=None means 100 requested weight vectors. Real variables use SBX (probability 1.0, distribution index 20) and polynomial mutation (probability 1/n, distribution index 20). Discrete and mixed encoding values take their crossover and mutation from the shared encoding table.

Builder methods

Use CTAEAConfig.builder() to obtain the fluent builder; do not import the private builder class directly. The methods below are generated from that returned object, so their signatures are not maintained as a second manual parameter table.

Bases: _ConfigBuilderState, _PopSizeBuilder, _CrossoverBuilder, _MutationBuilder, _RepairBuilder, _InitializerBuilder, _ConstraintModeBuilder, _ResultArchiveBuilder

Fluent builder for C-TAEA configs.

Examples: cfg = CTAEAConfig.default(n_var=12) cfg = CTAEAConfig.builder().pop_size(100).crossover("sbx", prob=1.0, eta=20.0).mutation("pm", prob="1/n", eta=20.0).build()