net.sourceforge.cilib.pso.velocityupdatestrategies
Interface VelocityUpdateStrategy

All Superinterfaces:
Cloneable, Serializable
All Known Implementing Classes:
BareBonesDEVelocityUpdate, BareBonesExploitVelocityUpdateStrategy, BareBonesVelocityUpdateStrategy, ChargedVelocityUpdateStrategy, CoherenceVelocityUpdate, ConstrictionVelocityUpdate, FDRVelocityUpdateStrategy, FIPSVelocityUpdate, GCVelocityUpdateStrategy, LFVelocityUpdate, LinearVelocityUpdate, MOVelocityUpdateStrategy, QuantumVelocityUpdateStrategy, RNAVelocityUpdate, StandardVelocityUpdate

public interface VelocityUpdateStrategy
extends Serializable, Cloneable

Author:
Gary Pampara

Method Summary
 VelocityUpdateStrategy getClone()
          Clone the VelocityUpdateStrategy object.
 void updateControlParameters(Particle particle)
          Update the needed control parameters for the VelocityUpdate, if needed.
 void updateVelocity(Particle particle)
          Perform the velocity update operation on the specified Particle.
 

Method Detail

getClone

VelocityUpdateStrategy getClone()
Clone the VelocityUpdateStrategy object.

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

updateVelocity

void updateVelocity(Particle particle)
Perform the velocity update operation on the specified Particle.

Parameters:
particle - The Particle to apply the operation on.

updateControlParameters

void updateControlParameters(Particle particle)
Update the needed control parameters for the VelocityUpdate, if needed.

Parameters:
particle - The particle for whom the VelocityUpdateStrategy parameters need to be updated.


Copyright © 2009 CIRG. All Rights Reserved.