Redesign merge sort to run on a parallel computing algorithm
To run the project perform the following steps:
- Open the Parallel-Networking folder.
- Inside the src folder, go to com folder, and then the server folder.
- Run the Server.java as the java file and enter the number of clients into which you want to divide the task into
- Enter the size of the data array that you want to sort.
- Go to com folder, client folder.
- Run the number of clients that you entered in the server folder as java application. Give Client.java command to run the clients.
- The times taken by server and clients for sorting and merging will be displayed.
- To run the MergeSortThread, run the file as java file.