Skip to content

Commit 8d4963f

Browse files
committed
2 parents 3a281f0 + c9aafd7 commit 8d4963f

1 file changed

Lines changed: 73 additions & 62 deletions

File tree

README.md

Lines changed: 73 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,81 +1,92 @@
11
# Priority-Task-Selection-Using-Evolutionary-Programming
2+
A web app that utilizes **Evolutionary Programming** to determine and prioritize tasks for efficient scheduling.
23

3-
A program to calculate the tasks that we can prioritize to do by determining them using <b>Evolutionary Programming</b> algorithm.
4+
## About the Project
45

5-
<!-- TABLE OF CONTENTS -->
6-
<details open="open">
7-
<summary>Table of Contents</summary>
8-
<ol>
9-
<li><a href="#description">Description</a><li>
10-
<a href="#getting-started">Getting Started</a>
11-
<ul>
12-
<li><a href="#dependencies">Dependencies</a></li>
13-
<li><a href="#executing-program">Executing program</a></li>
14-
</ul>
15-
</li>
16-
<li><a href="#screenshots">Screenshots</a></li>
17-
<li><a href="#authors">Authors</a></li>
18-
<li><a href="#version-history">Version History</a></li>
19-
<li><a href="#license">License</a></li>
20-
<li><a href="#acknowledgments">Acknowledgments</a></li>
21-
</ol>
22-
</details>
6+
Priority Task Selection is a program to determine and prioritize tasks from given task options and the total time you have.
237

24-
## Description
8+
Sometimes we have a lot of tasks to do but our time is very limited, so we cannot do all the tasks and we have to pick some of the most important tasks from all of the tasks. This program helps you determine and choose which tasks are worth more to do than the others.
259

26-
This is a program to calculate the tasks that we can prioritize to do by determining them using <b>Evolutionary Programming</b> algorithm. This program is a web-based platform, created with Flask using Python programming language.
10+
This program uses Evolutionary Programming algorithms to prioritize the most important tasks from a given list of tasks based on their priority scales.
2711

28-
## Getting Started
29-
30-
### Dependencies
31-
32-
* Flask
12+
## Screenshots
13+
Dashboard
14+
:-------------------------:
15+
![Screenshots/1.%20Dashboard.png](Screenshots/1.%20Dashboard.png)
16+
Example Input Values on Forms
17+
![Screenshots/2.%20Input%20Form.png](Screenshots/2.%20Input%20Form.png)
18+
Example Results
19+
![Screenshots/3.%20Result.png](Screenshots/3.%20Result.png)
20+
21+
## Live Demo
22+
Web App **Priority Task Selection Using Evolutionary Programming**: [http://xxx.xxx](http://xxx.xxx)
23+
24+
## Technology Used
25+
* HTML
26+
* CSS
27+
* Javascript
28+
* Python
3329
* Numpy
34-
35-
### Executing program
30+
* Flask
31+
* Evolutionary Programming
32+
33+
## Installation
34+
35+
1. Clone this repo
36+
```sh
37+
git clone https://github.com/LinggarM/Priority-Task-Selection-Using-Evolutionary-Programming
38+
```
39+
2. Open the repo folder you have cloned in your PC
40+
3. Create a virtual environment
41+
```sh
42+
python -m venv myenv
43+
```
44+
4. Activate the virtual environment
45+
```sh
46+
myenv/Scripts/activate or "myenv/Scripts/activate" (Windows)
47+
myenv/bin/activate (Linux)
48+
```
49+
5. Install the requirements/ dependencies
50+
```sh
51+
pip install -r requirements.txt
52+
```
53+
54+
## Usage (Tutorials)
3655

3756
1. Open CMD in Repository Folder
38-
2. Run Flask by executing this command :
39-
```
40-
python app.py
41-
```
42-
or :
43-
```
44-
run Flask
45-
```
46-
3. Open Given URL (Usually "127.0.0.1:5000")
57+
2. Run the web app by executing this command :
58+
```
59+
python app.py
60+
```
61+
or :
62+
```
63+
run Flask
64+
```
65+
3. Open the given URL
66+
```
67+
http://127.0.0.1:5000/
68+
```
4769
4. There are 5 inputs :
4870

49-
- First input : Total tasks
50-
- Second input : All tasks name (Must be sorted according to first input)
51-
- Third input : All tasks priority number (You can use 1 until 4, 1 for the lowest prioritize and 4 for the highest prioritize)
52-
- Fourth input : All tasks time required (You can use hour time based)
53-
- Fifth input : Time you have (Must use the same time based with All tasks time required)
54-
55-
Inputs example :
56-
- First input : 10
57-
- Second input : Merapikan tempat tidur, Mencuci piring, Menyuci baju, Menyetrika baju, Mengepel lantai, Menyiram tanaman, Memandikan kucing, Mengisi bak mandi, Mengurus anak, Merapikan barang-barang
58-
- Third input : 4, 3, 3, 2, 2, 1, 1, 1, 3, 2
59-
- Fourth input : 1, 2, 3, 2, 2, 1, 1, 1, 3, 2
60-
- Fifth input : 8
71+
1. The number of tasks (E.g: 10)
72+
2. All of the task names (E.g: Food1, Food2, Food3, ..)
73+
3. All of the priority scales for each task. Range: 1-5, 1 for the lowest prioritize and 5 for the highest prioritize (E.g: 5, 3, 1)
74+
4. All of the task completion times for each task **in hours**. (E.g: 1, 2, 3)
75+
5. Total time you have **in hours**. (E.g: 8)
6176

62-
## Screenshots
63-
64-
<img src="images/screenshot.png">
65-
66-
## Authors
67-
68-
* Linggar Maretva Cendani - [Linggar Maretva Cendani](https://linggar.me) - [linggarmc@gmail.com](mailto:linggarmc@gmail.com)
77+
5. Inputs example :
78+
- First input: 10
79+
- Second input: Making the bed, Washing the dishes, Washing clothes, Ironing clothes, Mopping the floor, Watering the plants, Bathing the cat, Filling the bathtub, Taking care of the children, Tidying up things
80+
- Third input: 4, 3, 3, 2, 2, 1, 1, 1, 3, 2
81+
- Fourth input: 1, 2, 3, 2, 2, 1, 1, 1, 3, 2
82+
- Fifth input: 8
6983

70-
## Version History
71-
72-
* 0.1
73-
* Initial Release
84+
## Contributors
85+
* [Linggar Maretva Cendani](https://github.com/LinggarM) - [linggarmc@gmail.com](mailto:linggarmc@gmail.com)
7486

7587
## License
76-
7788
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details
7889

7990
## Acknowledgments
80-
8191
* [Colorlib](https://colorlib.com/) for HTML templates
92+
* <div style = "color:#FFF">Icons made by <a style = "color:#57b846" href="https://www.freepik.com" title="Freepik">Freepik</a> from <a style = "color:#57b846" href="https://www.flaticon.com/" title="Flaticon">www.flaticon.com</a></div>

0 commit comments

Comments
 (0)