grail (C
1.0.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
|
Standard evaluator calculating scores based on considerations and curves. More...
Public Member Functions | |
Evaluator (WeightEvaluationMethod method) | |
Evaluator (WeightEvaluationMethod method, IEnumerable<(Consideration< ContextType >, Curve)> curveData) | |
float | EvaluateWeight (ContextType context) |
Evaluates weight using provided evaluation method. More... | |
void | AddCurve (Consideration< ContextType > consideration, Curve curve) |
Properties | |
int | Rank [get] |
WeightEvaluationMethod | EvaluationMethod [get] |
List<(Consideration< ContextType > consideration, Curve curve)> | CurveData [get] |
Properties inherited from Grail.Utility.IEvaluator< ContextType > | |
int | Rank [get] |
Measure of importance of evaluated object. More... | |
Standard evaluator calculating scores based on considerations and curves.
ContextType |
|
inline |
method | score aggregation method (MAX, MIN, AVERAGE, ADD, MULTIPLY) |
|
inline |
method | score aggregation method (MAX, MIN, AVERAGE, ADD, MULTIPLY) |
curveData | collection of considerations paired with curves |
|
inline |
Evaluates weight using provided evaluation method.
context |
ArgumentOutOfRangeException |
Implements Grail.Utility.IEvaluator< ContextType >.