weka.deduping
Class InstancePair

java.lang.Object
  extended byweka.deduping.InstancePair
All Implemented Interfaces:
java.lang.Comparable

public class InstancePair
extends java.lang.Object
implements java.lang.Comparable

This is a basic class for a training pair


Field Summary
 Instance instance1
           
 Instance instance2
           
 boolean positive
           
 double value
           
 
Constructor Summary
InstancePair(Instance instance1, Instance instance2, boolean positive, double value)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance1

public Instance instance1

instance2

public Instance instance2

positive

public boolean positive

value

public double value
Constructor Detail

InstancePair

public InstancePair(Instance instance1,
                    Instance instance2,
                    boolean positive,
                    double value)
Method Detail

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable