SmartEngine  1.6.0
Classes | Public Member Functions | List of all members
SmartEngine.Helpers.GeneticTrainingHarness< TTrainingTask, TChromosomeData > Class Template Referenceabstract

A helper training harness specifically for genetic training. Manages distributing work and the server pump. Derived classes should implement the client training function and are responsible for adding tasks in OnBeginTrainingStep(). More...

Inheritance diagram for SmartEngine.Helpers.GeneticTrainingHarness< TTrainingTask, TChromosomeData >:
SmartEngine.Helpers.NetworkedTrainingHarness< GeneticTrainer, TTrainingTask >

Public Member Functions

override void StartTraining (TrainingHarness.CInfo cinfo)
 Starts training on the server More...
 
- Public Member Functions inherited from SmartEngine.Helpers.NetworkedTrainingHarness< GeneticTrainer, TTrainingTask >
override void StartTraining (TrainingHarness.CInfo cinfo)
 Starts training as a server. This will automatically connect a client to this instance on the same machine. More...
 
override void StopTraining ()
 Stops training the server. Clients will remain connected to avoid having to reconnect them if training is to start again (useful for periodically stopping training to see how the network is performing). More...
 

Additional Inherited Members

- Properties inherited from SmartEngine.Helpers.NetworkedTrainingHarness< GeneticTrainer, TTrainingTask >
bool IsTrainingAsClient [get]
 True if we are running as the client. In the case of a single machine, this will be true even when the server is running. More...
 

Detailed Description

A helper training harness specifically for genetic training. Manages distributing work and the server pump. Derived classes should implement the client training function and are responsible for adding tasks in OnBeginTrainingStep().

This class is not intended for Genetic Agent Trainers, which function more like reinforcement learning trainers than a traditional genetic trainer.

Type Constraints
TTrainingTask :GeneticTrainingTask 
TChromosomeData :ChromosomeData 
TChromosomeData :new() 

Member Function Documentation

◆ StartTraining()

override void SmartEngine.Helpers.GeneticTrainingHarness< TTrainingTask, TChromosomeData >.StartTraining ( TrainingHarness.CInfo  cinfo)

Starts training on the server

Parameters
cinfo