Class UAbstractPolicy
- class UAbstractPolicy : public UObject
-
An abstract class representing the decision making protocol of an NPC.
Without any synchronization.
Subclassed by UInferencePolicy
Public Functions
- inline virtual TFuture<FPolicyDecision*> RequestDecision(const FDictPoint &Observations)
-
Request that the policy decide on action.
May take some time to occur
- Parameters:
-
Observations – [in] The current state of the agent used to inform the policies choice of action
- Returns:
-
A future that will eventually contain the policy’s next decision
- inline virtual void Init(const FInteractionDefinition &PolicyDefinition)
-
Initialize an instance of a policy object from an interaction definition.
- Parameters:
-
PolicyDefinition – [in] An object defining the policy’s I/O shapes and other parameters