This project was prepared as part of the Introduction to Fuzzy Logic and Artificial Neural Networks course. The aim of the project is to determine the floor where an elevator should wait by evaluating variables such as traffic type and the number of passengers waiting on each floor using a fuzzy logic model.
- Java: Used for application development.
- Eclipse IDE: Coding and development environment.
- JfuzzyLogic Library: Used to create and execute the fuzzy logic model.
- User inputs traffic type (upward-heavy, downward-heavy, balanced) and the number of passengers.
- Inputs are sent to an FCL file prepared using JfuzzyLogic.
- The FCL file determines the elevator waiting floor using fuzzy logic rules.
- The output is displayed on the application screen.
- Code Files: Java codes are included in the Eclipse project.
- FCL File: Contains fuzzy model rules for JfuzzyLogic.
- Report: Includes the theoretical background of the project, membership functions used, and detailed explanations about inputs/outputs.
Project Folder:
├── src/
│ ├── Main.java # Main class of the project
│ └── ElevatorModel.java # Fuzzy model class
├── fuzzy/
│ └── elevator_model.fcl # FCL file
├── report.pdf # Detailed project report
└── README.md # Project introduction
- Download and Install Eclipse IDE: Download Eclipse IDE
- Open Project Files: Open the project via Eclipse.
- Add JfuzzyLogic Library: Include the JfuzzyLogic .jar file in the project.
- Include FCL File: Place the
elevator_model.fcl
file in the project path. - Run Main.java: Run the project via Eclipse IDE and provide user inputs.
- Traffic Type: Upward-heavy
- Number of Passengers: 15
- Elevator Waiting Floor: 5