net.sourceforge.cilib.bioinf.rnaprediction
Class SimpleRNAFitness

java.lang.Object
  extended by net.sourceforge.cilib.measurement.single.Fitness
      extended by net.sourceforge.cilib.bioinf.rnaprediction.RNAFitness
          extended by 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

Field Summary
 
Fields inherited from class net.sourceforge.cilib.bioinf.rnaprediction.RNAFitness
nucleotides
 
Constructor Summary
SimpleRNAFitness()
           
SimpleRNAFitness(SimpleRNAFitness copy)
           
 
Method Summary
 SimpleRNAFitness getClone()
          Create a cloned copy of the current object and return it.
 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
 

Constructor Detail

SimpleRNAFitness

public SimpleRNAFitness()

SimpleRNAFitness

public SimpleRNAFitness(SimpleRNAFitness copy)
Method Detail

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.