From 0faa5175b6f0de8835ed514615ac64135f406b29 Mon Sep 17 00:00:00 2001 From: "Benjamin J. Culkin" Date: Tue, 29 May 2018 15:35:02 -0300 Subject: Move files out of folder --- REPORT.md | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 REPORT.md (limited to 'REPORT.md') diff --git a/REPORT.md b/REPORT.md new file mode 100644 index 0000000..d1c1a7e --- /dev/null +++ b/REPORT.md @@ -0,0 +1,34 @@ +# Benjamin Culkin +2015-12-08 +---------------- + +Assignment #11 Report +------------------------ +The program here is a slightly adapted version of a random string generator, +which is itself based off of an example in the book "Multi-paradigm Programming with Leda". +The easiest way to run it is launch the attached jar-file through the command file, +then choose the attached .gram file as input, pick the initial rule as from the drop-down +list and enter any number. It will first print out the rules three times, once before it adds some +dummy rules to delete, once after the dummy rules have been added, and a third after the dummy +rules has been deleted. It will then generate text based off of the input. + +Collection Details +------------------- +The project involves the use of multiple collections, but the main one is the Hashtable inside of +WeightedGrammar that holds the rules and the cases that belong to them. This is very similiar +to the HashMap except for some concurrency things that aren't particularly relevant in this +situation. The basic functionality is simply to look up objects by a key. + +This collection has the potential to be useful for a phonebook of some kind, +where you want to look up people by their phone numbers, or phone numbers by the name. + +Resources +----------- +The application itself was based heavily off of an example in the above mentioned book, while +the data for the input file came from a copy of "Diablo II: The Awakening" and its random item +generation tables. + +Source Files +------------- +The source file of the main runnable application is the GrammarReaderApp class in bjc.RGens.text, +while the main class that uses the collection is WeightedGrammar in bjc.utils.gen \ No newline at end of file -- cgit v1.2.3