net.sourceforge.cilib.coevolution
Class CoevolutionSynchronousIterationStrategy
java.lang.Object
net.sourceforge.cilib.algorithm.population.AbstractIterationStrategy<PSO>
net.sourceforge.cilib.coevolution.CoevolutionSynchronousIterationStrategy
- All Implemented Interfaces:
- Serializable, IterationStrategy<PSO>, Cloneable
public class CoevolutionSynchronousIterationStrategy
- extends AbstractIterationStrategy<PSO>
FIXME: Remove this class. How is it different to the normal SynchronousIterationStrategy, or
even the normal ASynchronousIterationStrategy???
- Author:
- Julien Duhain
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CoevolutionSynchronousIterationStrategy
public CoevolutionSynchronousIterationStrategy()
getClone
public CoevolutionSynchronousIterationStrategy getClone()
- Create a cloned copy of the current object and return it. In general
the created copy will be a deep copy of the provided instance. As
a result this operation an be quite expensive if used incorrectly.
- Specified by:
getClone
in interface IterationStrategy<PSO>
- Specified by:
getClone
in interface Cloneable
- Specified by:
getClone
in class AbstractIterationStrategy<PSO>
- Returns:
- An exact clone of the current object instance.
- See Also:
Object.clone()
performIteration
public void performIteration(PSO pso)
- Perform the iteration of the PopulationBasedAlgorithm.
Due to the nature of the PopulationBasedAlgorithms, the actual manner in which the algorithm's
iteration is performed is deferred to the specific iteration strategy being used.
This implies that the general structure of the iteration for a specific flavour of
algorithm is constant with modifications on that algorithm being made. For example,
within a Genetic Algorithm you would expect:
- Parent individuals to be selected in some manner
- A crossover process to be done on the selected parent individuals to create
the offspring
- A mutation process to alter the generated offspring
- Recombine the existing parent individuals and the generated offspring to create
the next generation
- Specified by:
performIteration
in interface IterationStrategy<PSO>
- Specified by:
performIteration
in class AbstractIterationStrategy<PSO>
- Parameters:
pso
- The algorithm to perform the iteration process on.
Copyright © 2009 CIRG. All Rights Reserved.