net.sourceforge.cilib.pso.velocityupdatestrategies
Class BareBonesExploitVelocityUpdateStrategy

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

public class BareBonesExploitVelocityUpdateStrategy
extends Object
implements VelocityUpdateStrategy

The VelocityUpdateStrategy strategy for the Bare Bones PSO as adapted by Kennedy. TODO: get the required references

Author:
Andries Engelbrecht
See Also:
Serialized Form

Constructor Summary
BareBonesExploitVelocityUpdateStrategy()
           
BareBonesExploitVelocityUpdateStrategy(BareBonesExploitVelocityUpdateStrategy copy)
           
 
Method Summary
 BareBonesExploitVelocityUpdateStrategy 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BareBonesExploitVelocityUpdateStrategy

public BareBonesExploitVelocityUpdateStrategy()

BareBonesExploitVelocityUpdateStrategy

public BareBonesExploitVelocityUpdateStrategy(BareBonesExploitVelocityUpdateStrategy copy)
Method Detail

getClone

public BareBonesExploitVelocityUpdateStrategy getClone()
Clone the VelocityUpdateStrategy object.

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

updateVelocity

public void updateVelocity(Particle particle)
Description copied from interface: VelocityUpdateStrategy
Perform the velocity update operation on the specified Particle.

Specified by:
updateVelocity in interface VelocityUpdateStrategy
Parameters:
particle - The Particle to apply the operation on.

updateControlParameters

public void updateControlParameters(Particle particle)
Description copied from interface: VelocityUpdateStrategy
Update the needed control parameters for the VelocityUpdate, if needed.

Specified by:
updateControlParameters in interface VelocityUpdateStrategy
Parameters:
particle - The particle for whom the VelocityUpdateStrategy parameters need to be updated.


Copyright © 2009 CIRG. All Rights Reserved.