ABlueprintScholaEnvironment
class ABlueprintScholaEnvironment : public AAbstractScholaEnvironment
A blueprintable version of the AbstractScholaEnvironment.
Dependencies: AAbstractScholaEnvironment
Inherits from: public AAbstractScholaEnvironment
Public Interface
Public Functions:
ResetEnvironment
virtual void ResetEnvironment()
Reset the environment.
Note that this does not reset the agent state.
Note: Subclasses should implement this method to add logic that runs when the environment is reset
Attributes: virtual
Source: c:/Git/Schola/Source/Schola/Public/Environment/AbstractEnvironment.h
(line 183, column 6)
RegisterAgents
virtual void RegisterAgents(TArray<APawn *> &OutAgentControlledPawnArray)
Register a list of agents with the environment, from a list of pawns with associated agents.
Called after the environment is initialized.
Parameters:
OutAgentControlledPawnArray
(TArray<APawn *> &
) – An array of pawns in the environment that are controlled by agents
Attributes: virtual
Source: c:/Git/Schola/Source/Schola/Public/Environment/AbstractEnvironment.h
(line 186, column 6)
InitializeEnvironment
virtual void InitializeEnvironment()
Perform any environment setup like initializing variables, or binding delegates.
Occurs before Register Agents.
Attributes: virtual
Source: c:/Git/Schola/Source/Schola/Public/Environment/AbstractEnvironment.h
(line 189, column 6)
SetEnvironmentOptions
virtual void SetEnvironmentOptions(const TMap<FString, FString> &Options)
Configure this environment based on arbitrary Options from the GymConnector.
Called immediately before the environment is reset, if the gym connector has Options.
Parameters:
Options
(const TMap<FString, FString> &
) – [in] A map of options to configure the environment with
Attributes: virtual
Source: c:/Git/Schola/Source/Schola/Public/Environment/AbstractEnvironment.h
(line 192, column 6)
SeedEnvironment
virtual void SeedEnvironment(int Seed)
Configure this environment based on a Seed .
Called immediately before the environment is reset, if the gym connector has a new seed supplied.
Parameters:
Seed
(int
) – [in] The seed to configure the environment with
Attributes: virtual
Source: c:/Git/Schola/Source/Schola/Public/Environment/AbstractEnvironment.h
(line 195, column 6)
Source: c:/Git/Schola/Source/Schola/Public/Environment/AbstractEnvironment.h
(line 176, column 1)