protected class PairedTTester.Dataset extends Object implements RevisionHandler
Modifier and Type | Method and Description |
---|---|
protected void |
add(Instance inst)
Adds the given instance to the dataset
|
protected FastVector |
contents()
Returns a vector containing the instances in the dataset
|
String |
getRevision()
Returns the revision string.
|
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.
|
public Dataset(Instance template)
template
- the templateprotected boolean matchesTemplate(Instance first)
first
- the first instanceprotected void add(Instance inst)
inst
- the instance to addprotected FastVector contents()
public void sort(int runColumn)
runColumn
- a value of type 'int'public String getRevision()
getRevision
in interface RevisionHandler
Copyright © 2015 University of Waikato, Hamilton, NZ. All rights reserved.