Uses of Class
org.cicirello.search.representations.BitVector
Packages that use BitVector
Package
Description
This package includes classes and interfaces directly related to implementing evolutionary
algorithms.
This package includes classes that implement operators that create, mutate, etc, BitVectors.
Package of classes and interfaces related to representing computational problems, as well as
classes implementing a variety of specific computational problems.
This package includes classes related to representing solutions to optimization problems.
-
Uses of BitVector in org.cicirello.search.evo
Subclasses with type arguments of type BitVector in org.cicirello.search.evoModifier and TypeClassDescriptionclassThis class is an implementation of a genetic algorithm (GA) with the common bit vector representation of solutions to optimization problems, and the generational model where children replace their parents each generation.final classThis class is an implementation of a mutation-only genetic algorithm (GA) with the common bit vector representation of solutions to optimization problems, and the generational model where children replace their parents each generation.final classThis class implements a (1+1)-GA, a special case of a (1+1)-EA, where solutions are represented with a vector of bits.Constructor parameters in org.cicirello.search.evo with type arguments of type BitVectorModifierConstructorDescriptionGeneticAlgorithm(int n, int bitLength, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, int bitLength, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, int bitLength, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, int eliteCount) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, int bitLength, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, int eliteCount) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, int bitLength, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, int eliteCount, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, int bitLength, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, int eliteCount, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, int bitLength, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, int eliteCount, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, int bitLength, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, int bitLength, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, int bitLength, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, int bitLength, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, int bitLength, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, int bitLength, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, int bitLength, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, int bitLength, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, int bitLength, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, int bitLength, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, int bitLength, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, int bitLength, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, int bitLength, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, int eliteCount) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, int bitLength, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, int eliteCount) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, int bitLength, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, int eliteCount, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, int bitLength, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, int eliteCount, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, int bitLength, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, int eliteCount, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, int bitLength, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, int bitLength, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, int bitLength, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, int bitLength, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, int bitLength, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, int bitLength, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, int bitLength, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, int bitLength, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, int bitLength, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, int bitLength, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, int eliteCount) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, int eliteCount) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, int eliteCount) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, int eliteCount, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, int eliteCount, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, int eliteCount, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, int eliteCount, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, int eliteCount) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, int eliteCount) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, int eliteCount) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, int eliteCount, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, int eliteCount, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, int eliteCount, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, int eliteCount, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.GeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, CrossoverOperator<BitVector> crossover, double crossoverRate, SelectionOperator selection, ProgressTracker<BitVector> tracker) Initializes a genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, int bitLength, FitnessFunction.Double<BitVector> f, double mutationRate, SelectionOperator selection) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, int bitLength, FitnessFunction.Double<BitVector> f, double mutationRate, SelectionOperator selection, int eliteCount) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, int bitLength, FitnessFunction.Double<BitVector> f, double mutationRate, SelectionOperator selection, int eliteCount, ProgressTracker<BitVector> tracker) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, int bitLength, FitnessFunction.Double<BitVector> f, double mutationRate, SelectionOperator selection, int eliteCount, ProgressTracker<BitVector> tracker) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, int bitLength, FitnessFunction.Double<BitVector> f, double mutationRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, int bitLength, FitnessFunction.Double<BitVector> f, double mutationRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, int bitLength, FitnessFunction.Double<BitVector> f, double mutationRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement, ProgressTracker<BitVector> tracker) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, int bitLength, FitnessFunction.Double<BitVector> f, double mutationRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement, ProgressTracker<BitVector> tracker) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, int bitLength, FitnessFunction.Double<BitVector> f, double mutationRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement, ProgressTracker<BitVector> tracker) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, int bitLength, FitnessFunction.Double<BitVector> f, double mutationRate, SelectionOperator selection, ProgressTracker<BitVector> tracker) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, int bitLength, FitnessFunction.Double<BitVector> f, double mutationRate, SelectionOperator selection, ProgressTracker<BitVector> tracker) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, int bitLength, FitnessFunction.Integer<BitVector> f, double mutationRate, SelectionOperator selection) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, int bitLength, FitnessFunction.Integer<BitVector> f, double mutationRate, SelectionOperator selection, int eliteCount) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, int bitLength, FitnessFunction.Integer<BitVector> f, double mutationRate, SelectionOperator selection, int eliteCount, ProgressTracker<BitVector> tracker) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, int bitLength, FitnessFunction.Integer<BitVector> f, double mutationRate, SelectionOperator selection, int eliteCount, ProgressTracker<BitVector> tracker) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, int bitLength, FitnessFunction.Integer<BitVector> f, double mutationRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, int bitLength, FitnessFunction.Integer<BitVector> f, double mutationRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, int bitLength, FitnessFunction.Integer<BitVector> f, double mutationRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement, ProgressTracker<BitVector> tracker) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, int bitLength, FitnessFunction.Integer<BitVector> f, double mutationRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement, ProgressTracker<BitVector> tracker) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, int bitLength, FitnessFunction.Integer<BitVector> f, double mutationRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement, ProgressTracker<BitVector> tracker) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, int bitLength, FitnessFunction.Integer<BitVector> f, double mutationRate, SelectionOperator selection, ProgressTracker<BitVector> tracker) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, int bitLength, FitnessFunction.Integer<BitVector> f, double mutationRate, SelectionOperator selection, ProgressTracker<BitVector> tracker) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, SelectionOperator selection) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, SelectionOperator selection) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, SelectionOperator selection, int eliteCount) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, SelectionOperator selection, int eliteCount) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, SelectionOperator selection, int eliteCount, ProgressTracker<BitVector> tracker) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, SelectionOperator selection, int eliteCount, ProgressTracker<BitVector> tracker) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, SelectionOperator selection, int eliteCount, ProgressTracker<BitVector> tracker) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement, ProgressTracker<BitVector> tracker) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement, ProgressTracker<BitVector> tracker) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement, ProgressTracker<BitVector> tracker) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement, ProgressTracker<BitVector> tracker) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, SelectionOperator selection, ProgressTracker<BitVector> tracker) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, SelectionOperator selection, ProgressTracker<BitVector> tracker) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Double<BitVector> f, double mutationRate, SelectionOperator selection, ProgressTracker<BitVector> tracker) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, SelectionOperator selection) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, SelectionOperator selection) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, SelectionOperator selection, int eliteCount) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, SelectionOperator selection, int eliteCount) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, SelectionOperator selection, int eliteCount, ProgressTracker<BitVector> tracker) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, SelectionOperator selection, int eliteCount, ProgressTracker<BitVector> tracker) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, SelectionOperator selection, int eliteCount, ProgressTracker<BitVector> tracker) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement, ProgressTracker<BitVector> tracker) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement, ProgressTracker<BitVector> tracker) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement, ProgressTracker<BitVector> tracker) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, SelectionOperator selection, ReplacementStrategy<BitVector> replacement, ProgressTracker<BitVector> tracker) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, SelectionOperator selection, ProgressTracker<BitVector> tracker) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, SelectionOperator selection, ProgressTracker<BitVector> tracker) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.MutationOnlyGeneticAlgorithm(int n, Initializer<BitVector> initializer, FitnessFunction.Integer<BitVector> f, double mutationRate, SelectionOperator selection, ProgressTracker<BitVector> tracker) Initializes a mutation-only genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation.OnePlusOneGeneticAlgorithm(IntegerCostOptimizationProblem<BitVector> problem, double m, int bitLength) Creates a OnePlusOneGeneticAlgorithm instance for integer-valued optimization problems.OnePlusOneGeneticAlgorithm(IntegerCostOptimizationProblem<BitVector> problem, double m, int bitLength, ProgressTracker<BitVector> tracker) Creates a OnePlusOneGeneticAlgorithm instance for integer-valued optimization problems.OnePlusOneGeneticAlgorithm(IntegerCostOptimizationProblem<BitVector> problem, double m, int bitLength, ProgressTracker<BitVector> tracker) Creates a OnePlusOneGeneticAlgorithm instance for integer-valued optimization problems.OnePlusOneGeneticAlgorithm(OptimizationProblem<BitVector> problem, double m, int bitLength) Creates a OnePlusOneGeneticAlgorithm instance for real-valued optimization problems.OnePlusOneGeneticAlgorithm(OptimizationProblem<BitVector> problem, double m, int bitLength, ProgressTracker<BitVector> tracker) Creates a OnePlusOneGeneticAlgorithm instance for real-valued optimization problems.OnePlusOneGeneticAlgorithm(OptimizationProblem<BitVector> problem, double m, int bitLength, ProgressTracker<BitVector> tracker) Creates a OnePlusOneGeneticAlgorithm instance for real-valued optimization problems.SimpleGeneticAlgorithm(int n, int bitLength, FitnessFunction.Double<BitVector> f, double mutationRate, double crossoverRate) Initializes a simple genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation, single-point crossover (theSinglePointCrossoverclass), and fitness-proportional selection (theFitnessProportionalSelectionclass).SimpleGeneticAlgorithm(int n, int bitLength, FitnessFunction.Double<BitVector> f, double mutationRate, double crossoverRate, ProgressTracker<BitVector> tracker) Initializes a simple genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation, single-point crossover (theSinglePointCrossoverclass), and fitness-proportional selection (theFitnessProportionalSelectionclass).SimpleGeneticAlgorithm(int n, int bitLength, FitnessFunction.Double<BitVector> f, double mutationRate, double crossoverRate, ProgressTracker<BitVector> tracker) Initializes a simple genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation, single-point crossover (theSinglePointCrossoverclass), and fitness-proportional selection (theFitnessProportionalSelectionclass).SimpleGeneticAlgorithm(int n, int bitLength, FitnessFunction.Integer<BitVector> f, double mutationRate, double crossoverRate) Initializes a simple genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation, single-point crossover (theSinglePointCrossoverclass), and fitness-proportional selection (theFitnessProportionalSelectionclass).SimpleGeneticAlgorithm(int n, int bitLength, FitnessFunction.Integer<BitVector> f, double mutationRate, double crossoverRate, ProgressTracker<BitVector> tracker) Initializes a simple genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation, single-point crossover (theSinglePointCrossoverclass), and fitness-proportional selection (theFitnessProportionalSelectionclass).SimpleGeneticAlgorithm(int n, int bitLength, FitnessFunction.Integer<BitVector> f, double mutationRate, double crossoverRate, ProgressTracker<BitVector> tracker) Initializes a simple genetic algorithm with a generational model where children replace the parents, using the standard bit flip mutation, single-point crossover (theSinglePointCrossoverclass), and fitness-proportional selection (theFitnessProportionalSelectionclass). -
Uses of BitVector in org.cicirello.search.operators.bits
Classes in org.cicirello.search.operators.bits that implement interfaces with type arguments of type BitVectorModifier and TypeClassDescriptionfinal classThis class implements Bit Flip Mutation, the mutation operator commonly used in genetic algorithms, but which can also be used with other metaheuristic search algorithms such as simulated annealing to generate random neighbors.final classGenerates randomBitVectorobjects for use in generating random initial solutions for simulated annealing and other metaheuristics.final classDefiniteBitFlipMutation implements a variation of Bit Flip Mutation.final classDefiniteBitFlipMutation implements a variation of Bit Flip Mutation.final classImplementation of K-point crossover, a classic crossover operator for BitVectors.final classImplementation of single point crossover, a classic crossover operator for BitVectors.final classImplementation of two-point crossover, a classic crossover operator for BitVectors.final classImplementation of uniform crossover, a classic crossover operator for BitVectors.Methods in org.cicirello.search.operators.bits that return BitVectorMethods in org.cicirello.search.operators.bits with parameters of type BitVectorModifier and TypeMethodDescriptionvoidPerforms a crossover for an evolutionary algorithm, such that crossover forms two children from two parents.voidPerforms a crossover for an evolutionary algorithm, such that crossover forms two children from two parents.voidPerforms a crossover for an evolutionary algorithm, such that crossover forms two children from two parents.voidPerforms a crossover for an evolutionary algorithm, such that crossover forms two children from two parents.voidvoidvoidvoid -
Uses of BitVector in org.cicirello.search.problems
Classes in org.cicirello.search.problems that implement interfaces with type arguments of type BitVectorModifier and TypeClassDescriptionfinal classImplementation of Holland's Royal Road problem, as described in the following paper:
Terry Jones.final classThis class implements Ackley's Mix problem, an artificial landscape that is a mix of the OneMax, TwoMax, Trap, and Plateau problems, which provides for a landscape that combines all of the properties of these benchmarking problems.final classThe OneMax class is an implementation of the well-known OneMax problem, often used in benchmarking genetic algorithms and other metaheuristics.final classThe OneMaxAckley class is an implementation of the well-known OneMax problem, often used in benchmarking genetic algorithms and other metaheuristics.classThis class implements a mapping between Permutation problems and BitVector problems, enabling usingBitVectorsearch operators to solve problems defined over the space ofPermutationobjects.static final classThis class implements a mapping between Permutation problems and BitVector problems, where cost values are of type double.static final classThis class implements a mapping between Permutation problems and BitVector problems, where cost values are of type int.final classThis class implements Ackley's Plateaus problem, an artificial search landscape over the space of bitstrings that is characterized by large flat regions known as plateaus.final classThis class implements the Porcupine landscape (Ackley, 1985), which is a very rugged search landscape, with an exponential number of local optima.final classImplementation of the Royal Road problem of Mitchell, Forrest, and Holland, both the variation with stepping stones and the one without.final classThis class implements Ackley's Trap function, which defines a fitness landscape with a single global optima, and a single sub-optimal local optima, such that most of the search landscape is within the attraction basin of the local optima.final classThis class implements the benchmarking problem known as TwoMax.final classThis class implements a variation of the benchmarking problem known as TwoMax.Methods in org.cicirello.search.problems that return BitVectorModifier and TypeMethodDescriptionfinal BitVectorPermutationToBitVectorProblem.createCandidateSolution()Methods in org.cicirello.search.problems with parameters of type BitVectorModifier and TypeMethodDescriptiondoubleComputes the cost of a candidate solution to the problem instance.doubleintintdoubleintdoubleintintdoubleintintdoublePermutationToBitVectorProblem.DoubleCost.costAsDouble(BitVector candidate) doublePermutationToBitVectorProblem.IntegerCost.costAsDouble(BitVector candidate) final PermutationPermutationToBitVectorProblem.toPermutation(BitVector bits) Converts a BitVector to a Permutation.doubleComputes the value of the candidate solution within the usual constraints and interpretation of the problem.doubleintintdoubleintdoubleintintdoubleintint -
Uses of BitVector in org.cicirello.search.representations
Classes in org.cicirello.search.representations that implement interfaces with type arguments of type BitVectorModifier and TypeClassDescriptionfinal classA BitVector is an indexable vector of bits.Methods in org.cicirello.search.representations that return BitVectorMethods in org.cicirello.search.representations with parameters of type BitVectorModifier and TypeMethodDescriptionvoidComputes the bitwise AND of this BitVector and another BitVector.static voidBitVector.exchangeBits(BitVector b1, BitVector b2, int firstIndex, int lastIndex) Exchanges a sequence of bits between two BitVector objects.static voidBitVector.exchangeBits(BitVector b1, BitVector b2, BitVector mask) Exchanges a selection of bits between two BitVectors, where the bits to exchange are indicated by a bit mask, also represented by a BitVector.voidComputes the bitwise OR of this BitVector and another BitVector.voidComputes the bitwise XOR of this BitVector and another BitVector.