Algorithm analysis
Search Algorithms Analysis System
A Java desktop application for comparing search algorithms across list data structures and visualizing empirical results.
- Java 17
- Maven
- Swing
- JFreeChart
- OpenCSV
Overview
This Java desktop application compares search algorithms using ArrayList and LinkedList data, then visualizes empirical analysis and algorithm races.
Objectives and requirements
- Compare search algorithms over ArrayList and LinkedList data.
- Present empirical comparisons, algorithm races, and worst-case complexity charts.
Architecture
The Java Swing application runs the search algorithms and empirical tests. OpenCSV supports CSV input, and JFreeChart renders the comparison and complexity charts.
My contributions
Public commit history records a refactor simplifying the algorithm racing feature.
Technical diagram
The desktop application loads list data, runs search algorithms and empirical tests, then presents comparisons using charts.
View diagram source
flowchart LR
Input[CSV or application data] --> Data[ArrayList or LinkedList]
Data --> Search[Search algorithms]
Search --> Analysis[Empirical analysis and race]
Analysis --> Charts[JFreeChart visualizations]Testing
The repository contains a Maven test class, AppTest.java. The available README does not describe its coverage or report test results.