From eba969f076adadf55170c45de40da7bc4ebf196e Mon Sep 17 00:00:00 2001 From: BOTLester <58360400+BOTLester@users.noreply.github.com> Date: Sun, 10 May 2020 23:21:03 +0200 Subject: [PATCH] Fixing documenation --- Game1/Sources/Crops/Crops.cs | 2 +- Oskar_Nastaly_ML_Report.md | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Game1/Sources/Crops/Crops.cs b/Game1/Sources/Crops/Crops.cs index 97132da..6376696 100644 --- a/Game1/Sources/Crops/Crops.cs +++ b/Game1/Sources/Crops/Crops.cs @@ -287,7 +287,7 @@ class Crops r = (1.0f - productionRate) * 4; g = 0.0f + productionRate; - b = 0.0f + (float)Math.Pow((double)overhead * 10, 2); + b = 0.0f + overhead * 3; a = 255; return new Vector4(r, g, b, a); diff --git a/Oskar_Nastaly_ML_Report.md b/Oskar_Nastaly_ML_Report.md index afdfb3f..72a6857 100644 --- a/Oskar_Nastaly_ML_Report.md +++ b/Oskar_Nastaly_ML_Report.md @@ -1,6 +1,5 @@ # Machine Learning Method implementation report - Oskar Nastały - ## Introduction 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). 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) +