Navigation
API > API/Plugins > API/Plugins/LearningAgentsTraining > API/Plugins/LearningAgentsTraining/ULearningAgentsCommunicatorLibra-
References
| Module | LearningAgentsTraining |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgentsTraining/Public/LearningAgentsCommunicator.h |
| Include | #include "LearningAgentsCommunicator.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgentsTraining/Private/LearningAgentsCommunicator.cpp |
UFUNCTION (BlueprintCallable, Category="LearningAgents",
Meta=(AutoCreateRefTerm="TrainerProcessSettings,SharedMemorySettings"))
static FLearningAgentsTrainerProcess SpawnSharedMemoryTrainingProcess
(
const FLearningAgentsTrainerProcessSettings & TrainerProcessSettings,
const FLearningAgentsSharedMemoryCommunicatorSettings & SharedMemorySettings
)
Remarks
Start a local python training sub-process which will communicate via shared memory. Shared memory has the least communication overhead so prefer this for local development.
This must be called on game thread!
Parameters
| Name | Description |
|---|---|
| TrainerProcessSettings | Settings universal to all trainer processes. |
| FLearningAgentsSharedMemoryCommunicatorSettings | Settings specific to shared memory communicators. |