net.sourceforge.cilib.bioinf.rnaprediction
Class RNAFitness

java.lang.Object
  extended by net.sourceforge.cilib.measurement.single.Fitness
      extended by net.sourceforge.cilib.bioinf.rnaprediction.RNAFitness
All Implemented Interfaces:
Serializable, Measurement, Cloneable
Direct Known Subclasses:
Efn2RNAFitness, HydrogenBondFitness, MathewsFitness, MethewsFitness, SimpleRNAFitness, ViennaRNAFitness

public abstract class RNAFitness
extends Fitness

Author:
mneethling Abstract base class for fitness evaluation classes Implement the derived classes in such a way that lower fitness is better. ie. fitness should be minimised.
See Also:
Serialized Form

Field Summary
protected  String nucleotides
           
 
Constructor Summary
RNAFitness()
           
RNAFitness(String nuc)
           
 
Method Summary
abstract  RNAFitness getClone()
          Create a cloned copy of the current object and return it.
abstract  Double getRNAFitness(RNAConformation stems)
           
 
Methods inherited from class net.sourceforge.cilib.measurement.single.Fitness
getDomain, getValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nucleotides

protected String nucleotides
Constructor Detail

RNAFitness

public RNAFitness()

RNAFitness

public RNAFitness(String nuc)
Method Detail

getClone

public abstract RNAFitness 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
Overrides:
getClone in class Fitness
Returns:
An exact clone of the current object instance.
See Also:
Object.clone()

getRNAFitness

public abstract Double getRNAFitness(RNAConformation stems)


Copyright © 2009 CIRG. All Rights Reserved.