weka.classifiers.immune.affinity
Class UnsupportedAttributeDistance

java.lang.Object
  extended by weka.classifiers.immune.affinity.UnsupportedAttributeDistance
All Implemented Interfaces:
java.io.Serializable, AttributeDistance

public class UnsupportedAttributeDistance
extends java.lang.Object
implements AttributeDistance

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

Author:
Jason Brownlee
See Also:
Serialized Form

Constructor Summary
UnsupportedAttributeDistance()
           
 
Method Summary
 double distance(double d1, double d2)
           
 boolean isClass()
           
 boolean isNominal()
           
 boolean isNumeric()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnsupportedAttributeDistance

public UnsupportedAttributeDistance()
Method Detail

distance

public double distance(double d1,
                       double d2)
Specified by:
distance in interface AttributeDistance
Parameters:
d1 -
d2 -
Returns:

isNumeric

public boolean isNumeric()
Specified by:
isNumeric in interface AttributeDistance

isClass

public boolean isClass()
Specified by:
isClass in interface AttributeDistance

isNominal

public boolean isNominal()
Specified by:
isNominal in interface AttributeDistance