All Packages Class Hierarchy This Package Previous Next Index
Interface evolution.Gene
- public interface Gene
The atomic entity of genetic information.
-
mutate(float, RandomGenerator)
- Mutate myself.
mutate
public abstract Gene mutate(float probability,
RandomGenerator rg) throws NoRandomGeneratorException
- Mutate myself.
- Parameters:
- probability - the mutation probability
- RandomGenerator - the
RandomGenerator object to use.
- Throws: NoRandomGeneratorException
- if
rg = nil
All Packages Class Hierarchy This Package Previous Next Index