This project simulates a recycling factory with two phases: manual sorting by employees and automated sorting by sensors. The goal is to compare the efficiency, error rates, and other metrics between the two phases.
- Employees manually sort recyclable items (plastic, glass, paper, metal).
- Metrics such as time taken, items sorted, and errors are recorded.
- Sensors automatically sort the same list of recyclable items.
- Metrics are recorded and compared with Phase 1.
- The user inputs the number of materials entering the factory.
- A random list of recyclable items is generated.
- The same list of items is processed in both phases.
- Time taken to sort items.
- Number of items sorted.
- Number of errors encountered.
- Weight of materials sorted.
- Java
- JavaFX for GUI
- Clone the repository.
- Open the project in your preferred Java IDE.
- Run the
GUIMain
class to start the simulation.
Sorter
: Represents an employee who sorts items.Sensor
: Represents an automated sensor that sorts items.Recyclableitem
: Represents a recyclable item.Plastic
,Metal
,Glass
,Paper
: Specific types of recyclable items.Main
: Contains the main method for running the simulation.GUIMain
: Contains the GUI implementation for the simulation.Employee
: Abstract class representing an employee in the factory.Distributor
: Represents an employee who distributes items.Compressible
: Interface for items that can be compressed.
- Add more detailed metrics and visualizations.
- Improve the GUI for better user experience.
- Add more types of recyclable items.
This project is licensed under the idk License.