protected class PairedTTester.Resultset extends Object implements RevisionHandler
Constructor and Description |
---|
Resultset(Instance template)
Constructir
|
Modifier and Type | Method and Description |
---|---|
void |
add(Instance newInst)
Adds an instance to this resultset
|
FastVector |
dataset(Instance inst)
Returns a vector containing all instances belonging to one 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 each dataset by the run number.
|
protected String |
templateString()
Returns a string descriptive of the resultset key column values
for this resultset
|
public Resultset(Instance template)
template
- the templateprotected boolean matchesTemplate(Instance first)
first
- the first instanceprotected String templateString()
public FastVector dataset(Instance inst)
inst
- a template instancepublic void add(Instance newInst)
newInst
- a value of type 'Instance'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.