Navigation
API > API/Plugins > API/Plugins/LearningAgentsTraining
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBlueprintFunctionLibrary
- ULearningAgentsCommunicatorLibrary
References
| Module | LearningAgentsTraining |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgentsTraining/Public/LearningAgentsCommunicator.h |
| Include | #include "LearningAgentsCommunicator.h" |
Syntax
UCLASS ()
class ULearningAgentsCommunicatorLibrary : public UBlueprintFunctionLibrary
Remarks
Contains functions for starting external trainers and communicating with them.
Functions
| Type | Name | Description | |
|---|---|---|---|
| FLearningAgentsCommunicator | MakeSharedMemoryCommunicator
(
const FLearningAgentsTrainerProcess& TrainerProcess, |
Create a communicator which can be used to interact with a previously started shared memory trainer process. | |
| FLearningAgentsCommunicator | MakeSocketCommunicator
(
FLearningAgentsTrainerProcess TrainerProcess, |
Create a communicator which can be used to interact with a previously started socket trainer process. | |
| FLearningAgentsTrainerProcess | SpawnSharedMemoryTrainingProcess
(
const FLearningAgentsTrainerProcessSettings& TrainerProcessSettings, |
Start a local python training sub-process which will communicate via shared memory. | |
| FLearningAgentsTrainerProcess | SpawnSocketTrainingProcess
(
const FLearningAgentsTrainerProcessSettings& TrainerProcessSettings, |
Start a local python training sub-process which will communicate via sockets. |