net.sourceforge.cilib.pso.positionupdatestrategies
Interface PositionUpdateStrategy

All Superinterfaces:
Cloneable, Serializable
All Known Implementing Classes:
BareBonesPositionUpdateStrategy, BinaryPositionUpdateStrategy, DEPositionUpdateStrategy, GaussianPositionUpdateStrategy, LinearPositionUpdateStrategy, QuantumPositionUpdateStrategy, StandardPositionUpdateStrategy

public interface PositionUpdateStrategy
extends Cloneable, Serializable

TODO: Complete this javadoc.

Author:
Gary Pampara

Method Summary
 PositionUpdateStrategy getClone()
          Clone the stategy by creating a new object with the same contents and values as the current object.
 void updatePosition(Particle particle)
          Update the position of the Particle.
 

Method Detail

getClone

PositionUpdateStrategy getClone()
Clone the stategy by creating a new object with the same contents and values as the current object.

Specified by:
getClone in interface Cloneable
Returns:
A clone of the current PositionUpdateStrategy
See Also:
Object.clone()

updatePosition

void updatePosition(Particle particle)
Update the position of the Particle.

Parameters:
particle - The Particle to perform the position update on.


Copyright © 2009 CIRG. All Rights Reserved.