Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sondosaabed/babies-frecuencies
Baby-Frecuencies managment application using AVL tree as data Structure. Java | JavaFX
https://github.com/sondosaabed/babies-frecuencies
avl-tree baby-frecuency data-structures java javafx-application
Last synced: 3 days ago
JSON representation
Baby-Frecuencies managment application using AVL tree as data Structure. Java | JavaFX
- Host: GitHub
- URL: https://github.com/sondosaabed/babies-frecuencies
- Owner: sondosaabed
- Created: 2022-03-07T12:45:03.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-07T12:55:23.000Z (almost 3 years ago)
- Last Synced: 2024-11-06T15:41:01.756Z (about 2 months ago)
- Topics: avl-tree, baby-frecuency, data-structures, java, javafx-application
- Language: Java
- Homepage:
- Size: 39.1 KB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Baby frecuencies AVL
in this Java desktop project I have created GUI as list of buttons that user can chose from.
I also made it to input a folder of .txt files and based on the files it saves the babies records into an AVL data structure.
The program enables the user to search for a baby record, find the average, find the maximum Baby's frequencies ove the years, find the total of a specific year, and then export the rocords into a .txt file.# Running the project
In order to run the project, needs the JavaFx library to be build on the projecet path.# File format example
The inputs folder of the program contains as many .txt files and this is it's format and the program reads the year from the file name as follows:folder, name format:
![0](https://user-images.githubusercontent.com/65151701/157037203-24c767f8-153b-4086-8dc8-08d1890be8a8.png)
file format:
![01](https://user-images.githubusercontent.com/65151701/157037225-b2bca3c1-7baf-4785-a23d-5126b929e276.png)
# Programms versions
javafx.version=17.0.1,
Java.version=17.0.8# Program screenshot:
Browse folder:![1](https://user-images.githubusercontent.com/65151701/157037328-2f330584-1186-4700-b0ce-112e7d5cac76.png)
![2](https://user-images.githubusercontent.com/65151701/157037336-449e9761-a9f9-42b2-bdb9-f6d5defe68a6.png)
Home:
![3](https://user-images.githubusercontent.com/65151701/157037394-8b3f7eac-e3f1-4734-a147-a5a96ea7004b.png)
Search for a baby:
![4](https://user-images.githubusercontent.com/65151701/157037472-3d38fade-ab78-46e9-994f-d6f776665fac.png)
found:
![5](https://user-images.githubusercontent.com/65151701/157037476-401a5fd4-b957-40f3-9e5b-5759ea23bcdf.png)
Not found:
![6](https://user-images.githubusercontent.com/65151701/157037547-47ffa7d4-7ee8-4f79-8a94-9f58882b2b9e.png)
Calculate Average of frecuencies over the years for a specific baby:
![7](https://user-images.githubusercontent.com/65151701/157037643-219b5cc2-8e31-4aed-8223-d2d6c18d7381.png)
Result of average:
![8](https://user-images.githubusercontent.com/65151701/157037704-85ff055f-b0cb-4ef4-a83f-8f360243096f.png)
Baby with teh maximum frecuencies over the years:
![9](https://user-images.githubusercontent.com/65151701/157037776-2a6cb44f-faed-4863-ada2-0e9dd3b4825d.png)
Total over a specific year:
![10](https://user-images.githubusercontent.com/65151701/157037826-3238394f-5401-4743-b48e-f9b9ed432dbe.png)
Answer of the total:
![11](https://user-images.githubusercontent.com/65151701/157037873-33a9a9fe-6178-47e7-a11b-e55a610f2fca.png)
Export a report:
![12](https://user-images.githubusercontent.com/65151701/157037939-fe1a7536-5779-4d73-8735-e1148cd6c505.png)
Report file in the project folder:
![13](https://user-images.githubusercontent.com/65151701/157038014-7f11251a-e11b-4e31-8d6a-2ccbedc7924d.png)
The report file:
![14](https://user-images.githubusercontent.com/65151701/157038046-bb285f90-20ea-4047-93d7-50449e52ff3a.png)