Module problem_generator::problem::codomain_subclasses[][src]

Expand description

Module with all implemented codomain subclasses that can be generated with the codomain generator.

Enums

Enum to represent various codomain classes

Functions

Generate NKp codomain values The p value indicated the percentage of codomain values to be 0, per clique

Generate NKq codomain values The q value indicates the highest integer value possible, every codomain value is generated randomly between 0..q(exclusive)

Generate random codomain values

Generate the codomain for the combination of random and deceptive trap codomain functions: With probability p_deceptive, each clique/subfunction is a deceptive trap function, and with probability (1 - p_deceptive) each clique/subfunction is a random function.

Constrcut a trap codomain, with the definition as in http://www.cs.uu.nl/docs/vakken/ea/pdf/Prac1.pdf

Generate general deceptive trap values: For each subfunction, the local deceptor / local deceptive attractor is a random bit string of length k and the local optimum is the inverse of that random bit string. The codomain values for each bit string other than these two is defined by their hamming distance to the local deceptive attractor: 0.9 - d * 0.9/k , where d is the hamming distance to the local deceptive attractor. The codomain value for the local optimum is 1.0