net.sourceforge.cilib.pso.particle.initialisation
Class RandomInitialVelocityStrategy
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RandomInitialVelocityStrategy
public RandomInitialVelocityStrategy()
RandomInitialVelocityStrategy
public RandomInitialVelocityStrategy(RandomInitialVelocityStrategy copy)
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.