Add skeleton for utilityAI framework

This commit is contained in:
Asdow
2026-01-19 22:59:30 +02:00
parent 58ea3be2fd
commit ff96d653e2
5 changed files with 460 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
#pragma once
typedef enum
{
Step,
Linear,
Polynomial,
Logistic,
Logit
} ResponseCurveType;
struct ResponseCurve
{
ResponseCurveType type;
float m;
float k;
float b;
float c;
float min;
float max;
};
float NormalizeInput(float value, float min, float max);
float CalculateResponse(float x, ResponseCurve curve);