![]() |
Grail (C#)
1.4.0
A multi-platform, modular, universal engine for embedding advanced AI in games.
|
Tool responsible for selecting most suitable objects based on calculated scores. More...
Static Public Member Functions | |
| static void | GetBestOption< ContextType > (in List< SelectionOption< ContextType >> options, ref SelectionResult result, RandomNumberGenerator randomNumberGenerator, RouletteOptions rouletteOptions, UtilityReasoner.Validator validator) |
| Selects most suitable option. Provides different context for each evaluated objects. More... | |
Tool responsible for selecting most suitable objects based on calculated scores.
|
inlinestatic |
Selects most suitable option. Provides different context for each evaluated objects.
| options | Contexts paired with evaluators. |
| result | Reference to the selection result object. |
| validator | Function validating whether given object can be chosen. |
| ContextType | Type of evaluated object. By default - ValueTuple(AIEntity, Blackboard). |