Package evo.search.ga.mutators
Interface DiscreteAlterer
-
- All Superinterfaces:
io.jenetics.Alterer<DiscreteGene,Double>
- All Known Implementing Classes:
DistanceMutator,PositionMutator,SwapDistanceMutator,SwapGeneMutator,SwapPositionsMutator,SwapPropertyMutator
public interface DiscreteAlterer extends io.jenetics.Alterer<DiscreteGene,Double>
Wrapper for allAlterers working withDiscreteGenes. Notice: All discrete alterers have to implement a constructor with a double argument for the reflection to work.- Since:
- 0.0.1
- Author:
- jotoh
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static List<Class<? extends DiscreteAlterer>>getSubclasses()Get all of the implementations ofDiscreteAlterer.doubleprobability()Get the probability for theConfigPanelview.
-
-
-
Method Detail
-
getSubclasses
static List<Class<? extends DiscreteAlterer>> getSubclasses()
Get all of the implementations ofDiscreteAlterer.- Returns:
- list of discrete alterer implementations
-
probability
double probability()
Get the probability for theConfigPanelview.- Returns:
- the alterers probability
-
-