weka.classifiers.immune.airs.algorithm
Class AffinityFunction

java.lang.Object
  extended by weka.classifiers.immune.airs.algorithm.DistanceFunction
      extended by weka.classifiers.immune.airs.algorithm.AffinityFunction
All Implemented Interfaces:
java.io.Serializable

public class AffinityFunction
extends DistanceFunction

Type: AffinityFunction File: AffinityFunction.java Date: 30/12/2004 Description:

Author:
Jason Brownlee
See Also:
Serialized Form

Constructor Summary
AffinityFunction(weka.core.Instances aInstances)
           
 
Method Summary
 double affinityNormalised(Cell c1, Cell c2)
           
 double affinityNormalised(double[] i1, Cell c2)
           
 double affinityNormalised(double[] i1, double[] i2)
           
 double affinityNormalised(weka.core.Instance i1, Cell c2)
           
 double affinityNormalised(weka.core.Instance i1, weka.core.Instance i2)
           
 double affinityUnnormalised(Cell c1, Cell c2)
           
 double affinityUnnormalised(double[] i1, Cell c2)
           
 double affinityUnnormalised(double[] i1, double[] i2)
           
 double affinityUnnormalised(weka.core.Instance i1, Cell c2)
           
 double affinityUnnormalised(weka.core.Instance i1, weka.core.Instance i2)
           
 
Methods inherited from class weka.classifiers.immune.airs.algorithm.DistanceFunction
distanceEuclideanNormalised, distanceEuclideanUnnormalised, getMinMax, prepareDistanceMeasures
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AffinityFunction

public AffinityFunction(weka.core.Instances aInstances)
Method Detail

affinityNormalised

public double affinityNormalised(double[] i1,
                                 double[] i2)

affinityUnnormalised

public double affinityUnnormalised(double[] i1,
                                   double[] i2)

affinityNormalised

public double affinityNormalised(weka.core.Instance i1,
                                 weka.core.Instance i2)

affinityNormalised

public double affinityNormalised(weka.core.Instance i1,
                                 Cell c2)

affinityNormalised

public double affinityNormalised(double[] i1,
                                 Cell c2)

affinityNormalised

public double affinityNormalised(Cell c1,
                                 Cell c2)

affinityUnnormalised

public double affinityUnnormalised(weka.core.Instance i1,
                                   weka.core.Instance i2)

affinityUnnormalised

public double affinityUnnormalised(weka.core.Instance i1,
                                   Cell c2)

affinityUnnormalised

public double affinityUnnormalised(double[] i1,
                                   Cell c2)

affinityUnnormalised

public double affinityUnnormalised(Cell c1,
                                   Cell c2)