edu.indiana.iucbrf.systemtest
Class LeaveOneOutTest

java.lang.Object
  extended by edu.indiana.iucbrf.systemtest.SystemTest
      extended by edu.indiana.iucbrf.systemtest.LeaveOneOutTest

public class LeaveOneOutTest
extends SystemTest

Use this class to test a system using leave-one-out. That is, for each case in the case base, run the system on the associated problem, using the rest of the case base. Note that during this test, the system will be in Context.LEAVE_ONE_OUT_TESTING_CONTEXT.


Field Summary
 
Fields inherited from class edu.indiana.iucbrf.systemtest.SystemTest
progressReportFrequency
 
Constructor Summary
LeaveOneOutTest()
          Creates new LeaveOneOutTest
 
Method Summary
protected  void runTest(CBRSystem cbrSystem)
          Run the test.
 void setDomain(Domain domain)
          Set the domain in which this LeaveOneOutTest will take place.
 
Methods inherited from class edu.indiana.iucbrf.systemtest.SystemTest
maybeShowProgressReport, setProgressReportFrequency, test, test, test
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LeaveOneOutTest

public LeaveOneOutTest()
Creates new LeaveOneOutTest

Method Detail

runTest

protected void runTest(CBRSystem cbrSystem)
Run the test.

Specified by:
runTest in class SystemTest

setDomain

public void setDomain(Domain domain)
Set the domain in which this LeaveOneOutTest will take place. For this implementation, there is nothing for this method to do.

Specified by:
setDomain in class SystemTest