weka.experiment
Class PairedTTester.Dataset

java.lang.Object
  extended byweka.experiment.PairedTTester.Dataset
Enclosing class:
PairedTTester

protected class PairedTTester.Dataset
extends java.lang.Object


Field Summary
(package private)  FastVector m_Dataset
           
(package private)  Instance m_Template
           
 
Constructor Summary
PairedTTester.Dataset(Instance template)
           
 
Method Summary
protected  void add(Instance inst)
          Adds the given instance to the dataset
protected  FastVector contents()
          Returns a vector containing the instances in the dataset
protected  boolean matchesTemplate(Instance first)
          Returns true if the two instances match on those attributes that have been designated key columns (eg: scheme name and scheme options)
 void sort(int runColumn)
          Sorts the instances in the dataset by the run number.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_Template

Instance m_Template

m_Dataset

FastVector m_Dataset
Constructor Detail

PairedTTester.Dataset

public PairedTTester.Dataset(Instance template)
Method Detail

matchesTemplate

protected boolean matchesTemplate(Instance first)
Returns true if the two instances match on those attributes that have been designated key columns (eg: scheme name and scheme options)

Parameters:
first - the first instance
Returns:
true if first and second match on the currently set key columns

add

protected void add(Instance inst)
Adds the given instance to the dataset


contents

protected FastVector contents()
Returns a vector containing the instances in the dataset


sort

public void sort(int runColumn)
Sorts the instances in the dataset by the run number.

Parameters:
runColumn - a value of type 'int'