|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.drools.examples.benchmarks.waltz.WaltzBenchmark
A Drools implementation of the Waltz benchmark,
a part of the OPS5 Benchmark Suite available at:
http://www.cs.utexas.edu/ftp/pub/ops5-benchmark-suite/
ftp://ftp.cs.utexas.edu/pub/ops5-benchmark-suite/
Constructor Summary | |
WaltzBenchmark(java.lang.String datFile)
Read the DRL and DAT files, output the Rete to a DOT file, and initialize a WorkingMemory . |
Method Summary | |
static void |
main(java.lang.String[] args)
Creates a new WaltzBenchmark object and executes its
run method. |
void |
run()
Assert the facts and fire the rules. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WaltzBenchmark(java.lang.String datFile) throws DroolsException, java.io.IOException, org.xml.sax.SAXException
WorkingMemory
.
datFile
- the input data fileMethod Detail |
public static void main(java.lang.String[] args) throws DroolsException, java.io.IOException, org.xml.sax.SAXException
WaltzBenchmark
object and executes its
run
method.
DroolsException
java.io.IOException
org.xml.sax.SAXException
args
- if an argument is provided,
it is used as the name of the *.dat data file to use.public void run() throws FactException
FactException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |