1)
Write a C++ program that creates matrices of different sizes and sparsity.
Assume the matrices to be square and use them to compare the time to multiply two matrices using:
- Standard Matrix Multiplication O(n3)
-Strassen's Method.
-Sparse Matrix Multiplication.
Exercise 1. Change the matrix sizes as follows 20, 30, 100, 500, 1000 keeping sparsity=0
Exercise 2. For matrix size =20 change sparsity=0, 10, 50, 80
Exercise 3. For matrix size =500 change sparsity=0, 10, 50, 80
For each exercise test all the three methods, on the set of matrices and show your results as
histograms.
2)
Compare the performance of the three methods on non-square matrices (unequal number of
rows and columns)
Exercise 4. For matrix size =100X20, 100X25, 100X50, 100X80 sparsity=0
Exercise 5. For matrix size =100X20, 100X25, 100X50, 100X80 sparsity=80
Develop and implement an algorithm that can take in the matrix dimensions and sparsity and
identify the best method to use. Test your algorithm for a subset of matrices from exercises
1-5. Remember that unlike the other exercises the two matrices can be different types (i.e. one sparse and the other not sparse).
Explain your algorithm clearly in english and as a pseudocode.
Provide some results of your algorithms and discuss the results in 1-2 paragraphs
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
Balanced Binary Trees
1. Use BTrees.cpp. to test the performance of AVL and Red-Black trees.
Exercise 1. Test the time to input new elements
(a) For 3 different permuted orderings
(b) For a sorted input
Exercise 2. Using the tree is created in Exercise 1, search the tree to test whether
the element exists
(a) For 3 different permuted orderings
(b) For a sorted input
Execute the set of Exercise 1 and 2 for input sizes 10,000, 100,000, 1000,000. Each size
corresponds to one run of exercise 1+2.
2. Change the code of the AVL tree such that the balance factor can be at most h, instead of
1. Rerun the exercises in part 1 to compare the timings for h=2,5,10,100
3. Write 1-2 paragraphs discussing the results you obtained and the inferences that you can
make from them—such as when is it better to use an AVL tree rather than a R-B tree and
vice-versa. How does the balance factor affect the performance of an AVL tree
I am very proficient in c and c++. I have 18 years c++ developing experience now, and have worked for more than 7 years. My work is online game developing, and mainly focus on server side, using c++ under Linux environment. I made many great projects using c++, for example, I made the tools which could convert java codes into c++ scripts, of course garbage collection included, this was very similar to a compiler, and was very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
Hello Sir,
I read your project description carefully. I am interested to work with you. I am expert in C and C++ programming on both Linux and windows platform. So let's initiate chat for more details.
Thank you
Greetings Sir, I am Irfan Marwat a PhD Mathematics Student having more than 6 years of teaching experience in different prestigious Educational institutions. I have a significant level of knowledge and experience in teaching Mathematics, Statistics and statistical analysis too.
I have been providing my excellent services on different freelancing platforms for more than 3 years, which includes Mathematics, Statistics and Statistical analysis related services. I got great response and admiration from clients.
I have checked your project and the topics you have mentioned are easy task for me I have been teaching these for last 6 years. so I got the command and excellent understanding of it.
It's our day to day tasks which we face on a daily basis.
So if you are looking for a highly qualified and experienced Professional, Then I the best choice for you.
Thanks & Best wishes.
Irfan Marwat
Hi sir
I am interested to work with you.
I can provide you professional web design services.
I can design for you according to your requirements. I will give you unlimited revision until you will not satisfy for your design.I will deliver you this according to your time frame after your award.
I can assure you several things.
* I have expertise in Twitter Bootstrap, Angularjs, HTML5/CSS3, Php, java se,j2ee....
* I have a great web development sense.
* Well organized and clean code easy to understand.
* Validate according to w3c standards.
* I can start it immediately.
* Compatible with all modern browsers and mobile devices.
Looking forward to hearing from you soon.
Thank
Hello
I would love to work on your project.I have worked on similar projects to what you are looking for, and I am confident I can exceed your expectations.
I look forward to working with you.
Regards,
Tessita Thomas