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

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

public class RandomBoundedInitialVelocityStrategy
extends Object
implements VelocityInitialisationStrategy

Author:
Andries Engelbrecht
See Also:
Serialized Form

Constructor Summary
RandomBoundedInitialVelocityStrategy()
           
RandomBoundedInitialVelocityStrategy(RandomBoundedInitialVelocityStrategy copy)
           
 
Method Summary
 RandomBoundedInitialVelocityStrategy getClone()
          Clone the VeclocityInitialisationStrategy.
 ControlParameter getLowerBound()
           
 ControlParameter getUpperBound()
           
 void initialise(Particle particle)
          Initialise the Particle velocity.
 void setLowerBound(ControlParameter lowerBound)
           
 void setUpperBound(ControlParameter upperBound)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandomBoundedInitialVelocityStrategy

public RandomBoundedInitialVelocityStrategy()

RandomBoundedInitialVelocityStrategy

public RandomBoundedInitialVelocityStrategy(RandomBoundedInitialVelocityStrategy copy)
Method Detail

getClone

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

getLowerBound

public ControlParameter getLowerBound()

setLowerBound

public void setLowerBound(ControlParameter lowerBound)

getUpperBound

public ControlParameter getUpperBound()

setUpperBound

public void setUpperBound(ControlParameter upperBound)


Copyright © 2009 CIRG. All Rights Reserved.