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