Fixing documenation

This commit is contained in:
BOTLester 2020-05-10 23:21:03 +02:00
parent 5424c2c66a
commit eba969f076
2 changed files with 4 additions and 3 deletions

View File

@ -287,7 +287,7 @@ class Crops
r = (1.0f - productionRate) * 4; r = (1.0f - productionRate) * 4;
g = 0.0f + productionRate; g = 0.0f + productionRate;
b = 0.0f + (float)Math.Pow((double)overhead * 10, 2); b = 0.0f + overhead * 3;
a = 255; a = 255;
return new Vector4(r, g, b, a); return new Vector4(r, g, b, a);

View File

@ -1,6 +1,5 @@
# Machine Learning Method implementation report - Oskar Nastały # Machine Learning Method implementation report - Oskar Nastały
## Introduction ## Introduction
Purpose of my ML implementation is for the agent (tractor) to decide what fertilizer it should use. Purpose of my ML implementation is for the agent (tractor) to decide what fertilizer it should use.
@ -111,4 +110,6 @@ If field is properly fertilized it will have higher production rate, resulting i
Production rate value is shown in the UI as well as it is represented by the colour of progression bar (right side of every tile). Production rate value is shown in the UI as well as it is represented by the colour of progression bar (right side of every tile).
At 100% bar will pure **Green**. Any value below will make bar more **Red**, while any value above will add **Blue**, eventually turning bar colour into cyan. At 100% bar will pure **Green**. Any value below will make bar more **Red**, while any value above will add **Blue**, eventually turning bar colour into cyan.
![Example](https://git.wmi.amu.edu.pl/s425077/PotatoPlan/src/Oskar-ML/example_img.png) Example:
![Progression Bar](https://git.wmi.amu.edu.pl/s425077/PotatoPlan/src/Oskar-ML/example_img.png?raw=true)