net.sourceforge.cilib.bioinf.rnaprediction
Class RNAVelocityUpdate
java.lang.Object
net.sourceforge.cilib.bioinf.rnaprediction.RNAVelocityUpdate
- All Implemented Interfaces:
- Serializable, VelocityUpdateStrategy, Cloneable
public class RNAVelocityUpdate
- extends Object
- implements VelocityUpdateStrategy
- Author:
- mneethling
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RNAVelocityUpdate
public RNAVelocityUpdate()
RNAVelocityUpdate
public RNAVelocityUpdate(RNAVelocityUpdate copy)
getClone
public RNAVelocityUpdate getClone()
- Description copied from interface:
VelocityUpdateStrategy
- Clone the VelocityUpdateStrategy object.
- Specified by:
getClone
in interface VelocityUpdateStrategy
- Specified by:
getClone
in interface Cloneable
- Returns:
- A cloned VelocityUpdateStrategy
- See Also:
Object.clone()
updateVelocity
public void updateVelocity(Particle particle)
- Description copied from interface:
VelocityUpdateStrategy
- Perform the velocity update operation on the specified Particle.
- Specified by:
updateVelocity
in interface VelocityUpdateStrategy
- Parameters:
particle
- The Particle to apply the operation on.
updateControlParameters
public void updateControlParameters(Particle particle)
- Description copied from interface:
VelocityUpdateStrategy
- Update the needed control parameters for the VelocityUpdate,
if needed.
- Specified by:
updateControlParameters
in interface VelocityUpdateStrategy
- Parameters:
particle
- The particle for whom the VelocityUpdateStrategy parameters need to be updated.
setCloseProbability
public void setCloseProbability(double closeProbability)
- Parameters:
closeProbability
- The closeProbability to set.
setOpenProbability
public void setOpenProbability(double openProbability)
- Parameters:
openProbability
- The openProbability to set.
setAddRandomProbability
public void setAddRandomProbability(double addRandomProbability)
Copyright © 2009 CIRG. All Rights Reserved.