TImitationScholaEnvironment
Template wrapper that adapts Blueprint-implementable environment interfaces to IImitationScholaEnvironment.
This template bridges Blueprint-exposed environment implementations with the type-erased IImitationScholaEnvironment interface for polymorphic usage.
template <typename T>class TImitationScholaEnvironment : public TScriptInterface<T>, public IImitationScholaEnvironmentMethods
TImitationScholaEnvironment
~TImitationScholaEnvironment() = defaultDefault destructor.
TImitationScholaEnvironment
inline TImitationScholaEnvironment(UObject *InObject)Constructs the environment wrapper from a UObject implementing the interface.
Parameters
InObject(UObject)
InitializeEnvironment
inline virtual void InitializeEnvironment( TMap<FString, FInteractionDefinition> &OutDefinition) overrideInitialize the environment and retrieve agent definitions.
Parameters
OutDefinition(TMap<FString, FInteractionDefinition>)
Reset
inline virtual voidReset(TMap<FString, FInitialAgentState> &OutAgentState) overrideReset the environment to its initial state.
Parameters
OutAgentState(TMap<FString, FInitialAgentState>)
Step
inline virtual voidStep(TMap<FString, FImitationAgentState> &OutAgentStates) overrideExecute one step of the environment with expert demonstrations.
Parameters
OutAgentStates(TMap<FString, FImitationAgentState>)
SetEnvironmentOptions
inline virtual voidSetEnvironmentOptions(const TMap<FString, FString> &Options) overrideConfigure environment options.
Parameters
Options(const TMap<FString, FString>)
SeedEnvironment
inline virtual void SeedEnvironment(int Seed) overrideSet the random seed for the environment.
Parameters
Seed(int)
Source: Source/ScholaImitation/Public/Environment/ImitationEnvironmentInterface.h