|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
weka.gui.beans.TestSetEvent
public class TestSetEvent
Event encapsulating a test set
Constructor Summary | |
---|---|
TestSetEvent(java.lang.Object source,
Instances testSet)
Creates a new TestSetEvent |
|
TestSetEvent(java.lang.Object source,
Instances testSet,
int setNum,
int maxSetNum)
Creates a new TestSetEvent |
|
TestSetEvent(java.lang.Object source,
Instances testSet,
int runNum,
int maxRunNum,
int setNum,
int maxSetNum)
Creates a new TestSetEvent |
Method Summary | |
---|---|
int |
getMaxRunNumber()
Get the maximum number of runs. |
int |
getMaxSetNumber()
Get the maximum set number |
int |
getRunNumber()
Get the run number that this training set belongs to. |
int |
getSetNumber()
Get the test set number (eg. |
Instances |
getTestSet()
Get the test set instances |
boolean |
isStructureOnly()
Returns true if the encapsulated instances contain just header information |
Methods inherited from class java.util.EventObject |
---|
getSource, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestSetEvent(java.lang.Object source, Instances testSet)
TestSetEvent
source
- the source of the eventtestSet
- the test instancespublic TestSetEvent(java.lang.Object source, Instances testSet, int setNum, int maxSetNum)
TestSetEvent
source
- the source of the eventtestSet
- the test instancessetNum
- the number of the test setmaxSetNum
- the maximum number of setspublic TestSetEvent(java.lang.Object source, Instances testSet, int runNum, int maxRunNum, int setNum, int maxSetNum)
TestSetEvent
source
- the source of the eventtestSet
- the test instancesrunNum
- the run number that the test set belongs tomaxRunNum
- the maximum run numbersetNum
- the number of the test setmaxSetNum
- the maximum number of setsMethod Detail |
---|
public Instances getTestSet()
Instances
valuepublic int getRunNumber()
public int getMaxRunNumber()
public int getSetNumber()
int
valuepublic int getMaxSetNumber()
int
valuepublic boolean isStructureOnly()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |