DecisionFlex
Utilty AI for Unity
 All Classes Namespaces Functions Variables Events Pages
Public Member Functions | List of all members
TenPN.DecisionFlex.SelectHighestScore Class Reference

Choose the highest-scoring action. More...

Inheritance diagram for TenPN.DecisionFlex.SelectHighestScore:
TenPN.DecisionFlex.ActionSelector

Public Member Functions

override ActionSelection Select (IList< ActionSelection > choices, Logging loggingState)
 

Additional Inherited Members

- Public Types inherited from TenPN.DecisionFlex.ActionSelector
enum  Logging { IsEnabled, IsDisabled }
 

Detailed Description

Choose the highest-scoring action.

This is a good choice for your selector when you always want the definitive choice

Member Function Documentation

override ActionSelection TenPN.DecisionFlex.SelectHighestScore.Select ( IList< ActionSelection choices,
Logging  loggingState 
)
inlinevirtual

given a list of actions and scores, pick the one that should be executed

Parameters
choicesactions, each with a normalized score
loggingStateIsEnabled if the caller wants extra debugging sent to the console

Implements TenPN.DecisionFlex.ActionSelector.


The documentation for this class was generated from the following file: