net.sourceforge.cilib.pso.dynamic.responsestrategies
Class CompetitiveCoevolutionParticleReevaluationResponseStrategy<E extends PopulationBasedAlgorithm>

java.lang.Object
  extended by net.sourceforge.cilib.pso.dynamic.responsestrategies.EnvironmentChangeResponseStrategy<E>
      extended by 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

Field Summary
 
Fields inherited from class net.sourceforge.cilib.pso.dynamic.responsestrategies.EnvironmentChangeResponseStrategy
hasMemory
 
Constructor Summary
CompetitiveCoevolutionParticleReevaluationResponseStrategy()
           
CompetitiveCoevolutionParticleReevaluationResponseStrategy(CompetitiveCoevolutionParticleReevaluationResponseStrategy<E> other)
           
 
Method Summary
 CompetitiveCoevolutionParticleReevaluationResponseStrategy<E> getClone()
          Clone the EnvironmentChangeResponseStrategy object.
 void performReaction(PopulationBasedAlgorithm algorithm)
          This is the method responsible for responding that should be overridden by sub-classes.
 
Methods inherited from class net.sourceforge.cilib.pso.dynamic.responsestrategies.EnvironmentChangeResponseStrategy
getHasMemory, respond, setHasMemory, updateNeighbourhoodBestEntities
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompetitiveCoevolutionParticleReevaluationResponseStrategy

public CompetitiveCoevolutionParticleReevaluationResponseStrategy()

CompetitiveCoevolutionParticleReevaluationResponseStrategy

public CompetitiveCoevolutionParticleReevaluationResponseStrategy(CompetitiveCoevolutionParticleReevaluationResponseStrategy<E> other)
Method Detail

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.