net.sourceforge.cilib.bioinf.rnaprediction
Class SimpleRNAFitness
java.lang.Object
net.sourceforge.cilib.measurement.single.Fitness
net.sourceforge.cilib.bioinf.rnaprediction.RNAFitness
net.sourceforge.cilib.bioinf.rnaprediction.SimpleRNAFitness
- All Implemented Interfaces:
- Serializable, Measurement, Cloneable
public class SimpleRNAFitness
- extends RNAFitness
- Author:
- mneethling
This fitness class calculates the fitness of the conformation by adding
up the number of contacts in the conformation and subtracting that number from
the length of the nucleotide string. Thus, fitness should be minimised.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleRNAFitness
public SimpleRNAFitness()
SimpleRNAFitness
public SimpleRNAFitness(SimpleRNAFitness copy)
getClone
public SimpleRNAFitness getClone()
- Description copied from class:
Fitness
- Create a cloned copy of the current object and return it. In general
the created copy will be a deep copy of the provided instance. As
a result this operation an be quite expensive if used incorrectly.
- Specified by:
getClone
in interface Measurement
- Specified by:
getClone
in interface Cloneable
- Specified by:
getClone
in class RNAFitness
- Returns:
- An exact clone of the current object instance.
- See Also:
Object.clone()
getRNAFitness
public Double getRNAFitness(RNAConformation stems)
- Specified by:
getRNAFitness
in class RNAFitness
Copyright © 2009 CIRG. All Rights Reserved.