Package org.opt4j.optimizer.ea
Interface CrossoverRate
- All Known Implementing Classes:
ConstantCrossoverRate
public interface CrossoverRate
The
CrossoverRate
is an interface for the crossover rate which is the
probability of two individuals undergoing crossover.-
Method Summary
-
Method Details
-
get
double get()Returns the crossover rate as a double value.- Returns:
- the crossover rate
-
set
void set(double value) Sets the crossover rate to a double value.- Parameters:
value
- the new crossover rate
-