public class PAES extends AbstractEvolutionaryAlgorithm
References:
initialized, numberOfEvaluations, problem, terminated
Constructor and Description |
---|
PAES(Problem problem)
Constructs a new PAES instance with default settings.
|
PAES(Problem problem,
Mutation mutation,
int bisections,
int archiveSize)
Constructs a new PAES instance.
|
Modifier and Type | Method and Description |
---|---|
void |
applyConfiguration(TypedProperties properties)
Applies the properties to this instance.
|
AdaptiveGridArchive |
getArchive()
Returns the current non-dominated archive of the best solutions generated
by this evolutionary algorithm, or
null if no archive is used. |
TypedProperties |
getConfiguration()
Gets the current configuration of this instance.
|
Mutation |
getVariation()
Returns the variation operator currently in use by this algorithm.
|
protected void |
iterate()
Performs one iteration of the algorithm.
|
void |
setVariation(Mutation mutation)
Replaces the mutation operator to be used by this algorithm.
|
Solution |
test(Solution parent,
Solution offspring)
The test procedure to determine which solution, the parent or offspring,
moves on to the next generation.
|
getInitialization, getInitialPopulationSize, getPopulation, getResult, initialize, loadState, saveState, setArchive, setInitialization, setInitialPopulationSize, setPopulation, setVariation
assertNotInitialized, evaluate, evaluateAll, evaluateAll, getNumberOfEvaluations, getProblem, isInitialized, isTerminated, step, terminate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
evaluate, getNumberOfEvaluations, getProblem, isTerminated, run, run, step, terminate
checkTypeSafety, getState, setState, writeTypeSafety
public PAES(Problem problem)
problem
- the problempublic PAES(Problem problem, Mutation mutation, int bisections, int archiveSize)
problem
- the problemmutation
- the mutation operatorbisections
- the number of bisections in the adaptive grid archivearchiveSize
- the capacity of the adaptive grid archivepublic void setVariation(Mutation mutation)
mutation
- the mutation operatorpublic Mutation getVariation()
AbstractEvolutionaryAlgorithm
getVariation
in class AbstractEvolutionaryAlgorithm
public AdaptiveGridArchive getArchive()
EvolutionaryAlgorithm
null
if no archive is used.getArchive
in interface EvolutionaryAlgorithm
getArchive
in class AbstractEvolutionaryAlgorithm
null
if no archive is
usedpublic Solution test(Solution parent, Solution offspring)
parent
- the parent solutionoffspring
- the offspring solutionprotected void iterate()
AbstractAlgorithm
iterate
in class AbstractAlgorithm
public void applyConfiguration(TypedProperties properties)
Configurable
TypedProperties.warnIfUnaccessedProperties()
to verify all properties were processed. This can identify simple mistakes like typos.
If overriding this method, properties should only be updated if a new value is provided. Additionally, if
updating any Configurable
objects inside this object, they should be updated before calling
super.applyConfiguration(properties)
.properties
- the user-defined propertiespublic TypedProperties getConfiguration()
Configurable
Copyright 2009-2024 David Hadka and other contributors. All rights reserved.
Licensed under the GNU Lesser General Public License.
Return to the MOEA Framework homepage.