net.sourceforge.cilib.pso.dynamic
Class QuantumVelocityUpdateStrategy

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

public class QuantumVelocityUpdateStrategy
extends StandardVelocityUpdate

Velocity update strategy for QSO (Quantum PSO). Implemented according to paper by Blackwell and Branke, "Multiswarms, Exclusion, and Anti- Convergence in Dynamic Environments."

Author:
Anna Rakitianskaia
See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.sourceforge.cilib.pso.velocityupdatestrategies.StandardVelocityUpdate
cognitiveAcceleration, inertiaWeight, socialAcceleration, vMax
 
Constructor Summary
QuantumVelocityUpdateStrategy()
          Create a new instance of QuantumPositionUpdateStrategy.
QuantumVelocityUpdateStrategy(StandardVelocityUpdate copy)
          Create an copy of the provided instance.
 
Method Summary
 void updateVelocity(Particle particle)
          Update particle velocity; do it in a standard way if the particle is neutral, and do not update it if the particle is quantum (charged), since quantum particles do not use the velocity to update their positions.
 
Methods inherited from class net.sourceforge.cilib.pso.velocityupdatestrategies.StandardVelocityUpdate
clamp, getClone, 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

QuantumVelocityUpdateStrategy

public QuantumVelocityUpdateStrategy()
Create a new instance of QuantumPositionUpdateStrategy.


QuantumVelocityUpdateStrategy

public QuantumVelocityUpdateStrategy(StandardVelocityUpdate copy)
Create an copy of the provided instance.

Parameters:
copy - The instance to copy.
Method Detail

updateVelocity

public void updateVelocity(Particle particle)
Update particle velocity; do it in a standard way if the particle is neutral, and do not update it if the particle is quantum (charged), since quantum particles do not use the velocity to update their positions.

Specified by:
updateVelocity in interface VelocityUpdateStrategy
Overrides:
updateVelocity in class StandardVelocityUpdate
Parameters:
particle - the particle to update position of


Copyright © 2009 CIRG. All Rights Reserved.