net.sourceforge.cilib.bioinf.rnaprediction
Class RNAVelocityUpdate

java.lang.Object
  extended by 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

Constructor Summary
RNAVelocityUpdate()
           
RNAVelocityUpdate(RNAVelocityUpdate copy)
           
 
Method Summary
 RNAVelocityUpdate getClone()
          Clone the VelocityUpdateStrategy object.
 void setAddRandomProbability(double addRandomProbability)
           
 void setCloseProbability(double closeProbability)
           
 void setOpenProbability(double openProbability)
           
 void updateControlParameters(Particle particle)
          Update the needed control parameters for the VelocityUpdate, if needed.
 void updateVelocity(Particle particle)
          Perform the velocity update operation on the specified Particle.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RNAVelocityUpdate

public RNAVelocityUpdate()

RNAVelocityUpdate

public RNAVelocityUpdate(RNAVelocityUpdate copy)
Method Detail

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.