Darwin Neuroevolution Framework
|
Tracks the execution of an execution (sub)stage. More...
#include <evolution.h>
Public Types | |
enum | Annotation : uint32_t { Paused = 1, Canceled = 2, Generation = 4 } |
Stage bit flags. More... | |
Public Member Functions | |
EvolutionStage (const string &name_, size_t size_, uint32_t annotations) | |
Constructs an stage object. | |
void | start () |
Marks the start of the stage. | |
void | finish () |
Marks the finish of the stage. | |
const string & | name () const |
Stage name. | |
double | elapsed () const |
Stage elapsed time in seconds. | |
int | progressPercent () const |
Progress percent [0..100]. | |
const vector< EvolutionStage > & | subStages () const |
List of sub-stages, if any. | |
Tracks the execution of an execution (sub)stage.
enum darwin::EvolutionStage::Annotation : uint32_t |