net.sourceforge.cilib.pso.dynamic.responsestrategies
Class CompetitiveCoevolutionParticleReevaluationResponseStrategy<E extends PopulationBasedAlgorithm>
java.lang.Object
net.sourceforge.cilib.pso.dynamic.responsestrategies.EnvironmentChangeResponseStrategy<E>
net.sourceforge.cilib.pso.dynamic.responsestrategies.CompetitiveCoevolutionParticleReevaluationResponseStrategy<E>
- All Implemented Interfaces:
- Serializable, Cloneable
public class CompetitiveCoevolutionParticleReevaluationResponseStrategy<E extends PopulationBasedAlgorithm>
- extends EnvironmentChangeResponseStrategy<E>
This class re-calculates all the personal best positions in the population. It will only work for PSO algorithms.
- Author:
- leo
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompetitiveCoevolutionParticleReevaluationResponseStrategy
public CompetitiveCoevolutionParticleReevaluationResponseStrategy()
CompetitiveCoevolutionParticleReevaluationResponseStrategy
public CompetitiveCoevolutionParticleReevaluationResponseStrategy(CompetitiveCoevolutionParticleReevaluationResponseStrategy<E> other)
getClone
public CompetitiveCoevolutionParticleReevaluationResponseStrategy<E> getClone()
- Clone the EnvironmentChangeResponseStrategy object.
- Specified by:
getClone
in interface Cloneable
- Specified by:
getClone
in class EnvironmentChangeResponseStrategy<E extends PopulationBasedAlgorithm>
- Returns:
- A cloned EnvironmentChangeResponseStrategy
- See Also:
Object.clone()
performReaction
public void performReaction(PopulationBasedAlgorithm algorithm)
- This is the method responsible for responding that should be overridden by sub-classes.
- Specified by:
performReaction
in class EnvironmentChangeResponseStrategy<E extends PopulationBasedAlgorithm>
Copyright © 2009 CIRG. All Rights Reserved.