|
1 | 1 | # Priority-Task-Selection-Using-Evolutionary-Programming |
| 2 | +A web app that utilizes **Evolutionary Programming** to determine and prioritize tasks for efficient scheduling. |
2 | 3 |
|
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 |
4 | 5 |
|
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. |
23 | 7 |
|
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. |
25 | 9 |
|
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. |
27 | 11 |
|
28 | | -## Getting Started |
29 | | - |
30 | | -### Dependencies |
31 | | - |
32 | | -* Flask |
| 12 | +## Screenshots |
| 13 | + Dashboard |
| 14 | + :-------------------------: |
| 15 | +  |
| 16 | + Example Input Values on Forms |
| 17 | +  |
| 18 | + Example Results |
| 19 | +  |
| 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 |
33 | 29 | * 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) |
36 | 55 |
|
37 | 56 | 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 | + ``` |
47 | 69 | 4. There are 5 inputs : |
48 | 70 |
|
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) |
61 | 76 |
|
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 |
69 | 83 |
|
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) |
74 | 86 |
|
75 | 87 | ## License |
76 | | - |
77 | 88 | This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details |
78 | 89 |
|
79 | 90 | ## Acknowledgments |
80 | | - |
81 | 91 | * [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