weka.deduping.blocking
Class InstanceReference

java.lang.Object
  extended byweka.deduping.blocking.InstanceReference

public class InstanceReference
extends java.lang.Object


Field Summary
 int idx
          The index of the instance in the dataset
 Instance instance
          The referenced instance.
 double length
          The length of the corresponding instance vector.
 java.lang.String string
          The amalgamated instance string
 HashMapVector vector
          The corresponding HashMapVector
 
Constructor Summary
InstanceReference(Instance instance, int index, java.lang.String string, HashMapVector vector)
          Create a reference to this record, initializing its length to 0
InstanceReference(Instance instance, int index, java.lang.String string, HashMapVector vector, double length)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

instance

public Instance instance
The referenced instance.


idx

public int idx
The index of the instance in the dataset


string

public java.lang.String string
The amalgamated instance string


vector

public HashMapVector vector
The corresponding HashMapVector


length

public double length
The length of the corresponding instance vector.

Constructor Detail

InstanceReference

public InstanceReference(Instance instance,
                         int index,
                         java.lang.String string,
                         HashMapVector vector,
                         double length)

InstanceReference

public InstanceReference(Instance instance,
                         int index,
                         java.lang.String string,
                         HashMapVector vector)
Create a reference to this record, initializing its length to 0

Method Detail

toString

public java.lang.String toString()