weka.gui.beans
Class TestSetEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--weka.gui.beans.TestSetEvent
All Implemented Interfaces:
java.io.Serializable

public class TestSetEvent
extends java.util.EventObject

Event encapsulating a test set

Version:
$Revision: 1.1 $
Author:
Mark Hall
See Also:
Serialized Form

Constructor Summary
TestSetEvent(java.lang.Object source, Instances testSet)
           
 
Method Summary
 int getMaxSetNumber()
          Get the maximum set number
 int getSetNumber()
          Get the test set number (eg.
 Instances getTestSet()
          Get the test set instances
 
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

TestSetEvent

public TestSetEvent(java.lang.Object source,
                    Instances testSet)
Method Detail

getTestSet

public Instances getTestSet()
Get the test set instances

Returns:
an Instances value

getSetNumber

public int getSetNumber()
Get the test set number (eg. fold 2 of a 10 fold split)

Returns:
an int value

getMaxSetNumber

public int getMaxSetNumber()
Get the maximum set number

Returns:
an int value


Copyright (c) 2003 David Lindsay, Computer Learning Research Centre, Dept. Computer Science, Royal Holloway, University of London