JAGA Homepage

org.jaga.individualRepresentation.proteinLocation
Class ProteinLocationClassifier

java.lang.Object
  extended by org.jaga.individualRepresentation.proteinLocation.ProteinLocationClassifier
All Implemented Interfaces:
Individual

public class ProteinLocationClassifier
extends java.lang.Object
implements Individual

TODO: Complete these comments.

Project: JAGA - Java API for Genetic Algorithms.

Company: University College London and JAGA.Org (http://www.jaga.org).

Copyright: (c) 2004 by G. Paperin.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, ONLY if you include a note of the original author(s) in any redistributed/modified copy.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA or see http://www.gnu.org/licenses/gpl.html

Version:
JAGA public release 1.0 beta
Author:
Greg Paperin (greg@jaga.org)

Field Summary
private  Fitness fitness
           
private  java.lang.String name
           
private  PolypeptidePattern pattern
           
 
Constructor Summary
private ProteinLocationClassifier()
           
  ProteinLocationClassifier(PolypeptidePattern pattern, java.lang.String name)
           
 
Method Summary
 Fitness getFitness()
          Gets the individual's fitness.
 java.lang.String getName()
           
 PolypeptidePattern getPattern()
           
 void setFitness(Fitness fitness)
          Sets the fitness.
 void setName(java.lang.String name)
           
 void setPattern(PolypeptidePattern pattern)
           
 java.lang.String toString()
          Produces a string representation of this individuial.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

pattern

private PolypeptidePattern pattern

fitness

private Fitness fitness

name

private java.lang.String name
Constructor Detail

ProteinLocationClassifier

private ProteinLocationClassifier()

ProteinLocationClassifier

public ProteinLocationClassifier(PolypeptidePattern pattern,
                                 java.lang.String name)
Method Detail

getPattern

public PolypeptidePattern getPattern()

setPattern

public void setPattern(PolypeptidePattern pattern)

getFitness

public Fitness getFitness()
Description copied from interface: Individual
Gets the individual's fitness.

Specified by:
getFitness in interface Individual
Returns:
The fitness object assosiated with this individual or null if no fitness is associated.

setFitness

public void setFitness(Fitness fitness)
Description copied from interface: Individual
Sets the fitness.

Specified by:
setFitness in interface Individual
Parameters:
fitness - The new fitness for this individual.

toString

public java.lang.String toString()
Description copied from interface: Individual
Produces a string representation of this individuial.

Specified by:
toString in interface Individual
Overrides:
toString in class java.lang.Object
Returns:
A string (mostly, human readable) representing this individual.

getName

public java.lang.String getName()

setName

public void setName(java.lang.String name)

JAGA Homepage

Go to JAGA Homepage