Watchmaker Framework for Evolutionary Computation API
(Version 0.7.1)
A B C D E F G H I L M N O P R S T U W

A

abort() - Method in class org.uncommons.watchmaker.framework.termination.UserAbort
Aborts any evolutionary algorithms that monitor this termination condition instance.
AbortControl - Class in org.uncommons.watchmaker.swing
A GUI control that allows the user to abort an evolutionary program.
AbortControl() - Constructor for class org.uncommons.watchmaker.swing.AbortControl
 
AbstractCandidateFactory<T> - Class in org.uncommons.watchmaker.framework.factories
Convenient base class for implementations of CandidateFactory.
AbstractCandidateFactory() - Constructor for class org.uncommons.watchmaker.framework.factories.AbstractCandidateFactory
 
AbstractCrossover<T> - Class in org.uncommons.watchmaker.framework.operators
Generic base class for cross-over implementations.
AbstractCrossover(int) - Constructor for class org.uncommons.watchmaker.framework.operators.AbstractCrossover
Sets up a fixed-point cross-over implementation.
AbstractCrossover(int, Probability) - Constructor for class org.uncommons.watchmaker.framework.operators.AbstractCrossover
Sets up a cross-over implementation that uses a fixed number of cross-over points.
AbstractCrossover(NumberGenerator<Integer>) - Constructor for class org.uncommons.watchmaker.framework.operators.AbstractCrossover
Sets up a cross-over implementation that uses a variable number of cross-over points.
AbstractCrossover(NumberGenerator<Integer>, NumberGenerator<Probability>) - Constructor for class org.uncommons.watchmaker.framework.operators.AbstractCrossover
Sets up a cross-over implementation that uses a variable number of cross-over points.
AbstractEvolutionEngine<T> - Class in org.uncommons.watchmaker.framework
Base class for EvolutionEngine implementations.
AbstractEvolutionEngine(CandidateFactory<T>, FitnessEvaluator<? super T>, Random) - Constructor for class org.uncommons.watchmaker.framework.AbstractEvolutionEngine
Creates a new evolution engine by specifying the various components required by an evolutionary algorithm.
addEvolutionObserver(EvolutionObserver<? super T>) - Method in class org.uncommons.watchmaker.framework.AbstractEvolutionEngine
Adds a listener to receive status updates on the evolution progress.
addEvolutionObserver(EvolutionObserver<? super T>) - Method in interface org.uncommons.watchmaker.framework.EvolutionEngine
Adds a listener to receive status updates on the evolution progress.
addEvolutionObserver(IslandEvolutionObserver<? super T>) - Method in class org.uncommons.watchmaker.framework.islands.IslandEvolution
Adds an observer to the evolution.
apply(List<T>, Random) - Method in interface org.uncommons.watchmaker.framework.EvolutionaryOperator
Apply the operation to each entry in the list of selected candidates.
apply(List<T>, Random) - Method in class org.uncommons.watchmaker.framework.operators.AbstractCrossover
Applies the cross-over operation to the selected candidates.
apply(List<BitString>, Random) - Method in class org.uncommons.watchmaker.framework.operators.BitStringMutation
 
apply(List<T>, Random) - Method in class org.uncommons.watchmaker.framework.operators.EvolutionPipeline
Applies each operation in the pipeline in turn to the selection.
apply(List<T>, Random) - Method in class org.uncommons.watchmaker.framework.operators.IdentityOperator
Returns the selected candidates unaltered.
apply(List<List<T>>, Random) - Method in class org.uncommons.watchmaker.framework.operators.ListInversion
 
apply(List<List<T>>, Random) - Method in class org.uncommons.watchmaker.framework.operators.ListOperator
Applies the configured operator to each list candidate, operating on the elements that make up a candidate rather than on the list of candidates.
apply(List<List<T>>, Random) - Method in class org.uncommons.watchmaker.framework.operators.ListOrderMutation
 
apply(List<T>, Random) - Method in class org.uncommons.watchmaker.framework.operators.Replacement
Randomly replace zero or more of the selected candidates with new, independent individuals that are randomly created.
apply(List<T>, Random) - Method in class org.uncommons.watchmaker.framework.operators.SplitEvolution
Applies one evolutionary operator to part of the population and another to the remainder.
apply(List<String>, Random) - Method in class org.uncommons.watchmaker.framework.operators.StringMutation
 

B

BitStringCrossover - Class in org.uncommons.watchmaker.framework.operators
Cross-over with a configurable number of points (fixed or random) for bit strings.
BitStringCrossover() - Constructor for class org.uncommons.watchmaker.framework.operators.BitStringCrossover
Default is single-point cross-over, applied to all parents.
BitStringCrossover(int) - Constructor for class org.uncommons.watchmaker.framework.operators.BitStringCrossover
Cross-over with a fixed number of cross-over points.
BitStringCrossover(int, Probability) - Constructor for class org.uncommons.watchmaker.framework.operators.BitStringCrossover
Cross-over with a fixed number of cross-over points.
BitStringCrossover(NumberGenerator<Integer>) - Constructor for class org.uncommons.watchmaker.framework.operators.BitStringCrossover
Cross-over with a variable number of cross-over points.
BitStringCrossover(NumberGenerator<Integer>, NumberGenerator<Probability>) - Constructor for class org.uncommons.watchmaker.framework.operators.BitStringCrossover
Sets up a cross-over implementation that uses a variable number of cross-over points.
BitStringFactory - Class in org.uncommons.watchmaker.framework.factories
General purpose candidate factory for generating bit strings for genetic algorithms.
BitStringFactory(int) - Constructor for class org.uncommons.watchmaker.framework.factories.BitStringFactory
 
BitStringMutation - Class in org.uncommons.watchmaker.framework.operators
Mutation of individual bits in a BitString according to some probability.
BitStringMutation(Probability) - Constructor for class org.uncommons.watchmaker.framework.operators.BitStringMutation
Creates a mutation operator for bit strings with the specified probability that a given bit string will be mutated, with exactly one bit being flipped.
BitStringMutation(NumberGenerator<Probability>, NumberGenerator<Integer>) - Constructor for class org.uncommons.watchmaker.framework.operators.BitStringMutation
Creates a mutation operator for bit strings, with the probability that any given bit will be flipped governed by the specified number generator.
ByteArrayCrossover - Class in org.uncommons.watchmaker.framework.operators
Cross-over with a configurable number of points (fixed or random) for arrays of primitive bytes.
ByteArrayCrossover() - Constructor for class org.uncommons.watchmaker.framework.operators.ByteArrayCrossover
Default is single-point cross-over, applied to all parents.
ByteArrayCrossover(int) - Constructor for class org.uncommons.watchmaker.framework.operators.ByteArrayCrossover
Cross-over with a fixed number of cross-over points.
ByteArrayCrossover(int, Probability) - Constructor for class org.uncommons.watchmaker.framework.operators.ByteArrayCrossover
Cross-over with a fixed number of cross-over points.
ByteArrayCrossover(NumberGenerator<Integer>) - Constructor for class org.uncommons.watchmaker.framework.operators.ByteArrayCrossover
Cross-over with a variable number of cross-over points.
ByteArrayCrossover(NumberGenerator<Integer>, NumberGenerator<Probability>) - Constructor for class org.uncommons.watchmaker.framework.operators.ByteArrayCrossover
Sets up a cross-over implementation that uses a variable number of cross-over points.

C

CachingFitnessEvaluator<T> - Class in org.uncommons.watchmaker.framework
A wrapper that provides caching for FitnessEvaluator implementations.
CachingFitnessEvaluator(FitnessEvaluator<T>) - Constructor for class org.uncommons.watchmaker.framework.CachingFitnessEvaluator
Creates a caching fitness evaluator that wraps the specified evaluator.
CandidateFactory<T> - Interface in org.uncommons.watchmaker.framework
Creates new populations of candidates.
CharArrayCrossover - Class in org.uncommons.watchmaker.framework.operators
Cross-over with a configurable number of points (fixed or random) for arrays of primitive chars.
CharArrayCrossover() - Constructor for class org.uncommons.watchmaker.framework.operators.CharArrayCrossover
Default is single-point cross-over, applied to all parents.
CharArrayCrossover(int) - Constructor for class org.uncommons.watchmaker.framework.operators.CharArrayCrossover
Cross-over with a fixed number of cross-over points.
CharArrayCrossover(int, Probability) - Constructor for class org.uncommons.watchmaker.framework.operators.CharArrayCrossover
Cross-over with a fixed number of cross-over points.
CharArrayCrossover(NumberGenerator<Integer>) - Constructor for class org.uncommons.watchmaker.framework.operators.CharArrayCrossover
Cross-over with a variable number of cross-over points.
CharArrayCrossover(NumberGenerator<Integer>, NumberGenerator<Probability>) - Constructor for class org.uncommons.watchmaker.framework.operators.CharArrayCrossover
Sets up a cross-over implementation that uses a variable number of cross-over points.
compareTo(EvaluatedCandidate<T>) - Method in class org.uncommons.watchmaker.framework.EvaluatedCandidate
Compares this candidate's fitness score with that of the specified candidate.
ConfigurableLineBorder - Class in org.uncommons.swing
Border class that allows each of the four sides of the border to be enabled or disabled independently.
ConfigurableLineBorder(boolean, boolean, boolean, boolean, int) - Constructor for class org.uncommons.swing.ConfigurableLineBorder
 
Console<T> - Interface in org.uncommons.watchmaker.framework.interactive
A console provides users with a mechanism for interacting with an evolutionary algorithm.
createDefaultOptions(Probability, double) - Static method in class org.uncommons.watchmaker.swing.SelectionStrategyControl
Creates a list containing one instance of each of the standard selection strategies.

D

doReplacement(List<EvaluatedCandidate<T>>, List<EvaluatedCandidate<T>>, int, Random) - Method in class org.uncommons.watchmaker.framework.SteadyStateEvolutionEngine
Add the offspring to the population, removing the same number of existing individuals to make space for them.
DoubleArrayCrossover - Class in org.uncommons.watchmaker.framework.operators
Cross-over with a configurable number of points (fixed or random) for arrays of primitive doubles.
DoubleArrayCrossover() - Constructor for class org.uncommons.watchmaker.framework.operators.DoubleArrayCrossover
Default is single-point cross-over, applied to all parents.
DoubleArrayCrossover(int) - Constructor for class org.uncommons.watchmaker.framework.operators.DoubleArrayCrossover
Cross-over with a fixed number of cross-over points.
DoubleArrayCrossover(int, Probability) - Constructor for class org.uncommons.watchmaker.framework.operators.DoubleArrayCrossover
Cross-over with a fixed number of cross-over points.
DoubleArrayCrossover(NumberGenerator<Integer>) - Constructor for class org.uncommons.watchmaker.framework.operators.DoubleArrayCrossover
Cross-over with a variable number of cross-over points.
DoubleArrayCrossover(NumberGenerator<Integer>, NumberGenerator<Probability>) - Constructor for class org.uncommons.watchmaker.framework.operators.DoubleArrayCrossover
Sets up a cross-over implementation that uses a variable number of cross-over points.

E

ElapsedTime - Class in org.uncommons.watchmaker.framework.termination
Terminates evolution after a pre-determined period of time has elapsed.
ElapsedTime(long) - Constructor for class org.uncommons.watchmaker.framework.termination.ElapsedTime
 
equals(Object) - Method in class org.uncommons.watchmaker.framework.EvaluatedCandidate
Over-ridden to be consistent with EvaluatedCandidate.compareTo(EvaluatedCandidate).
EvaluatedCandidate<T> - Class in org.uncommons.watchmaker.framework
Immutable wrapper class for associating a candidate solution with its fitness score.
EvaluatedCandidate(T, double) - Constructor for class org.uncommons.watchmaker.framework.EvaluatedCandidate
 
evaluatePopulation(List<T>) - Method in class org.uncommons.watchmaker.framework.AbstractEvolutionEngine
Takes a population, assigns a fitness score to each member and returns the members with their scores attached, sorted in descending order of fitness (descending order of fitness score for natural scores, ascending order of scores for non-natural scores).
EvolutionaryOperator<T> - Interface in org.uncommons.watchmaker.framework
An evolutionary operator is a function that takes a population of candidates as an argument and returns a new population that is the result of applying a transformation to the original population.
EvolutionControl - Interface in org.uncommons.watchmaker.swing
Common interface for GUI controls for evolutionary programs.
EvolutionEngine<T> - Interface in org.uncommons.watchmaker.framework
Operations for classes that provide an evolution implementation.
EvolutionMonitor<T> - Class in org.uncommons.watchmaker.swing.evolutionmonitor
The Evolution Monitor is a component that can be attached to an EvolutionEngine to provide real-time information (in a Swing GUI) about the current state of the evolution.
EvolutionMonitor() - Constructor for class org.uncommons.watchmaker.swing.evolutionmonitor.EvolutionMonitor
Creates an EvolutionMonitor with a single panel that graphs the fitness scores of the population from generation to generation.
EvolutionMonitor(boolean) - Constructor for class org.uncommons.watchmaker.swing.evolutionmonitor.EvolutionMonitor
Creates an EvolutionMonitor with a single panel that graphs the fitness scores of the population from generation to generation.
EvolutionMonitor(Renderer<? super T, JComponent>, boolean) - Constructor for class org.uncommons.watchmaker.swing.evolutionmonitor.EvolutionMonitor
Creates an EvolutionMonitor with a second panel that displays a graphical representation of the fittest candidate in the population.
EvolutionObserver<T> - Interface in org.uncommons.watchmaker.framework
Call-back interface so that programs can monitor the state of a long-running evolutionary algorithm.
EvolutionPipeline<T> - Class in org.uncommons.watchmaker.framework.operators
A compound evolutionary operator that applies multiple operators (of the same type) in series.
EvolutionPipeline(List<EvolutionaryOperator<T>>) - Constructor for class org.uncommons.watchmaker.framework.operators.EvolutionPipeline
Creates a pipeline consisting of the specified operators in the order that they are supplied.
EvolutionStrategyEngine<T> - Class in org.uncommons.watchmaker.framework
General purpose engine for implementing Evolution Strategies.
EvolutionStrategyEngine(CandidateFactory<T>, EvolutionaryOperator<T>, FitnessEvaluator<? super T>, boolean, int, Random) - Constructor for class org.uncommons.watchmaker.framework.EvolutionStrategyEngine
Creates a new engine for an evolution strategy.
EvolutionUtils - Class in org.uncommons.watchmaker.framework
Utility methods used by different evolution implementations.
evolve(int, int, TerminationCondition...) - Method in class org.uncommons.watchmaker.framework.AbstractEvolutionEngine
Execute the evolutionary algorithm until one of the termination conditions is met, then return the fittest candidate from the final generation.
evolve(int, int, Collection<T>, TerminationCondition...) - Method in class org.uncommons.watchmaker.framework.AbstractEvolutionEngine
Execute the evolutionary algorithm until one of the termination conditions is met, then return the fittest candidate from the final generation.
evolve(int, int, TerminationCondition...) - Method in interface org.uncommons.watchmaker.framework.EvolutionEngine
Execute the evolutionary algorithm until one of the termination conditions is met, then return the fittest candidate from the final generation.
evolve(int, int, Collection<T>, TerminationCondition...) - Method in interface org.uncommons.watchmaker.framework.EvolutionEngine
Execute the evolutionary algorithm until one of the termination conditions is met, then return the fittest candidate from the final generation.
evolve(int, int, int, int, TerminationCondition...) - Method in class org.uncommons.watchmaker.framework.islands.IslandEvolution
Start the evolutionary process on each island and return the fittest candidate so far at the point any of the termination conditions is satisfied.
evolvePopulation(int, int, TerminationCondition...) - Method in class org.uncommons.watchmaker.framework.AbstractEvolutionEngine
Execute the evolutionary algorithm until one of the termination conditions is met, then return all of the candidates from the final generation.
evolvePopulation(int, int, Collection<T>, TerminationCondition...) - Method in class org.uncommons.watchmaker.framework.AbstractEvolutionEngine
Execute the evolutionary algorithm until one of the termination conditions is met, then return all of the candidates from the final generation.
evolvePopulation(int, int, TerminationCondition...) - Method in interface org.uncommons.watchmaker.framework.EvolutionEngine
Execute the evolutionary algorithm until one of the termination conditions is met, then return all of the candidates from the final generation.
evolvePopulation(int, int, Collection<T>, TerminationCondition...) - Method in interface org.uncommons.watchmaker.framework.EvolutionEngine
Execute the evolutionary algorithm until one of the termination conditions is met, then return all of the candidates from the final generation.
execute() - Method in class org.uncommons.swing.SwingBackgroundTask
Asynchronous call that begins execution of the task and returns immediately.

F

finalize() - Method in class org.uncommons.watchmaker.framework.FitnessEvaluationWorker
A FitnessWorker cannot be garbage-collected if its thread pool has not been shutdown.
FitnessEvaluationWorker - Class in org.uncommons.watchmaker.framework
This is the class that actually runs the fitness evaluation tasks created by a EvolutionEngine.
FitnessEvaluator<T> - Interface in org.uncommons.watchmaker.framework
Calculates the fitness score of a given candidate of the appropriate type.

G

generateInitialPopulation(int, Random) - Method in interface org.uncommons.watchmaker.framework.CandidateFactory
Creates an initial population of candidates.
generateInitialPopulation(int, Collection<T>, Random) - Method in interface org.uncommons.watchmaker.framework.CandidateFactory
Sometimes it is desirable to seed the initial population with some known good candidates, or partial solutions, in order to provide some hints for the evolution process.
generateInitialPopulation(int, Random) - Method in class org.uncommons.watchmaker.framework.factories.AbstractCandidateFactory
Randomly, create an initial population of candidates.
generateInitialPopulation(int, Collection<T>, Random) - Method in class org.uncommons.watchmaker.framework.factories.AbstractCandidateFactory
Sometimes it is desirable to seed the initial population with some known good candidates, or partial solutions, in order to provide some hints for the evolution process.
generateRandomCandidate(Random) - Method in interface org.uncommons.watchmaker.framework.CandidateFactory
Randomly create a single candidate solution.
generateRandomCandidate(Random) - Method in class org.uncommons.watchmaker.framework.factories.BitStringFactory
Generates a random bit string, with a uniform distribution of ones and zeroes.
generateRandomCandidate(Random) - Method in class org.uncommons.watchmaker.framework.factories.ListPermutationFactory
Generates a random permutation from the configured elements.
generateRandomCandidate(Random) - Method in class org.uncommons.watchmaker.framework.factories.ObjectArrayPermutationFactory
Generates a random permutation from the configured elements.
generateRandomCandidate(Random) - Method in class org.uncommons.watchmaker.framework.factories.StringFactory
Generates a random string of a pre-configured length.
GenerationalEvolutionEngine<T> - Class in org.uncommons.watchmaker.framework
This class implements a general-purpose generational evolutionary algorithm.
GenerationalEvolutionEngine(CandidateFactory<T>, EvolutionaryOperator<T>, FitnessEvaluator<? super T>, SelectionStrategy<? super T>, Random) - Constructor for class org.uncommons.watchmaker.framework.GenerationalEvolutionEngine
Creates a new evolution engine by specifying the various components required by a generational evolutionary algorithm.
GenerationalEvolutionEngine(CandidateFactory<T>, EvolutionaryOperator<T>, InteractiveSelection<T>, Random) - Constructor for class org.uncommons.watchmaker.framework.GenerationalEvolutionEngine
Creates a new evolution engine for an interactive evolutionary algorithm.
GenerationCount - Class in org.uncommons.watchmaker.framework.termination
Terminates evolution after a set number of generations have passed.
GenerationCount(int) - Constructor for class org.uncommons.watchmaker.framework.termination.GenerationCount
 
getBestCandidate() - Method in class org.uncommons.watchmaker.framework.PopulationData
 
getBestCandidateFitness() - Method in class org.uncommons.watchmaker.framework.PopulationData
 
getBorderInsets(Component) - Method in class org.uncommons.swing.ConfigurableLineBorder
 
getCandidate() - Method in class org.uncommons.watchmaker.framework.EvaluatedCandidate
 
getControl() - Method in class org.uncommons.watchmaker.swing.AbortControl
 
getControl() - Method in interface org.uncommons.watchmaker.swing.EvolutionControl
 
getControl() - Method in class org.uncommons.watchmaker.swing.NumericParameterControl
getControl() - Method in class org.uncommons.watchmaker.swing.ProbabilityParameterControl
getControl() - Method in class org.uncommons.watchmaker.swing.SelectionStrategyControl
getElapsedTime() - Method in class org.uncommons.watchmaker.framework.PopulationData
Returns the amount of time (in milliseconds) since the start of the evolutionary algorithm's execution.
getEliteCount() - Method in class org.uncommons.watchmaker.framework.PopulationData
 
getFitness(T, List<? extends T>) - Method in class org.uncommons.watchmaker.framework.CachingFitnessEvaluator
Calculates a fitness score for the given candidate.
getFitness() - Method in class org.uncommons.watchmaker.framework.EvaluatedCandidate
 
getFitness(T, List<? extends T>) - Method in interface org.uncommons.watchmaker.framework.FitnessEvaluator
Calculates a fitness score for the given candidate.
getFitnessStandardDeviation() - Method in class org.uncommons.watchmaker.framework.PopulationData
Returns a statistical measure of variation in fitness scores within the population.
getGenerationNumber() - Method in class org.uncommons.watchmaker.framework.PopulationData
 
getGUIComponent() - Method in class org.uncommons.watchmaker.swing.evolutionmonitor.EvolutionMonitor
 
getMeanFitness() - Method in class org.uncommons.watchmaker.framework.PopulationData
Returns the average fitness score of population members.
getNumberGenerator() - Method in class org.uncommons.watchmaker.swing.NumericParameterControl
Returns a number generator that simply returns the current value contained in the spinner field.
getNumberGenerator() - Method in class org.uncommons.watchmaker.swing.ProbabilityParameterControl
Returns a number generator that simply returns the current probability value represented by the position of the slider control.
getPopulationData(List<EvaluatedCandidate<T>>, boolean, int, int, long) - Static method in class org.uncommons.watchmaker.framework.EvolutionUtils
Gets data about the current population, including the fittest candidate and statistics about the population as a whole.
getPopulationSize() - Method in class org.uncommons.watchmaker.framework.PopulationData
 
getSatisfiedTerminationConditions() - Method in class org.uncommons.watchmaker.framework.AbstractEvolutionEngine
Returns a list of all TerminationConditions that are satisfied by the current state of the evolution engine.
getSatisfiedTerminationConditions() - Method in interface org.uncommons.watchmaker.framework.EvolutionEngine
Returns a list of all TerminationConditions that are satisfied by the current state of the evolution engine.
getSatisfiedTerminationConditions() - Method in class org.uncommons.watchmaker.framework.islands.IslandEvolution
Returns a list of all TerminationConditions that are satisfied by the current state of the island evolution.
getSelectionStrategy() - Method in class org.uncommons.watchmaker.swing.SelectionStrategyControl
 
getTerminationCondition() - Method in class org.uncommons.watchmaker.swing.AbortControl
 

H

hashCode() - Method in class org.uncommons.watchmaker.framework.EvaluatedCandidate
Over-ridden to be consistent with EvaluatedCandidate.equals(Object).

I

IdentityOperator<T> - Class in org.uncommons.watchmaker.framework.operators
Evolutionary operator that simply returns the selected candidates unaltered.
IdentityOperator() - Constructor for class org.uncommons.watchmaker.framework.operators.IdentityOperator
 
IntArrayCrossover - Class in org.uncommons.watchmaker.framework.operators
Cross-over with a configurable number of points (fixed or random) for arrays of primitive ints.
IntArrayCrossover() - Constructor for class org.uncommons.watchmaker.framework.operators.IntArrayCrossover
Default is single-point cross-over, applied to all parents.
IntArrayCrossover(int) - Constructor for class org.uncommons.watchmaker.framework.operators.IntArrayCrossover
Cross-over with a fixed number of cross-over points.
IntArrayCrossover(int, Probability) - Constructor for class org.uncommons.watchmaker.framework.operators.IntArrayCrossover
Cross-over with a fixed number of cross-over points.
IntArrayCrossover(NumberGenerator<Integer>) - Constructor for class org.uncommons.watchmaker.framework.operators.IntArrayCrossover
Cross-over with a variable number of cross-over points.
IntArrayCrossover(NumberGenerator<Integer>, NumberGenerator<Probability>) - Constructor for class org.uncommons.watchmaker.framework.operators.IntArrayCrossover
Sets up a cross-over implementation that uses a variable number of cross-over points.
InteractiveSelection<T> - Class in org.uncommons.watchmaker.framework.interactive
Special selection strategy used for interactive evolutionary algorithms.
InteractiveSelection(Console<R>, Renderer<T, R>, int, int) - Constructor for class org.uncommons.watchmaker.framework.interactive.InteractiveSelection
 
InteractiveSelection(Console<T>, int, int) - Constructor for class org.uncommons.watchmaker.framework.interactive.InteractiveSelection
 
isAborted() - Method in class org.uncommons.watchmaker.framework.termination.UserAbort
 
isBorderOpaque() - Method in class org.uncommons.swing.ConfigurableLineBorder
 
IslandEvolution<T> - Class in org.uncommons.watchmaker.framework.islands
An implementation of island evolution in which multiple independent populations are evolved in parallel with periodic migration of individuals between islands.
IslandEvolution(int, Migration, CandidateFactory<T>, EvolutionaryOperator<T>, FitnessEvaluator<? super T>, SelectionStrategy<? super T>, Random) - Constructor for class org.uncommons.watchmaker.framework.islands.IslandEvolution
Create an island system with the specified number of identically-configured islands.
IslandEvolution(List<EvolutionEngine<T>>, Migration, boolean, Random) - Constructor for class org.uncommons.watchmaker.framework.islands.IslandEvolution
Create an island evolution system from a list of pre-configured islands.
IslandEvolutionObserver<T> - Interface in org.uncommons.watchmaker.framework.islands
A specialisation of EvolutionObserver that, as well as receiving global population updates (at the end of each epoch), can receive individual island population updates (at the end of each generation on each island).
islandPopulationUpdate(int, PopulationData<? extends T>) - Method in interface org.uncommons.watchmaker.framework.islands.IslandEvolutionObserver
Method called to notify the listener of the state of the population of an individual island.
islandPopulationUpdate(int, PopulationData<? extends T>) - Method in class org.uncommons.watchmaker.swing.evolutionmonitor.EvolutionMonitor
Method called to notify the listener of the state of the population of an individual island.
islandPopulationUpdate(int, PopulationData<? extends Object>) - Method in class org.uncommons.watchmaker.swing.evolutionmonitor.StatusBar
Method called to notify the listener of the state of the population of an individual island.
isNatural() - Method in class org.uncommons.watchmaker.framework.CachingFitnessEvaluator
Specifies whether this evaluator generates natural fitness scores or not.
isNatural() - Method in interface org.uncommons.watchmaker.framework.FitnessEvaluator
Specifies whether this evaluator generates natural fitness scores or not.
isNaturalFitness() - Method in class org.uncommons.watchmaker.framework.PopulationData
Indicates whether the fitness scores are natural or non-natural.

L

ListCrossover<T> - Class in org.uncommons.watchmaker.framework.operators
Variable-point (fixed or random) cross-over for arbitrary lists.
ListCrossover() - Constructor for class org.uncommons.watchmaker.framework.operators.ListCrossover
Default is single-point cross-over, applied to all parents.
ListCrossover(int) - Constructor for class org.uncommons.watchmaker.framework.operators.ListCrossover
Cross-over with a fixed number of cross-over points.
ListCrossover(int, Probability) - Constructor for class org.uncommons.watchmaker.framework.operators.ListCrossover
Cross-over with a fixed number of cross-over points.
ListCrossover(NumberGenerator<Integer>) - Constructor for class org.uncommons.watchmaker.framework.operators.ListCrossover
Cross-over with a variable number of cross-over points.
ListCrossover(NumberGenerator<Integer>, NumberGenerator<Probability>) - Constructor for class org.uncommons.watchmaker.framework.operators.ListCrossover
Cross-over with a variable number of cross-over points.
ListInversion<T> - Class in org.uncommons.watchmaker.framework.operators
An evolutionary operator that randomly reverses a subsection of a list.
ListInversion(Probability) - Constructor for class org.uncommons.watchmaker.framework.operators.ListInversion
 
ListInversion(NumberGenerator<Probability>) - Constructor for class org.uncommons.watchmaker.framework.operators.ListInversion
 
ListOperator<T> - Class in org.uncommons.watchmaker.framework.operators
A higher-order evolutionary operator that is applied to populations made up of lists.
ListOperator(EvolutionaryOperator<T>) - Constructor for class org.uncommons.watchmaker.framework.operators.ListOperator
 
ListOrderCrossover<T> - Class in org.uncommons.watchmaker.framework.operators
Implements ordered cross-over between arbitrary lists.
ListOrderCrossover() - Constructor for class org.uncommons.watchmaker.framework.operators.ListOrderCrossover
Creates a cross-over operator with a cross-over probability of 1.
ListOrderCrossover(Probability) - Constructor for class org.uncommons.watchmaker.framework.operators.ListOrderCrossover
Creates a cross-over operator with the specified cross-over probability.
ListOrderCrossover(NumberGenerator<Probability>) - Constructor for class org.uncommons.watchmaker.framework.operators.ListOrderCrossover
Creates a cross-over operator where cross-over may or may not be applied to a given pair of parents depending on the crossoverProbability.
ListOrderMutation<T> - Class in org.uncommons.watchmaker.framework.operators
A special mutation implementation that instead of changing the genes of the candidate, re-orders them.
ListOrderMutation() - Constructor for class org.uncommons.watchmaker.framework.operators.ListOrderMutation
Default is one mutation per candidate.
ListOrderMutation(int, int) - Constructor for class org.uncommons.watchmaker.framework.operators.ListOrderMutation
 
ListOrderMutation(NumberGenerator<Integer>, NumberGenerator<Integer>) - Constructor for class org.uncommons.watchmaker.framework.operators.ListOrderMutation
Typically the mutation count will be from a Poisson distribution.
ListPermutationFactory<T> - Class in org.uncommons.watchmaker.framework.factories
Generates random candidates from a set of elements.
ListPermutationFactory(List<T>) - Constructor for class org.uncommons.watchmaker.framework.factories.ListPermutationFactory
Creates a factory that creates lists that contain each of the specified elements exactly once.

M

main(String[]) - Static method in class org.uncommons.watchmaker.framework.FitnessEvaluationWorker
Entry-point for running this class standalone, as an additional node for fitness evaluations.
makeCompactGrid(Container, int, int, int, int, int, int) - Static method in class org.uncommons.swing.SpringUtilities
Aligns the first rows * cols components of parent in a grid.
mapRankToScore(int, int) - Method in class org.uncommons.watchmaker.framework.selection.RankSelection
Maps a population index to a relative pseudo-fitness score that can be used for fitness-proportionate selection.
mate(T, T, int, Random) - Method in class org.uncommons.watchmaker.framework.operators.AbstractCrossover
Perform cross-over on a pair of parents to generate a pair of offspring.
mate(BitString, BitString, int, Random) - Method in class org.uncommons.watchmaker.framework.operators.BitStringCrossover
Perform cross-over on a pair of parents to generate a pair of offspring.
mate(byte[], byte[], int, Random) - Method in class org.uncommons.watchmaker.framework.operators.ByteArrayCrossover
Perform cross-over on a pair of parents to generate a pair of offspring.
mate(char[], char[], int, Random) - Method in class org.uncommons.watchmaker.framework.operators.CharArrayCrossover
Perform cross-over on a pair of parents to generate a pair of offspring.
mate(double[], double[], int, Random) - Method in class org.uncommons.watchmaker.framework.operators.DoubleArrayCrossover
Perform cross-over on a pair of parents to generate a pair of offspring.
mate(int[], int[], int, Random) - Method in class org.uncommons.watchmaker.framework.operators.IntArrayCrossover
Perform cross-over on a pair of parents to generate a pair of offspring.
mate(List<T>, List<T>, int, Random) - Method in class org.uncommons.watchmaker.framework.operators.ListCrossover
Perform cross-over on a pair of parents to generate a pair of offspring.
mate(List<T>, List<T>, int, Random) - Method in class org.uncommons.watchmaker.framework.operators.ListOrderCrossover
Perform cross-over on a pair of parents to generate a pair of offspring.
mate(T[], T[], int, Random) - Method in class org.uncommons.watchmaker.framework.operators.ObjectArrayCrossover
Perform cross-over on a pair of parents to generate a pair of offspring.
mate(String, String, int, Random) - Method in class org.uncommons.watchmaker.framework.operators.StringCrossover
Perform cross-over on a pair of parents to generate a pair of offspring.
migrate(List<List<EvaluatedCandidate<T>>>, int, Random) - Method in interface org.uncommons.watchmaker.framework.islands.Migration
 
migrate(List<List<EvaluatedCandidate<T>>>, int, Random) - Method in class org.uncommons.watchmaker.framework.islands.RingMigration
Migrates a fixed number of individuals from each island to the adjacent island.
Migration - Interface in org.uncommons.watchmaker.framework.islands
Strategy interface for different ways of migrating individuals between islands in IslandEvolution.

N

nextEvolutionStep(List<EvaluatedCandidate<T>>, int, Random) - Method in class org.uncommons.watchmaker.framework.AbstractEvolutionEngine
This method performs a single step/iteration of the evolutionary process.
nextEvolutionStep(List<EvaluatedCandidate<T>>, int, Random) - Method in class org.uncommons.watchmaker.framework.EvolutionStrategyEngine
This method performs a single step/iteration of the evolutionary process.
nextEvolutionStep(List<EvaluatedCandidate<T>>, int, Random) - Method in class org.uncommons.watchmaker.framework.GenerationalEvolutionEngine
This method performs a single step/iteration of the evolutionary process.
nextEvolutionStep(List<EvaluatedCandidate<T>>, int, Random) - Method in class org.uncommons.watchmaker.framework.SteadyStateEvolutionEngine
This method performs a single step/iteration of the evolutionary process.
NumericParameterControl<T extends Number & Comparable<T>> - Class in org.uncommons.watchmaker.swing
A GUI control that allows the user to set/update the value of a numeric parameter.
NumericParameterControl(T, T, T, T) - Constructor for class org.uncommons.watchmaker.swing.NumericParameterControl
 

O

ObjectArrayCrossover<T> - Class in org.uncommons.watchmaker.framework.operators
Cross-over with a configurable number of points (fixed or random) for arrays of reference types.
ObjectArrayCrossover() - Constructor for class org.uncommons.watchmaker.framework.operators.ObjectArrayCrossover
Default is single-point cross-over, applied to all parents.
ObjectArrayCrossover(int) - Constructor for class org.uncommons.watchmaker.framework.operators.ObjectArrayCrossover
Cross-over with a fixed number of cross-over points.
ObjectArrayCrossover(int, Probability) - Constructor for class org.uncommons.watchmaker.framework.operators.ObjectArrayCrossover
Cross-over with a fixed number of cross-over points.
ObjectArrayCrossover(NumberGenerator<Integer>) - Constructor for class org.uncommons.watchmaker.framework.operators.ObjectArrayCrossover
Cross-over with a variable number of cross-over points.
ObjectArrayCrossover(NumberGenerator<Integer>, NumberGenerator<Probability>) - Constructor for class org.uncommons.watchmaker.framework.operators.ObjectArrayCrossover
Sets up a cross-over implementation that uses a variable number of cross-over points.
ObjectArrayPermutationFactory<T> - Class in org.uncommons.watchmaker.framework.factories
Generates random candidates from a set of elements.
ObjectArrayPermutationFactory(T[]) - Constructor for class org.uncommons.watchmaker.framework.factories.ObjectArrayPermutationFactory
Creates a factory that creates arrays that contain each of the specified elements exactly once.
ObjectSwingRenderer - Class in org.uncommons.watchmaker.swing
A default Renderer implementation that can display any object as a Swing component.
ObjectSwingRenderer() - Constructor for class org.uncommons.watchmaker.swing.ObjectSwingRenderer
 
onError(Throwable) - Method in class org.uncommons.swing.SwingBackgroundTask
This method is invoked, on the Event Dispatch Thread, if there is an exception or error executing the SwingBackgroundTask.performTask() method.
org.uncommons.swing - package org.uncommons.swing
Utility classes and generic components for building Swing graphical user interfaces.
org.uncommons.watchmaker.framework - package org.uncommons.watchmaker.framework
This package provides a framework for evolutionary computation.
org.uncommons.watchmaker.framework.factories - package org.uncommons.watchmaker.framework.factories
Provides convenient general-purpose CandidateFactory implementations for common candidate representations such as strings, lists and arrays.
org.uncommons.watchmaker.framework.interactive - package org.uncommons.watchmaker.framework.interactive
Classes for implementing interactive evolutionary algorithms.
org.uncommons.watchmaker.framework.islands - package org.uncommons.watchmaker.framework.islands
An implementation of island model evolution.
org.uncommons.watchmaker.framework.operators - package org.uncommons.watchmaker.framework.operators
Provides several ready-to-use standard evolutionary operators for commonly used data types such as arrays, lists and strings.
org.uncommons.watchmaker.framework.selection - package org.uncommons.watchmaker.framework.selection
Various selection strategies for use with evolutionary algorithms.
org.uncommons.watchmaker.framework.termination - package org.uncommons.watchmaker.framework.termination
Configurable conditions for terminating evolutionary algorithms.
org.uncommons.watchmaker.swing - package org.uncommons.watchmaker.swing
This package provides a number of classes to simplify the development of Swing GUIs for evolutionary programs.
org.uncommons.watchmaker.swing.evolutionmonitor - package org.uncommons.watchmaker.swing.evolutionmonitor
This package provides an experimental evolution monitor Swing component.

P

paintBorder(Component, Graphics, int, int, int, int) - Method in class org.uncommons.swing.ConfigurableLineBorder
Renders borders for the specified component based on the configuration of this border object.
performTask() - Method in class org.uncommons.swing.SwingBackgroundTask
Performs the processing of the task and returns a result.
PopulationData<T> - Class in org.uncommons.watchmaker.framework
Immutable data object containing statistics about the state of an evolved population and a reference to the fittest candidate solution in the population.
PopulationData(T, double, double, double, boolean, int, int, int, long) - Constructor for class org.uncommons.watchmaker.framework.PopulationData
 
populationUpdate(PopulationData<? extends T>) - Method in interface org.uncommons.watchmaker.framework.EvolutionObserver
Invoked when the state of the population has changed (typically at the end of a generation).
populationUpdate(PopulationData<? extends T>) - Method in class org.uncommons.watchmaker.swing.evolutionmonitor.EvolutionMonitor
Invoked when the state of the population has changed (typically at the end of a generation).
populationUpdate(PopulationData<?>) - Method in class org.uncommons.watchmaker.swing.evolutionmonitor.StatusBar
Invoked when the state of the population has changed (typically at the end of a generation).
postProcessing(V) - Method in class org.uncommons.swing.SwingBackgroundTask
This method is invoked, on the Event Dispatch Thread, after the task has been executed.
ProbabilityParameterControl - Class in org.uncommons.watchmaker.swing
A GUI control that allows the user to set/update the value of a Probability parameter.
ProbabilityParameterControl(Probability) - Constructor for class org.uncommons.watchmaker.swing.ProbabilityParameterControl
Creates a control with a default range of 0..1 and a default granularity of 2 decimal places.
ProbabilityParameterControl(Probability, Probability, int, Probability) - Constructor for class org.uncommons.watchmaker.swing.ProbabilityParameterControl
 

R

RankSelection - Class in org.uncommons.watchmaker.framework.selection
A selection strategy that is similar to fitness-proportionate selection except that is uses relative fitness rather than absolute fitness in order to determine the probability of selection for a given individual (i.e.
RankSelection() - Constructor for class org.uncommons.watchmaker.framework.selection.RankSelection
Creates a default rank-based selector with a linear mapping function and selection frequencies that correspond to expected values.
RankSelection(SelectionStrategy<Object>) - Constructor for class org.uncommons.watchmaker.framework.selection.RankSelection
Creates a rank-based selector with a linear mapping function and configurable delegate for performing the proportionate selection.
removeEvolutionObserver(EvolutionObserver<? super T>) - Method in class org.uncommons.watchmaker.framework.AbstractEvolutionEngine
Removes an evolution progress listener.
removeEvolutionObserver(EvolutionObserver<? super T>) - Method in interface org.uncommons.watchmaker.framework.EvolutionEngine
Removes an evolution progress listener.
removeEvolutionObserver(IslandEvolutionObserver<? super T>) - Method in class org.uncommons.watchmaker.framework.islands.IslandEvolution
Remove the specified observer.
render(T) - Method in interface org.uncommons.watchmaker.framework.interactive.Renderer
Renders an object of one type as an instance of another.
render(T) - Method in class org.uncommons.watchmaker.framework.interactive.RendererAdapter
Renders an object of one type as an instance of another.
render(Object) - Method in class org.uncommons.watchmaker.swing.ObjectSwingRenderer
Calls Object.toString() on the specified entity and creates a JTextArea containing that text.
Renderer<T,S> - Interface in org.uncommons.watchmaker.framework.interactive
Maps objects of one type to objects of a different type.
RendererAdapter<T,S> - Class in org.uncommons.watchmaker.framework.interactive
Adapter class for chaining together two renderers in series to provide flexibility.
RendererAdapter(Renderer<T, ? extends R>, Renderer<R, S>) - Constructor for class org.uncommons.watchmaker.framework.interactive.RendererAdapter
Creates an adapter that feeds the output of renderer1 into renderer2.
Replacement<T> - Class in org.uncommons.watchmaker.framework.operators
An evolutionary operator that replaces individuals with randomly-generated new individuals, according to some specified probability.
Replacement(CandidateFactory<T>, Probability) - Constructor for class org.uncommons.watchmaker.framework.operators.Replacement
Creates a replacement operator that replaces individuals according to the specified probability.
Replacement(CandidateFactory<T>, NumberGenerator<Probability>) - Constructor for class org.uncommons.watchmaker.framework.operators.Replacement
Creates a replacement operator that replaces individuals according to a variable probability.
reset() - Method in class org.uncommons.watchmaker.framework.termination.UserAbort
Resets the abort condition to false so that it may be reused.
reset() - Method in class org.uncommons.watchmaker.swing.AbortControl
Enables the GUI control and resets the abort condition ready for use.
reset() - Method in interface org.uncommons.watchmaker.swing.EvolutionControl
Resets the control to its initial configuration.
reset() - Method in class org.uncommons.watchmaker.swing.NumericParameterControl
Resets the control to its initial configuration.
reset() - Method in class org.uncommons.watchmaker.swing.ProbabilityParameterControl
Resets the control to its initial configuration.
reset() - Method in class org.uncommons.watchmaker.swing.SelectionStrategyControl
Resets the control to its initial configuration.
RingMigration - Class in org.uncommons.watchmaker.framework.islands
Migrates a fixed number of individuals from each island to the adjacent island.
RingMigration() - Constructor for class org.uncommons.watchmaker.framework.islands.RingMigration
 
RouletteWheelSelection - Class in org.uncommons.watchmaker.framework.selection
Implements selection of n candidates from a population by selecting n candidates at random where the probability of each candidate getting selected is proportional to its fitness score.
RouletteWheelSelection() - Constructor for class org.uncommons.watchmaker.framework.selection.RouletteWheelSelection
 

S

select(List<? extends T>) - Method in interface org.uncommons.watchmaker.framework.interactive.Console
 
select(List<EvaluatedCandidate<S>>, boolean, int, Random) - Method in class org.uncommons.watchmaker.framework.interactive.InteractiveSelection
Select the specified number of candidates from the population.
select(List<EvaluatedCandidate<S>>, boolean, int, Random) - Method in class org.uncommons.watchmaker.framework.selection.RankSelection
Select the specified number of candidates from the population.
select(List<EvaluatedCandidate<S>>, boolean, int, Random) - Method in class org.uncommons.watchmaker.framework.selection.RouletteWheelSelection
Selects the required number of candidates from the population with the probability of selecting any particular candidate being proportional to that candidate's fitness score.
select(List<EvaluatedCandidate<S>>, boolean, int, Random) - Method in class org.uncommons.watchmaker.framework.selection.SigmaScaling
Select the specified number of candidates from the population.
select(List<EvaluatedCandidate<S>>, boolean, int, Random) - Method in class org.uncommons.watchmaker.framework.selection.StochasticUniversalSampling
 
select(List<EvaluatedCandidate<S>>, boolean, int, Random) - Method in class org.uncommons.watchmaker.framework.selection.TournamentSelection
 
select(List<EvaluatedCandidate<S>>, boolean, int, Random) - Method in class org.uncommons.watchmaker.framework.selection.TruncationSelection
Selects the fittest candidates.
select(List<EvaluatedCandidate<S>>, boolean, int, Random) - Method in interface org.uncommons.watchmaker.framework.SelectionStrategy
Select the specified number of candidates from the population.
select(List<? extends JComponent>) - Method in class org.uncommons.watchmaker.swing.SwingConsole
This method blocks and therefore must not be invoked from the Event Dispatch Thread.
SelectionStrategy<T> - Interface in org.uncommons.watchmaker.framework
Strategy interface for "natural" selection.
SelectionStrategyControl<T> - Class in org.uncommons.watchmaker.swing
An evolution control for selecting between different SelectionStrategy implementations.
SelectionStrategyControl(List<SelectionStrategy<? super T>>) - Constructor for class org.uncommons.watchmaker.swing.SelectionStrategyControl
Creates a control for choosing between a specified set of selection strategies.
setDescription(String) - Method in class org.uncommons.watchmaker.swing.AbortControl
Provides a textual description of the purpose of the control.
setDescription(String) - Method in interface org.uncommons.watchmaker.swing.EvolutionControl
Provides a textual description of the purpose of the control.
setDescription(String) - Method in class org.uncommons.watchmaker.swing.NumericParameterControl
Provides a textual description of the purpose of the control.
setDescription(String) - Method in class org.uncommons.watchmaker.swing.ProbabilityParameterControl
Provides a textual description of the purpose of the control.
setDescription(String) - Method in class org.uncommons.watchmaker.swing.SelectionStrategyControl
Provides a textual description of the purpose of the control.
setSingleThreaded(boolean) - Method in class org.uncommons.watchmaker.framework.AbstractEvolutionEngine
By default, fitness evaluations are performed on separate threads (as many as there are available cores/processors).
shouldContinue(PopulationData<T>, TerminationCondition...) - Static method in class org.uncommons.watchmaker.framework.EvolutionUtils
Given data about the current population and a set of termination conditions, determines whether or not the evolution should continue.
shouldTerminate(PopulationData<?>) - Method in class org.uncommons.watchmaker.framework.termination.ElapsedTime
The condition is queried via this method to determine whether or not evolution should finish at the current point.
shouldTerminate(PopulationData<?>) - Method in class org.uncommons.watchmaker.framework.termination.GenerationCount
The condition is queried via this method to determine whether or not evolution should finish at the current point.
shouldTerminate(PopulationData<?>) - Method in class org.uncommons.watchmaker.framework.termination.Stagnation
The condition is queried via this method to determine whether or not evolution should finish at the current point.
shouldTerminate(PopulationData<?>) - Method in class org.uncommons.watchmaker.framework.termination.TargetFitness
The condition is queried via this method to determine whether or not evolution should finish at the current point.
shouldTerminate(PopulationData<?>) - Method in class org.uncommons.watchmaker.framework.termination.UserAbort
The condition is queried via this method to determine whether or not evolution should finish at the current point.
shouldTerminate(PopulationData<?>) - Method in interface org.uncommons.watchmaker.framework.TerminationCondition
The condition is queried via this method to determine whether or not evolution should finish at the current point.
showInDialog(JFrame, String, boolean) - Method in class org.uncommons.watchmaker.swing.evolutionmonitor.EvolutionMonitor
Displays the evolution monitor component in a new JDialog.
showInFrame(String, boolean) - Method in class org.uncommons.watchmaker.swing.evolutionmonitor.EvolutionMonitor
Displays the evolution monitor component in a new JFrame.
SigmaScaling - Class in org.uncommons.watchmaker.framework.selection
An alternative to straightforward fitness-proportionate selection such as that offered by RouletteWheelSelection and StochasticUniversalSampling.
SigmaScaling() - Constructor for class org.uncommons.watchmaker.framework.selection.SigmaScaling
Creates a default sigma-scaled selection strategy.
SigmaScaling(SelectionStrategy<Object>) - Constructor for class org.uncommons.watchmaker.framework.selection.SigmaScaling
Creates a sigma-scaled selection strategy that delegates to the specified selection strategy after adjusting individual fitness scores using sigma-scaling.
sortEvaluatedPopulation(List<EvaluatedCandidate<T>>, boolean) - Static method in class org.uncommons.watchmaker.framework.EvolutionUtils
Sorts an evaluated population in descending order of fitness (descending order of fitness score for natural scores, ascending order of scores for non-natural scores).
SplitEvolution<T> - Class in org.uncommons.watchmaker.framework.operators
Compound evolutionary operator that allows the evolution of a population to be split into two separate streams.
SplitEvolution(EvolutionaryOperator<T>, EvolutionaryOperator<T>, double) - Constructor for class org.uncommons.watchmaker.framework.operators.SplitEvolution
 
SplitEvolution(EvolutionaryOperator<T>, EvolutionaryOperator<T>, NumberGenerator<Double>) - Constructor for class org.uncommons.watchmaker.framework.operators.SplitEvolution
 
SpringUtilities - Class in org.uncommons.swing
Utility methods for creating form-style or grid-style layouts with SpringLayout.
Stagnation - Class in org.uncommons.watchmaker.framework.termination
A TerminationCondition that halts evolution if no improvement in fitness is observed within a specified number of generations.
Stagnation(int, boolean) - Constructor for class org.uncommons.watchmaker.framework.termination.Stagnation
Creates a TerminationCondition that will halt evolution after the specified number of generations passes without any improvement in the population's fittest individual.
Stagnation(int, boolean, boolean) - Constructor for class org.uncommons.watchmaker.framework.termination.Stagnation
Creates a TerminationCondition that will halt evolution after the specified number of generations passes without any improvement in the population's fitness (either the fittest individual or the mean fitness of the entire population, depending on the final parameter).
StatusBar - Class in org.uncommons.watchmaker.swing.evolutionmonitor
Status bar component for the evolution monitor.
StatusBar() - Constructor for class org.uncommons.watchmaker.swing.evolutionmonitor.StatusBar
Creates a status bar configured for non-island evolution.
StatusBar(boolean) - Constructor for class org.uncommons.watchmaker.swing.evolutionmonitor.StatusBar
 
SteadyStateEvolutionEngine<T> - Class in org.uncommons.watchmaker.framework
An implementation of steady-state evolution, which is a type of evolutionary algorithm where a population is changed incrementally, with one individual evolved at a time.
SteadyStateEvolutionEngine(CandidateFactory<T>, EvolutionaryOperator<T>, FitnessEvaluator<? super T>, SelectionStrategy<? super T>, int, boolean, Random) - Constructor for class org.uncommons.watchmaker.framework.SteadyStateEvolutionEngine
Create a steady-state evolution strategy in which one or more (usually just one) evolved offspring replace randomly-chosen individuals.
StochasticUniversalSampling - Class in org.uncommons.watchmaker.framework.selection
An alternative to RouletteWheelSelection as a fitness-proportionate selection strategy.
StochasticUniversalSampling() - Constructor for class org.uncommons.watchmaker.framework.selection.StochasticUniversalSampling
 
StringCrossover - Class in org.uncommons.watchmaker.framework.operators
Variable-point (fixed or random) cross-over for String candidates.
StringCrossover() - Constructor for class org.uncommons.watchmaker.framework.operators.StringCrossover
Default is single-point cross-over, applied to all parents.
StringCrossover(int) - Constructor for class org.uncommons.watchmaker.framework.operators.StringCrossover
Cross-over with a fixed number of cross-over points.
StringCrossover(int, Probability) - Constructor for class org.uncommons.watchmaker.framework.operators.StringCrossover
Cross-over with a fixed number of cross-over points.
StringCrossover(NumberGenerator<Integer>) - Constructor for class org.uncommons.watchmaker.framework.operators.StringCrossover
Cross-over with a variable number of cross-over points.
StringCrossover(NumberGenerator<Integer>, NumberGenerator<Probability>) - Constructor for class org.uncommons.watchmaker.framework.operators.StringCrossover
Sets up a cross-over implementation that uses a variable number of cross-over points.
StringFactory - Class in org.uncommons.watchmaker.framework.factories
General-purpose candidate factory for EAs that use a fixed-length String encoding.
StringFactory(char[], int) - Constructor for class org.uncommons.watchmaker.framework.factories.StringFactory
 
StringMutation - Class in org.uncommons.watchmaker.framework.operators
Mutation of individual characters in a string according to some probability.
StringMutation(char[], Probability) - Constructor for class org.uncommons.watchmaker.framework.operators.StringMutation
Creates a mutation operator that is applied with the given probability and draws its characters from the specified alphabet.
StringMutation(char[], NumberGenerator<Probability>) - Constructor for class org.uncommons.watchmaker.framework.operators.StringMutation
Creates a mutation operator that is applied with the given probability and draws its characters from the specified alphabet.
submit(FitnessEvalutationTask<T>) - Method in class org.uncommons.watchmaker.framework.FitnessEvaluationWorker
 
SwingBackgroundTask<V> - Class in org.uncommons.swing
A task that is executed on a background thread and then updates a Swing GUI.
SwingBackgroundTask() - Constructor for class org.uncommons.swing.SwingBackgroundTask
 
SwingConsole - Class in org.uncommons.watchmaker.swing
Swing-based console for interactive evolutionary algorithms.
SwingConsole() - Constructor for class org.uncommons.watchmaker.swing.SwingConsole
Creates a console that displays candidates arranged in three columns (and as many rows as required).
SwingConsole(int) - Constructor for class org.uncommons.watchmaker.swing.SwingConsole
Creates a console with a configurable number of columns.

T

TargetFitness - Class in org.uncommons.watchmaker.framework.termination
Terminates evolution once at least one candidate in the population has equalled or bettered a pre-determined fitness score.
TargetFitness(double, boolean) - Constructor for class org.uncommons.watchmaker.framework.termination.TargetFitness
 
TerminationCondition - Interface in org.uncommons.watchmaker.framework
Interface for implementing conditions used to terminate evolutionary algorithms.
toString() - Method in class org.uncommons.watchmaker.framework.selection.RankSelection
toString() - Method in class org.uncommons.watchmaker.framework.selection.RouletteWheelSelection
toString() - Method in class org.uncommons.watchmaker.framework.selection.SigmaScaling
toString() - Method in class org.uncommons.watchmaker.framework.selection.StochasticUniversalSampling
toString() - Method in class org.uncommons.watchmaker.framework.selection.TournamentSelection
toString() - Method in class org.uncommons.watchmaker.framework.selection.TruncationSelection
TournamentSelection - Class in org.uncommons.watchmaker.framework.selection
Selection strategy that picks a pair of candidates at random and then selects the fitter of the two candidates with probability p, where p is the configured selection probability (therefore the probability of the less fit candidate being selected is 1 - p).
TournamentSelection(NumberGenerator<Probability>) - Constructor for class org.uncommons.watchmaker.framework.selection.TournamentSelection
Creates a tournament selection strategy that is controlled by the variable selection probability provided by the specified NumberGenerator.
TournamentSelection(Probability) - Constructor for class org.uncommons.watchmaker.framework.selection.TournamentSelection
Creates a tournament selection strategy with a fixed probability.
TruncationSelection - Class in org.uncommons.watchmaker.framework.selection
Implements selection of n candidates from a population by simply selecting the n candidates with the highest fitness scores (the rest are discarded).
TruncationSelection(NumberGenerator<Double>) - Constructor for class org.uncommons.watchmaker.framework.selection.TruncationSelection
Creates a truncation selection strategy that is controlled by the variable selection ratio provided by the specified NumberGenerator.
TruncationSelection(double) - Constructor for class org.uncommons.watchmaker.framework.selection.TruncationSelection
 

U

UserAbort - Class in org.uncommons.watchmaker.framework.termination
TerminationCondition implementation that allows for user-initiated termination of an evolutionary algorithm.
UserAbort() - Constructor for class org.uncommons.watchmaker.framework.termination.UserAbort
 

W

waitForCompletion() - Method in class org.uncommons.swing.SwingBackgroundTask
Waits for the execution of this task to complete.

A B C D E F G H I L M N O P R S T U W
Watchmaker Framework for Evolutionary Computation API
(Version 0.7.1)