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

java.lang.Object
  extended by net.sourceforge.cilib.pso.dynamic.responsestrategies.EnvironmentChangeResponseStrategy<E>
      extended by net.sourceforge.cilib.pso.dynamic.responsestrategies.NeighbourhoodBestSentriesReactionStrategy<E>
All Implemented Interfaces:
Serializable, Cloneable

public class NeighbourhoodBestSentriesReactionStrategy<E extends PopulationBasedAlgorithm>
extends EnvironmentChangeResponseStrategy<E>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.sourceforge.cilib.pso.dynamic.responsestrategies.EnvironmentChangeResponseStrategy
hasMemory
 
Constructor Summary
NeighbourhoodBestSentriesReactionStrategy()
           
NeighbourhoodBestSentriesReactionStrategy(NeighbourhoodBestSentriesReactionStrategy<E> rhs)
           
 
Method Summary
 NeighbourhoodBestSentriesReactionStrategy<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

NeighbourhoodBestSentriesReactionStrategy

public NeighbourhoodBestSentriesReactionStrategy()

NeighbourhoodBestSentriesReactionStrategy

public NeighbourhoodBestSentriesReactionStrategy(NeighbourhoodBestSentriesReactionStrategy<E> rhs)
Method Detail

getClone

public NeighbourhoodBestSentriesReactionStrategy<E> getClone()
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()

performReaction

public void performReaction(PopulationBasedAlgorithm algorithm)
Description copied from class: EnvironmentChangeResponseStrategy
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.