-
Notifications
You must be signed in to change notification settings - Fork 0
Almotaek/Book_Word_Index
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Date: December 4th, 2020 Authors:Tafita Rakotozandry, Taylor Strong, and Khalid Al-Motaery(me) Project Name: CS 150 Project 3 How To Start The Project: Call the main method in the "Controller Class" A book index is a key to locating information contained in a book. Readers can make use of the indexes to do research and/or analysis about a book. In this project, our task was to develop a program using ArrayList (ListIndex), TreeMap (MapIndex), and HashMap (HashIndex) to extract the index of different books with different sizes. The goal was to compare the performance of these data structures and conclude which data structure is better for this application. As part of the requirement, the words that we process in this project are the english words. Hence, we used an English dictionary. For this project, our hypothesis is that using an ArrayList will be the slowest while using a TreeSet would be the fastest. Our assumption is that to process data with an arrayList a shifting always occurs when a new word is added. It takes time. On the other hand, a hashmap needs to be sorted before the data is written in an output file. Sorting is also time consuming.
About
Creating word indexes using different data structures and books.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published