SmartEngine
1.6.0
|
Data used to construct an IGeneticAgentTrainer instance More...
#include <GeneticAgentTrainer.h>
Public Attributes | |
IContext * | context = nullptr |
The context this trainer belongs to. More... | |
IGraph * | graph = nullptr |
The graph we are going to train. More... | |
IAgentDataStore * | dataStore = nullptr |
The data store that agents will feed into. More... | |
const char * | agentName = "" |
The base name for created agents. More... | |
const char ** | policyNodeNames = nullptr |
The names of the output nodes of the actor (the network used to manipulate the environment). Only the output nodes need to be specified. They should match the actions provided by the agent. More... | |
int | policyNodeNameCount = 0 |
The number of elements in the policy node name array More... | |
ICuriosityModule * | curiosityModule = nullptr |
Optional curiosity module for additional curiosity rewards. More... | |
int | curiosityTrainEpochs = 1 |
The number of epochs to train the curiosity module on the incoming agent data. More... | |
float | gamma = 0.99f |
Gamma to apply to rewards over time. More... | |
GeneticAgentScoringMethod | scoringMethod = GeneticAgentScoringMethod::Sum |
Defines how the trainer deals with chromosome scores from multiple agents. More... | |
Public Attributes inherited from SmartEngine::ResourceCInfo | |
const char * | resourceName = nullptr |
Optional resource name that will be used with Load() and Save() if no other name is provided. More... | |
Data used to construct an IGeneticAgentTrainer instance
const char* SmartEngine::GeneticAgentTrainerCInfo::agentName = "" |
The base name for created agents.
IContext* SmartEngine::GeneticAgentTrainerCInfo::context = nullptr |
The context this trainer belongs to.
ICuriosityModule* SmartEngine::GeneticAgentTrainerCInfo::curiosityModule = nullptr |
Optional curiosity module for additional curiosity rewards.
int SmartEngine::GeneticAgentTrainerCInfo::curiosityTrainEpochs = 1 |
The number of epochs to train the curiosity module on the incoming agent data.
IAgentDataStore* SmartEngine::GeneticAgentTrainerCInfo::dataStore = nullptr |
The data store that agents will feed into.
float SmartEngine::GeneticAgentTrainerCInfo::gamma = 0.99f |
Gamma to apply to rewards over time.
IGraph* SmartEngine::GeneticAgentTrainerCInfo::graph = nullptr |
The graph we are going to train.
int SmartEngine::GeneticAgentTrainerCInfo::policyNodeNameCount = 0 |
The number of elements in the policy node name array
const char** SmartEngine::GeneticAgentTrainerCInfo::policyNodeNames = nullptr |
The names of the output nodes of the actor (the network used to manipulate the environment). Only the output nodes need to be specified. They should match the actions provided by the agent.
GeneticAgentScoringMethod SmartEngine::GeneticAgentTrainerCInfo::scoringMethod = GeneticAgentScoringMethod::Sum |
Defines how the trainer deals with chromosome scores from multiple agents.