FInteractionDefinition
Struct containing a definition of the inputs and outputs of a policy.
This structure defines the observation and action spaces for an agent, specifying what observations it can receive and what actions it can produce. This is fundamental to defining the interface between an agent and its environment.
struct FInteractionDefinitionMethods
FInteractionDefinition
inline FInteractionDefinition(const FInteractionDefinition &Other)Copy constructor.
Parameters
Other(const FInteractionDefinition)
FInteractionDefinition
inline FInteractionDefinition(const TInstancedStruct<FSpace> &InObsSpaceDefn, const TInstancedStruct<FSpace> &InActionSpaceDefn)Constructor with observation and action space parameters.
Parameters
-
InObsSpaceDefn(const TInstancedStruct<FSpace>) -
InActionSpaceDefn(const TInstancedStruct<FSpace>)
FInteractionDefinition
inline FInteractionDefinition(const FString &InAgentType, const TInstancedStruct<FSpace> &InObsSpaceDefn, const TInstancedStruct<FSpace> &InActionSpaceDefn)Constructor with agent type, observation, and action space parameters.
Parameters
-
InAgentType(const FString) -
InObsSpaceDefn(const TInstancedStruct<FSpace>) -
InActionSpaceDefn(const TInstancedStruct<FSpace>)
FInteractionDefinition
inline FInteractionDefinition()Default constructor.
Attributes
AgentType
FString AgentTypeOptional type used by training integrations to group compatible agents.
ObsSpaceDefn
TInstancedStruct<FSpace> ObsSpaceDefnDefines the range of values that the corresponding agent accepts as observations.
ActionSpaceDefn
TInstancedStruct<FSpace> ActionSpaceDefnDefines the range of values that are output by this agent’s policy as actions.