|
CorTeX Core ABI 7
ToolTech Software · C++ library reference
|
#include <ctxCortexTrainer.h>
Public Types | |
| enum | State { STATE_UNPREPARED , STATE_READY , STATE_GENERATION , STATE_CANDIDATE , STATE_FITNESS_BATCH , STATE_COMPLETE , STATE_FAILED } |
Public Member Functions | |
| virtual gzType * | getType () const |
| ctxGeneticTrainer (const ctxGeneticTrainingOptions &options=ctxGeneticTrainingOptions()) | |
| gzBool | prepare () |
| gzBool | trainStep () |
| Advance one bounded state-machine unit of genetic training. | |
| gzBool | isPrepared () const |
| gzBool | train () |
| ctxTrainerProgramProfile | getProgramProfile () const |
| gzUInt32 | getCapabilities () const |
| gzBool | beginGeneration () |
| gzBool | nextCandidate () |
| gzBool | nextFitnessBatch () |
| gzBool | stepFitnessBatch () |
| gzBool | completeCandidate () |
| gzBool | completeGeneration () |
| gzBool | saveCheckpoint (const gzString &url) const |
| gzBool | loadCheckpoint (const gzString &url) |
| State | getState () const |
| gzBool | isComplete () const |
| gzUInt32 | getGeneration () const |
| gzUInt32 | getCandidate () const |
| gzUInt32 | getFitnessBatch () const |
| gzUInt32 | getFitnessBatchCount () const |
| gzUInt32 | getPopulationSize () const |
| gzFloat | getBestError () const |
| Public Member Functions inherited from ctxTrainer | |
| ctxTrainer () | |
| virtual gzBool | install (ctxCortex *cortex) |
| Bind this session to one cortex. | |
| ctxCortex * | getCortex () const |
| gzString | getError () const |
Static Public Member Functions | |
| static gzType * | getClassType () |
| Static Public Member Functions inherited from ctxTrainer | |
| static gzType * | getClassType () |
Friends | |
| class | ctxCortexTrainer |
Additional Inherited Members | |
| Protected Attributes inherited from ctxTrainer | |
| ctxCortexPtr | m_cortex |
| gzString | m_error |
Definition at line 269 of file ctxCortexTrainer.h.
| Enumerator | |
|---|---|
| STATE_UNPREPARED | |
| STATE_READY | |
| STATE_GENERATION | |
| STATE_CANDIDATE | |
| STATE_FITNESS_BATCH | |
| STATE_COMPLETE | |
| STATE_FAILED | |
Definition at line 273 of file ctxCortexTrainer.h.
| ctxGeneticTrainer::ctxGeneticTrainer | ( | const ctxGeneticTrainingOptions & | options = ctxGeneticTrainingOptions() | ) |
References CTX_EXPORT.
| gzBool ctxGeneticTrainer::beginGeneration | ( | ) |
References CTX_EXPORT.
| gzBool ctxGeneticTrainer::completeCandidate | ( | ) |
References CTX_EXPORT.
| gzBool ctxGeneticTrainer::completeGeneration | ( | ) |
References CTX_EXPORT.
| gzFloat ctxGeneticTrainer::getBestError | ( | ) | const |
References CTX_EXPORT.
| gzUInt32 ctxGeneticTrainer::getCandidate | ( | ) | const |
References CTX_EXPORT.
|
virtual |
Implements ctxTrainer.
References CTX_EXPORT.
|
static |
References CTX_EXPORT.
| gzUInt32 ctxGeneticTrainer::getFitnessBatch | ( | ) | const |
References CTX_EXPORT.
| gzUInt32 ctxGeneticTrainer::getFitnessBatchCount | ( | ) | const |
References CTX_EXPORT.
| gzUInt32 ctxGeneticTrainer::getGeneration | ( | ) | const |
References CTX_EXPORT.
| gzUInt32 ctxGeneticTrainer::getPopulationSize | ( | ) | const |
References CTX_EXPORT.
|
virtual |
Implements ctxTrainer.
References CTX_EXPORT.
| State ctxGeneticTrainer::getState | ( | ) | const |
References CTX_EXPORT.
|
virtual |
Reimplemented from ctxTrainer.
|
virtual |
Implements ctxTrainer.
References CTX_EXPORT.
|
virtual |
Implements ctxTrainer.
References CTX_EXPORT.
|
virtual |
Implements ctxTrainer.
References CTX_EXPORT.
| gzBool ctxGeneticTrainer::nextCandidate | ( | ) |
References CTX_EXPORT.
| gzBool ctxGeneticTrainer::nextFitnessBatch | ( | ) |
References CTX_EXPORT.
|
virtual |
Implements ctxTrainer.
References CTX_EXPORT.
|
virtual |
Implements ctxTrainer.
References CTX_EXPORT.
| gzBool ctxGeneticTrainer::stepFitnessBatch | ( | ) |
References CTX_EXPORT.
|
virtual |
Reimplemented from ctxTrainer.
References CTX_EXPORT.
|
virtual |
Advance one bounded state-machine unit of genetic training.
Implements ctxTrainer.
References CTX_EXPORT.
|
friend |
Definition at line 315 of file ctxCortexTrainer.h.
References ctxCortexTrainer.
Referenced by ctxCortexTrainer.