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 allAlterer
s working withDiscreteGene
s. 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
.double
probability()
Get the probability for theConfigPanel
view.
-
-
-
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 theConfigPanel
view.- Returns:
- the alterers probability
-
-