Package examples.anbn
Class RunAnBn
- java.lang.Object
-
- examples.RunTests
-
- examples.anbn.RunAnBn
-
public class RunAnBn extends RunTests
Uses the grammar for the strings anbn, n > 0, for a comparison of timing and node hits between the normal CFG grammar and the use of UDT functions.
-
-
Constructor Summary
Constructors Constructor Description RunAnBn(java.lang.String testName, int reps, java.io.PrintStream out)
Constructor for the test.
-
-
-
Constructor Detail
-
RunAnBn
public RunAnBn(java.lang.String testName, int reps, java.io.PrintStream out)
Constructor for the test. Parameters are supplied explicitly or by default from the command line to the driver function.- Parameters:
testName
- the name of the testreps
- the number of repetitions of the parserout
- the output device
-
-