Question: You will also be writing a driver to test the search algorithms and you will be measuring the run times of each search. Run Time
You will also be writing a driver to test the search algorithms and you will be measuring the run times of each search. Run Time Class You will write the RunTime. java class which will implement the Runtime Interface. The interface may be downloaded from RuntimeInterface.java LinearSearch Class You will write the LinearSearch .java class which will inherit from RunTime. java and implement the Search Interface using a linear search algorithm. The interface may be downloaded from SearchInterfacejava Please note that your search method must measure the run time and add it to the RunTime class by using the addRunTime() method. Binary Search Class You will write the BinarySearch. java class which will inherit from RunTime .java and implement the Search Interface using a binary search algorithm. The interface may be downloaded from SearchInterface.java Please note that your search method must measure the run time and add it to the RunTime class by using the addRunTime () method. Driver Class You will write the Driver. java class to test your implementations of: RunTime.java LinearSearch.java BinarySearch.java The Driver. java will implement the Driver Interface . The interface may be downloaded from DriverInterface.Java Please note that, in addition to implementing the DriverInterface, you are also required to write your own public static main(String[] args) method in Driver .java that tests all of your classes and methods before submitting your assignment on mimir. Please submit the completed assignment on the Mimir Platform Website. You must submit your Java programs as a zip file of only the classes specified above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
