net.sourceforge.cilib.pso.velocityupdatestrategies
Class MOVelocityUpdateStrategy

java.lang.Object
  extended by net.sourceforge.cilib.pso.velocityupdatestrategies.StandardVelocityUpdate
      extended by net.sourceforge.cilib.pso.velocityupdatestrategies.MOVelocityUpdateStrategy
All Implemented Interfaces:
Serializable, VelocityUpdateStrategy, Cloneable

public class MOVelocityUpdateStrategy
extends StandardVelocityUpdate

With Multi-objective PSOs the pBest and lBest (or gBest) particles are replaced with the concept of local and global guides respectively. This class is a generic VelocityUpdateStrategy implementation for most Multi-objective PSOs. It makes use of two GuideSelectionStrategy instances that is responsible for selecting these guides for every particle. After the guides have been selected, different criteria can be used to determine if the particle's guides should be updated. This is achieved by making use of two GuideUpdateStrategy instances.

Author:
Wiehann Matthysen
See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.sourceforge.cilib.pso.velocityupdatestrategies.StandardVelocityUpdate
cognitiveAcceleration, inertiaWeight, socialAcceleration, vMax
 
Constructor Summary
MOVelocityUpdateStrategy()
           
MOVelocityUpdateStrategy(MOVelocityUpdateStrategy copy)
           
 
Method Summary
 MOVelocityUpdateStrategy getClone()
          Clone the VelocityUpdateStrategy object.
 GuideSelectionStrategy getGlobalGuideSelectionStrategy()
           
 GuideUpdateStrategy getGlobalGuideUpdateStrategy()
           
 GuideSelectionStrategy getLocalGuideSelectionStrategy()
           
 GuideUpdateStrategy getLocalGuideUpdateStrategy()
           
protected  void selectGuides(Particle particle)
           
 void setGlobalGuideSelectionStrategy(GuideSelectionStrategy globalGuideSelectionStrategy)
           
 void setGlobalGuideUpdateStrategy(GuideUpdateStrategy globalGuideUpdateStrategy)
           
 void setLocalGuideSelectionStrategy(GuideSelectionStrategy localGuideSelectionStrategy)
           
 void setLocalGuideUpdateStrategy(GuideUpdateStrategy localGuideUpdateStrategy)
           
 void updateVelocity(Particle particle)
          Perform the velocity update for the given Particle.
 
Methods inherited from class net.sourceforge.cilib.pso.velocityupdatestrategies.StandardVelocityUpdate
clamp, getCognitiveAcceleration, getInertiaWeight, getSocialAcceleration, getVMax, setCognitiveAcceleration, setInertiaWeight, setSocialAcceleration, setVMax, updateControlParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MOVelocityUpdateStrategy

public MOVelocityUpdateStrategy()

MOVelocityUpdateStrategy

public MOVelocityUpdateStrategy(MOVelocityUpdateStrategy copy)
Method Detail

getClone

public MOVelocityUpdateStrategy getClone()
Description copied from class: StandardVelocityUpdate
Clone the VelocityUpdateStrategy object.

Specified by:
getClone in interface VelocityUpdateStrategy
Specified by:
getClone in interface Cloneable
Overrides:
getClone in class StandardVelocityUpdate
Returns:
A cloned VelocityUpdateStrategy
See Also:
Object.clone()

setLocalGuideSelectionStrategy

public void setLocalGuideSelectionStrategy(GuideSelectionStrategy localGuideSelectionStrategy)

getLocalGuideSelectionStrategy

public GuideSelectionStrategy getLocalGuideSelectionStrategy()

setGlobalGuideSelectionStrategy

public void setGlobalGuideSelectionStrategy(GuideSelectionStrategy globalGuideSelectionStrategy)

getGlobalGuideSelectionStrategy

public GuideSelectionStrategy getGlobalGuideSelectionStrategy()

setLocalGuideUpdateStrategy

public void setLocalGuideUpdateStrategy(GuideUpdateStrategy localGuideUpdateStrategy)

getLocalGuideUpdateStrategy

public GuideUpdateStrategy getLocalGuideUpdateStrategy()

setGlobalGuideUpdateStrategy

public void setGlobalGuideUpdateStrategy(GuideUpdateStrategy globalGuideUpdateStrategy)

getGlobalGuideUpdateStrategy

public GuideUpdateStrategy getGlobalGuideUpdateStrategy()

selectGuides

protected void selectGuides(Particle particle)

updateVelocity

public void updateVelocity(Particle particle)
Description copied from class: StandardVelocityUpdate
Perform the velocity update for the given Particle.

Specified by:
updateVelocity in interface VelocityUpdateStrategy
Overrides:
updateVelocity in class StandardVelocityUpdate
Parameters:
particle - The Particle velocity that should be updated.


Copyright © 2009 CIRG. All Rights Reserved.