Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Implement MTFList, TransposeList, and CountOrderList as separate . hpp files. For each node ofthese linked lists, have them hold a letterCount value as their data.

Implement MTFList, TransposeList, and CountOrderList as separate .hpp files. For each node ofthese linked lists, have them hold a letterCount value as their data. The CountOrderLists node mayrequire an extra count value for its ordering.Once you have the lists implemented, compare their performance at counting the number of lettersin a text document. All letters in the English alphabet occur at different frequencies. For example,the letter e is far more frequent in English text than q or x. Use your 3 lists and count the numberof times each letter occurs in the ADSI_01_test_text.txt document provided.Your data structure should count only the letters a-z. If you encounter an upper-case letter, convertit to lower case. Additionally, have your lists store the number of comparisons when searching for akey. This will be used to compare the lists for their performances.As you analyze the performance, also record the amount of time used for each analysis. After everylist has been tested on the data set, report the following for each list:1. Output the number of occurrences of every letter.2. Output the number of comparisons made by the data structure.3. Output the total time take to run the analysis.This should all be output for MTFList, TransposeList, and CountOrderList. This means a total of 3*3=9 output sections

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

What are Measures in OLAP Cubes?

Answered: 1 week ago

Question

How do OLAP Databases provide for Drilling Down into data?

Answered: 1 week ago

Question

How are OLAP Cubes different from Production Relational Databases?

Answered: 1 week ago