added Eval to Readme.

This commit is contained in:
Nils Hölscher 2022-06-02 10:39:22 +02:00
parent 7c9f6a55a5
commit 853fea0907
1 changed files with 77 additions and 1 deletions

View File

@ -20,7 +20,7 @@ The tasksets are represented by a 2D array, where row i is a Task i and the colu
## Runing the Tests ## Runing the Tests
Make sure you have at least python3, argparse, numpy and tabulate installed. Make sure you have at least python3, argparse, numpy and tabulate installed.
Argpoarse and Numpy can be installed via pip. Argpoarse, Numpy and Tabulate can be installed via pip.
Use the SchedTest.py Script Use the SchedTest.py Script
@ -37,6 +37,82 @@ options:
N is always and defaults to 10, for our input files. N is always and defaults to 10, for our input files.
## Correct outputs for evaluation
```
10Tasks
╒═════╤══════╤═══════╤══════╤═══════╕
│ # │ U │ LLB │ HB │ TDA │
╞═════╪══════╪═══════╪══════╪═══════╡
│ 0 │ 0.55 │ 1 │ 1 │ 1 │
├─────┼──────┼───────┼──────┼───────┤
│ 1 │ 0.58 │ 1 │ 1 │ 1 │
├─────┼──────┼───────┼──────┼───────┤
│ 2 │ 0.61 │ 1 │ 1 │ 1 │
├─────┼──────┼───────┼──────┼───────┤
│ 3 │ 0.64 │ 1 │ 1 │ 1 │
├─────┼──────┼───────┼──────┼───────┤
│ 4 │ 0.67 │ 1 │ 1 │ 1 │
├─────┼──────┼───────┼──────┼───────┤
│ 5 │ 0.7 │ 1 │ 1 │ 1 │
├─────┼──────┼───────┼──────┼───────┤
│ 6 │ 0.73 │ 0 │ 1 │ 1 │
├─────┼──────┼───────┼──────┼───────┤
│ 7 │ 0.76 │ 0 │ 0 │ 1 │
├─────┼──────┼───────┼──────┼───────┤
│ 8 │ 0.79 │ 0 │ 0 │ 1 │
├─────┼──────┼───────┼──────┼───────┤
│ 9 │ 0.82 │ 0 │ 0 │ 1 │
├─────┼──────┼───────┼──────┼───────┤
│ 10 │ 0.85 │ 0 │ 0 │ 1 │
├─────┼──────┼───────┼──────┼───────┤
│ 11 │ 0.88 │ 0 │ 0 │ 1 │
├─────┼──────┼───────┼──────┼───────┤
│ 12 │ 0.91 │ 0 │ 0 │ 1 │
├─────┼──────┼───────┼──────┼───────┤
│ 13 │ 0.94 │ 0 │ 0 │ 1 │
├─────┼──────┼───────┼──────┼───────┤
│ 14 │ 0.97 │ 0 │ 0 │ 0 │
├─────┼──────┼───────┼──────┼───────┤
│ 15 │ 1 │ 0 │ 0 │ 0 │
╘═════╧══════╧═══════╧══════╧═══════╛
100Tasks
╒═════╤══════╤═══════╤══════╤═══════╕
│ # │ U │ LLB │ HB │ TDA │
╞═════╪══════╪═══════╪══════╪═══════╡
│ 0 │ 0.55 │ 1 │ 1 │ 1 │
├─────┼──────┼───────┼──────┼───────┤
│ 1 │ 0.58 │ 1 │ 1 │ 1 │
├─────┼──────┼───────┼──────┼───────┤
│ 2 │ 0.61 │ 1 │ 1 │ 1 │
├─────┼──────┼───────┼──────┼───────┤
│ 3 │ 0.64 │ 1 │ 1 │ 1 │
├─────┼──────┼───────┼──────┼───────┤
│ 4 │ 0.67 │ 1 │ 1 │ 1 │
├─────┼──────┼───────┼──────┼───────┤
│ 5 │ 0.7 │ 0 │ 0 │ 1 │
├─────┼──────┼───────┼──────┼───────┤
│ 6 │ 0.73 │ 0 │ 0 │ 1 │
├─────┼──────┼───────┼──────┼───────┤
│ 7 │ 0.76 │ 0 │ 0 │ 1 │
├─────┼──────┼───────┼──────┼───────┤
│ 8 │ 0.79 │ 0 │ 0 │ 1 │
├─────┼──────┼───────┼──────┼───────┤
│ 9 │ 0.82 │ 0 │ 0 │ 1 │
├─────┼──────┼───────┼──────┼───────┤
│ 10 │ 0.85 │ 0 │ 0 │ 1 │
├─────┼──────┼───────┼──────┼───────┤
│ 11 │ 0.88 │ 0 │ 0 │ 1 │
├─────┼──────┼───────┼──────┼───────┤
│ 12 │ 0.91 │ 0 │ 0 │ 1 │
├─────┼──────┼───────┼──────┼───────┤
│ 13 │ 0.94 │ 0 │ 0 │ 0 │
├─────┼──────┼───────┼──────┼───────┤
│ 14 │ 0.97 │ 0 │ 0 │ 0 │
├─────┼──────┼───────┼──────┼───────┤
│ 15 │ 1 │ 0 │ 0 │ 0 │
╘═════╧══════╧═══════╧══════╧═══════╛
```
## Setup ## Setup
I guess everyone has a running python setup on his machine. I guess everyone has a running python setup on his machine.
If not follow this [guide](https://code.visualstudio.com/docs/python/python-tutorial). If not follow this [guide](https://code.visualstudio.com/docs/python/python-tutorial).