edu.indiana.iucbrf.systemtest
Class RandomProblemTest

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

public class RandomProblemTest
extends SystemTest

Use this class to test a system by providing it a series of randomly generated problems.


Field Summary
 
Fields inherited from class edu.indiana.iucbrf.systemtest.SystemTest
progressReportFrequency
 
Constructor Summary
RandomProblemTest(ProblemGenerator problemGenerator, int numIterations)
          Creates new RandomProblemTest
 
Method Summary
protected  void runTest(CBRSystem cbrSystem)
          Run the test.
 void setDomain(Domain domain)
          Set the domain in which this RandomProblemTest takes 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

RandomProblemTest

public RandomProblemTest(ProblemGenerator problemGenerator,
                         int numIterations)
Creates new RandomProblemTest

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 RandomProblemTest takes place.

Specified by:
setDomain in class SystemTest