https://github.com/mattiadane/production-scheduler
Assembly scheduler for orders
https://github.com/mattiadane/production-scheduler
assembly edf file hpf makefile
Last synced: 11 months ago
JSON representation
Assembly scheduler for orders
- Host: GitHub
- URL: https://github.com/mattiadane/production-scheduler
- Owner: mattiadane
- Created: 2024-07-03T13:35:48.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-09T11:17:13.000Z (about 1 year ago)
- Last Synced: 2025-06-11T14:44:21.766Z (about 1 year ago)
- Topics: assembly, edf, file, hpf, makefile
- Language: Assembly
- Homepage:
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Production-Scheduler
This is a University project in which we had to create a scheduler of orders.
In this case, a specific company gives a text file in which stores the orders to schedule.
Every file in the Ordini directory is composed in this way:
```id,production_time,deadline,priority```
## How we store and order the data
Every time we store a data in the Stack, we have this column for each order:
|Stack|
|--------|
|........|
|Priority|
|Deadline|
|Production time|
|ID Order|
At this point, we have all the four data near to each other, so we can easily manage them during the scheduling process.
### HPF Algorithm
The first algoritm we use is the ```High Priority First``` and in case two orders have the same priority, we check the deadline and put first which one has the lower deadline.
### EDF Algorithm
The second algoritm we use is the ```Earliest Deadline First``` and in case two orders have the same deadline, we check the priority and put first which one has the higher priority
## How to use
Open a terminal and run these 3 commands:
```bash
mkdir obj
mkdir bin
make
```
At this point, all objects and executable files are created.
## How to run
In order to run this project, run this command:
```bash
./bin/pianificatore Ordini/orders_file
```
## Collaborators
- [Alessandro De Carli](https://github.com/Aledpl5)