Struct FInteractionDefinition
Struct FInteractionDefinition
- Defined in File InteractionDefinition.h
struct FInteractionDefinitionSource: Source/Schola/Public/Common/InteractionDefinition.h
Dependencies: FSpace
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.
Public Functions
| Symbol | Details |
|---|---|
FInteractionDefinition | Copy constructor. |
FInteractionDefinition | Constructor with observation and action space parameters. |
FInteractionDefinition | Default constructor. |
FInteractionDefinition
inline FInteractionDefinition(const FInteractionDefinition &Other)Copy constructor.
Parameters
Other – [in] The interaction definition to copy from.
| # | Direction | Name | Type | Description |
|---|---|---|---|---|
| 1 | — | Other | const FInteractionDefinition & | The interaction definition to copy from. |
Attributes: inline
Source: Source/Schola/Public/Common/InteractionDefinition.h
FInteractionDefinition
inline FInteractionDefinition(const TInstancedStruct<FSpace> &InObsSpaceDefn, const TInstancedStruct<FSpace> &InActionSpaceDefn)Constructor with observation and action space parameters.
Parameters
-
InObsSpaceDefn – [in] The observation space definition.
-
InActionSpaceDefn – [in] The action space definition.
| # | Direction | Name | Type | Description |
|---|---|---|---|---|
| 1 | — | Other | const FInteractionDefinition & | The interaction definition to copy from. |
Attributes: inline
Source: Source/Schola/Public/Common/InteractionDefinition.h
FInteractionDefinition
inline FInteractionDefinition()Default constructor.
| # | Direction | Name | Type | Description |
|---|---|---|---|---|
| 1 | — | Other | const FInteractionDefinition & | The interaction definition to copy from. |
Attributes: inline
Source: Source/Schola/Public/Common/InteractionDefinition.h
Public Members
| Symbol | Details |
|---|---|
ObsSpaceDefn | Defines the range of values that the corresponding agent accepts as observations. |
ActionSpaceDefn | Defines the range of values that are output by this agent’s policy as actions. |
ObsSpaceDefn
TInstancedStruct<FSpace> ObsSpaceDefnDefines the range of values that the corresponding agent accepts as observations.
This space describes the structure and valid values for observations that the agent receives from its environment.
ActionSpaceDefn
TInstancedStruct<FSpace> ActionSpaceDefnDefines the range of values that are output by this agent’s policy as actions.
This space describes the structure and valid values for actions that the agent can produce and send to its environment.