weka.experiment
Class PairedTTester.Resultset

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

protected class PairedTTester.Resultset
extends java.lang.Object


Field Summary
(package private)  FastVector m_Datasets
           
(package private)  Instance m_Template
           
 
Constructor Summary
PairedTTester.Resultset(Instance template)
           
 
Method Summary
 void add(Instance newInst)
          Adds an instance to this resultset
 FastVector dataset(Instance inst)
          Returns a vector containing all instances belonging to one 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 each dataset by the run number.
protected  java.lang.String templateString()
          Returns a string descriptive of the resultset key column values for this resultset
 
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_Datasets

FastVector m_Datasets
Constructor Detail

PairedTTester.Resultset

public PairedTTester.Resultset(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

templateString

protected java.lang.String templateString()
Returns a string descriptive of the resultset key column values for this resultset

Returns:
a value of type 'String'

dataset

public FastVector dataset(Instance inst)
Returns a vector containing all instances belonging to one dataset.

Returns:
a value of type 'FastVector'

add

public void add(Instance newInst)
Adds an instance to this resultset

Parameters:
newInst - a value of type 'Instance'

sort

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

Parameters:
runColumn - a value of type 'int'