weka.classifiers.immune.immunos
Class Immunos99Antibody

java.lang.Object
  extended by weka.classifiers.immune.immunos.Antibody
      extended by weka.classifiers.immune.immunos.Immunos99Antibody
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Antibody>

public class Immunos99Antibody
extends Antibody

Type: Immunos99Antibody
File: Immunos99Antibody.java
Date: 23/01/2005

Description:

Author:
Jason Brownlee
See Also:
Serialized Form

Constructor Summary
Immunos99Antibody(double[] aAttributes, int aClassIndex, int aNumClasses)
           
Immunos99Antibody(Immunos99Antibody aParent)
           
Immunos99Antibody(weka.core.Instance aInstance)
           
 
Method Summary
 double calculateFitness()
           
 boolean canSwitchClass()
           
 void clearClassCounts()
           
 double getFitness()
           
 boolean hasMisClassified()
           
 void switchClasses()
           
 void updateClassCount(weka.core.Instance aInstance, double score)
           
 
Methods inherited from class weka.classifiers.immune.immunos.Antibody
compareTo, getAffinity, getAttributes, getClassification, getClassIndex, setAffinity
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Immunos99Antibody

public Immunos99Antibody(double[] aAttributes,
                         int aClassIndex,
                         int aNumClasses)

Immunos99Antibody

public Immunos99Antibody(weka.core.Instance aInstance)

Immunos99Antibody

public Immunos99Antibody(Immunos99Antibody aParent)
Method Detail

updateClassCount

public void updateClassCount(weka.core.Instance aInstance,
                             double score)

clearClassCounts

public void clearClassCounts()

hasMisClassified

public boolean hasMisClassified()

canSwitchClass

public boolean canSwitchClass()

switchClasses

public void switchClasses()

calculateFitness

public double calculateFitness()

getFitness

public double getFitness()