net.sourceforge.cilib.pso.particle.initialisation
Class ZeroInitialVelocityStrategy

java.lang.Object
  extended by net.sourceforge.cilib.pso.particle.initialisation.ZeroInitialVelocityStrategy
All Implemented Interfaces:
Serializable, VelocityInitialisationStrategy, Cloneable

public class ZeroInitialVelocityStrategy
extends Object
implements VelocityInitialisationStrategy

Author:
Gary Pampara
See Also:
Serialized Form

Constructor Summary
ZeroInitialVelocityStrategy()
           
ZeroInitialVelocityStrategy(ZeroInitialVelocityStrategy copy)
           
 
Method Summary
 ZeroInitialVelocityStrategy getClone()
          Clone the VeclocityInitialisationStrategy.
 void initialise(Particle particle)
          Initialise the Particle velocity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZeroInitialVelocityStrategy

public ZeroInitialVelocityStrategy()

ZeroInitialVelocityStrategy

public ZeroInitialVelocityStrategy(ZeroInitialVelocityStrategy copy)
Method Detail

getClone

public ZeroInitialVelocityStrategy getClone()
Description copied from interface: VelocityInitialisationStrategy
Clone the VeclocityInitialisationStrategy.

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

initialise

public void initialise(Particle particle)
Description copied from interface: VelocityInitialisationStrategy
Initialise the Particle velocity.

Specified by:
initialise in interface VelocityInitialisationStrategy
Parameters:
particle - The velocity vector of the particle to initialise.


Copyright © 2009 CIRG. All Rights Reserved.