Darwin Neuroevolution Framework
Public Member Functions | List of all members
darwin::ProgressMonitor Class Referenceabstract

Interface for monitoring evolution progress. More...

#include <evolution.h>

Inheritance diagram for darwin::ProgressMonitor:
darwin::Evolution

Public Member Functions

virtual void beginStage (const string &name, size_t size, uint32_t annotations)=0
 Stage start notification. More...
 
virtual void finishStage (const string &name)=0
 Stage finish notification.
 
virtual void reportProgress (size_t increment)=0
 Stage progress notification. More...
 

Detailed Description

Interface for monitoring evolution progress.

See also
ProgressManager
Evolution
EvolutionStage

Member Function Documentation

◆ beginStage()

virtual void darwin::ProgressMonitor::beginStage ( const string &  name,
size_t  size,
uint32_t  annotations 
)
pure virtual

Stage start notification.

Parameters
name- stage name
size- the actual size of the stage if known in advance (in whaterver units/increments are appropriate)
annotations- EvolutionStage::Annotation bit flags

◆ reportProgress()

virtual void darwin::ProgressMonitor::reportProgress ( size_t  increment)
pure virtual

Stage progress notification.

Parameters
increment- number of units processed, relative to stage size

The documentation for this class was generated from the following file: