net.sourceforge.cilib.pso.dynamic
Class QuantumVelocityUpdateStrategy
java.lang.Object
net.sourceforge.cilib.pso.velocityupdatestrategies.StandardVelocityUpdate
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
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 |
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.
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.