Package org.opt4j.optimizer.ea
Interface CrossoverRate
-
- All Known Implementing Classes:
ConstantCrossoverRate
public interface CrossoverRate
TheCrossoverRate
is an interface for the crossover rate which is the probability of two individuals undergoing crossover.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
get()
Returns the crossover rate as a double value.void
set(double value)
Sets the crossover rate to a double value.
-