Uses of Class
org.cicirello.search.representations.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
ModifierConstructorDescriptionGeneticAlgorithm
(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 (theSinglePointCrossover
class), and fitness-proportional selection (theFitnessProportionalSelection
class).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 (theSinglePointCrossover
class), and fitness-proportional selection (theFitnessProportionalSelection
class).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 (theSinglePointCrossover
class), and fitness-proportional selection (theFitnessProportionalSelection
class).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 (theSinglePointCrossover
class), and fitness-proportional selection (theFitnessProportionalSelection
class).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 (theSinglePointCrossover
class), and fitness-proportional selection (theFitnessProportionalSelection
class).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 (theSinglePointCrossover
class), and fitness-proportional selection (theFitnessProportionalSelection
class). -
Uses of BitVector in org.cicirello.search.operators.bits
Modifier and TypeMethodDescriptionvoid
Performs a crossover for an evolutionary algorithm, such that crossover forms two children from two parents.void
Performs a crossover for an evolutionary algorithm, such that crossover forms two children from two parents.void
Performs a crossover for an evolutionary algorithm, such that crossover forms two children from two parents.void
Performs a crossover for an evolutionary algorithm, such that crossover forms two children from two parents.void
void
void
void
-
Uses of BitVector in org.cicirello.search.problems
Modifier and TypeMethodDescriptionfinal BitVector
PermutationToBitVectorProblem.createCandidateSolution()
Modifier and TypeMethodDescriptiondouble
Computes the cost of a candidate solution to the problem instance.double
int
int
double
int
double
int
int
double
int
int
double
PermutationToBitVectorProblem.DoubleCost.costAsDouble
(BitVector candidate) double
PermutationToBitVectorProblem.IntegerCost.costAsDouble
(BitVector candidate) final Permutation
PermutationToBitVectorProblem.toPermutation
(BitVector bits) Converts a BitVector to a Permutation.double
Computes the value of the candidate solution within the usual constraints and interpretation of the problem.double
int
int
double
int
double
int
int
double
int
int
-
Uses of BitVector in org.cicirello.search.representations
Modifier and TypeMethodDescriptionvoid
Computes the bitwise AND of this BitVector and another BitVector.static void
BitVector.exchangeBits
(BitVector b1, BitVector b2, int firstIndex, int lastIndex) Exchanges a sequence of bits between two BitVector objects.static void
BitVector.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.void
Computes the bitwise OR of this BitVector and another BitVector.void
Computes the bitwise XOR of this BitVector and another BitVector.