net.sourceforge.cilib.pso.dynamic.responsestrategies
Class ParticleReevaluationResponseStrategy<E extends PopulationBasedAlgorithm>
java.lang.Object
net.sourceforge.cilib.pso.dynamic.responsestrategies.EnvironmentChangeResponseStrategy<E>
net.sourceforge.cilib.pso.dynamic.responsestrategies.ParticleReevaluationResponseStrategy<E>
- All Implemented Interfaces:
- Serializable, Cloneable
- Direct Known Subclasses:
- PartialReinitialisationResponseStrategy
Deprecated. Rather use ReevaluationReactionStrategy
public class ParticleReevaluationResponseStrategy<E extends PopulationBasedAlgorithm>
- extends EnvironmentChangeResponseStrategy<E>
- Author:
- Anna Rakitianskaia
- See Also:
- Serialized Form
Method Summary |
ParticleReevaluationResponseStrategy<E> |
getClone()
Deprecated. Clone the EnvironmentChangeResponseStrategy object. |
protected void |
performReaction(E algorithm)
Deprecated. Re-evaluate each particle's position, personal best and neighbourhood best. |
void |
respond(E algorithm)
Deprecated. Respond to environment change by re-evaluating each particle's position, personal best and neighbourhood best. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ParticleReevaluationResponseStrategy
public ParticleReevaluationResponseStrategy()
- Deprecated.
ParticleReevaluationResponseStrategy
public ParticleReevaluationResponseStrategy(ParticleReevaluationResponseStrategy<E> copy)
- Deprecated.
getClone
public ParticleReevaluationResponseStrategy<E> getClone()
- Deprecated.
- Description copied from class:
EnvironmentChangeResponseStrategy
- 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()
respond
public void respond(E algorithm)
- Deprecated.
- Respond to environment change by re-evaluating each particle's position, personal best and neighbourhood best.
- Overrides:
respond
in class EnvironmentChangeResponseStrategy<E extends PopulationBasedAlgorithm>
- Parameters:
algorithm
- PSO algorithm that has to respond to environment change
performReaction
protected void performReaction(E algorithm)
- Deprecated.
- Re-evaluate each particle's position, personal best and neighbourhood best.
- Specified by:
performReaction
in class EnvironmentChangeResponseStrategy<E extends PopulationBasedAlgorithm>
- Parameters:
algorithm
- PSO algorithm that has to respond to environment change
Copyright © 2009 CIRG. All Rights Reserved.