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
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, 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, 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, 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, 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, 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, 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, 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, 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
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
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
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.