Class project CISC 7340 Due May 18, 2016
Choose one of the following projects (or one of your own devising) as your final project for the class. The project should involve using pthreads, OpenMP and MPI. Let me know by 04/13/2016 which one you have chosen. If you have an original project that you will be implementing, please write up a description for my approval by 04/13/2016.
The game is initialized with some cells occupied (this can be done randomly or in some ordered manner.) One generation amounts to inspecting each cell and deciding, according to the rules, what its fate is. The population is followed until:
Categories and Sub-categories (this is just a sample, you can expand the list):
Business travel lunch - Business lunches only phone - land line and cell phone expenses equipment - miscellaneous office equipment House mortgage home-ins - home insurance taxes - property taxes repair - home repairs Essentials food clothing medical insurance - life, auto Non-Essentials restaurant - non-business meals movie game beerA sample input file is shown below. The first line is the number of items.
5 movie 9.95 food 142.35 medical 350.00 travel 1455.00The program should process all the receipts and write out a nicely arranged summary of the total amount spent, the amount spent in each of the categories and sub-categories.
Write your program two ways:
five points in the circle formed when the first coordinate is -1: (-1,0,0), (-1,0,1), (-1,0,-1), (-1,-1,0),(-1,1,0), five points in the circle formed when the first coordinate is 1: (1,0,0), (1,0,1), (1,0,-1), (1,-1,0),(1,1,0), nine points in the circle formed when the first coordinate is 0: (0,0,0), (0,1,0), (0,0,1), (0,-1,0), (0,0,-1), (0,1,1), (0,1,-1), (0,-1,1), (0,-1,-1).
(0,0), (0,1), (0,2), (0,-1), (0,-2), (1,0), (1,1), (1,-1), (2,0), (-1,0), (-1,1), (-1,-1), (-2,0).
(-25), (-24), ..., (0), (1), (2), ..., (24), (25).
For example, a row might be 13, 4, 6, 1, indicating that it describes a street numbered 13 in the block between streets 4 and 6 (going east-west) and is one-way in the direction from street 4 to street 6. If the row read as 13, 6, 4, 1, it would be one-way from street 6 to street 4. A row that contained 13, 6, 22, 2, indicates that street 13 is a two-way street and either a bridge or a tunnel links streets 6 and 22. You can assume that there are no entrances or exits between streets 6 and 22. Given the two-dimensional array (which you need to create), write a parallel or distributed code that does the following:
This problem involves a search through the possible paths.