TrapFunktion
TrapFunktion, or trap function, is a class of deceptive fitness landscapes used in the study of optimization and evolutionary computation. It is defined on binary strings and typically built by partitioning a string of length n into non-overlapping blocks of equal length k. The fitness contributed by each block depends on how many ones the block contains, following a predefined trap curve.
The construction yields a conflict between local and global optima. For many blocks with intermediate numbers
Trap functions are used to investigate the behavior of genetic algorithms and other decomposition-based search methods,
Several variants exist, differing in the exact mapping from the number of ones to block fitness and
In literature, trap functions are contrasted with unimodal, rugged, and modular landscapes to understand how algorithms