alogos.systems.whge.neighborhood
¶
Neighborhood functions to generate nearby genotypes for WHGE.
Functions¶
|
Generate nearby genotypes by flipping n bits. |
Detailed object descriptions¶
- alogos.systems.whge.neighborhood.bit_flip(grammar, genotype, parameters=None)[source]¶
Generate nearby genotypes by flipping n bits.
- Parameters:
grammar (
Grammar
)genotype (
Genotype
)parameters (
dict
orParameterCollection
, optional) – Following keyword-value pairs are considered by this function:
- Returns: