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

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

public class RandomInitialVelocityStrategy
extends Object
implements VelocityInitialisationStrategy

Author:
Andries Engelbrecht
See Also:
Serialized Form

Constructor Summary
RandomInitialVelocityStrategy()
           
RandomInitialVelocityStrategy(RandomInitialVelocityStrategy copy)
           
 
Method Summary
 RandomInitialVelocityStrategy 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

RandomInitialVelocityStrategy

public RandomInitialVelocityStrategy()

RandomInitialVelocityStrategy

public RandomInitialVelocityStrategy(RandomInitialVelocityStrategy copy)
Method Detail

getClone

public RandomInitialVelocityStrategy 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.