weka.classifiers.immune.clonalg
Class DistanceFunction

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

public class DistanceFunction
extends java.lang.Object
implements java.io.Serializable

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

Author:
Jason Brownlee
See Also:
Serialized Form

Constructor Summary
DistanceFunction(weka.core.Instances aInstances)
           
 
Method Summary
 double distanceEuclideanNormalised(double[] i1, double[] i2)
           
 double distanceEuclideanUnnormalised(double[] i1, double[] i2)
           
 AttributeDistance[] getDistanceMeasures()
           
 double[][] getMinMax()
           
 void prepareDistanceMeasures(weka.core.Instances aInstances)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistanceFunction

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

getMinMax

public double[][] getMinMax()

prepareDistanceMeasures

public void prepareDistanceMeasures(weka.core.Instances aInstances)

distanceEuclideanNormalised

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

distanceEuclideanUnnormalised

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

getDistanceMeasures

public AttributeDistance[] getDistanceMeasures()
Returns:
Returns the distanceMeasures.