Struct FPolicyDecision
- struct FPolicyDecision
-
A struct representing a decision made by a policy.
Public Functions
- inline FPolicyDecision(EDecisionType DecisionType)
-
Construct a policy decision with a given decision type.
- Parameters:
-
DecisionType – [in] The type of decision made by the policy.
- inline FPolicyDecision(FAction &Action)
-
Construct an policy decision of type action from a given action.
- Parameters:
-
Action – [in] The action taken by the agent.
- inline bool IsAction() const
-
Check if the decision is an action.
- Returns:
-
True if the decision is an action, false otherwise.
Public Members
- FAction Action
-
The action taken by the agent.
Public Static Functions
- static inline FPolicyDecision *NoDecision()
-
Create an empty policy decision.
- Returns:
-
A ptr to an empty policy decision.
- static inline FPolicyDecision *ActionDecision(FAction &Action)
-
Create a policy decision with a given action.
- Parameters:
-
Action – [in] The action taken by the agent.
- Returns:
-
A ptr to an action policy decision.
- static inline FPolicyDecision *PolicyError()
-
Create a policy decision representing an error.
- Returns:
-
A ptr to an error policy decision