Class UStatLoggerComponent
- class UStatLoggerComponent : public UBlueprintEnvironmentUtilityComponent
-
Public Functions
- bool LogToFile(FString TextToSave = “”)
-
Log Text to the logfile.
- Parameters:
-
TextToSave – The text to save to the file
- Returns:
-
True if the log was successful
- bool LogReward(float Reward)
-
Log a reward to the log file.
- Parameters:
-
Reward – The reward to log
- Returns:
-
True if the log was successful
- virtual void OnEnvironmentStep(int AgentID, FTrainerState &State) override
-
Callback for when an agent takes a step in the environment.
- Parameters:
-
-
AgentID – [in] The ID of the agent that took the step.
-
State – [in] The state of the agent after taking the step.
-