Darwin Neuroevolution Framework
|
The persistent storage for all the experiments and variations. More...
#include <universe.h>
Public Member Functions | |
string | path () const |
The path of this universe database. | |
unique_ptr< DbExperiment > | newExperiment (const optional< string > &name, const string &setup, const optional< db::RowId > &base_variation_id) |
Creates a new experiment/fork. | |
unique_ptr< DbExperiment > | loadExperiment (db::RowId experiment_id) const |
Loads existing experiment. | |
bool | findExperiment (const string &name) const |
Returns true if there is an experiment with the specified name. | |
vector< DbExperiment > | experimentsList () const |
Returns the list of experiments in this universe. | |
unique_ptr< DbExperimentVariation > | newVariation (db::RowId experiment_id, const string &config) |
Creates a new variation. | |
unique_ptr< DbExperimentVariation > | loadVariation (db::RowId variation_id) const |
Loads an existing variation. | |
unique_ptr< DbEvolutionTrace > | newTrace (db::RowId variation_id, const string &evolution_config) |
Create a new evolution trace. | |
void | newGeneration (const DbGeneration &db_generation) |
Creates a new generation record. | |
Static Public Member Functions | |
static unique_ptr< Universe > | create (const string &path) |
Creates a new universe database. | |
static unique_ptr< Universe > | open (const string &path) |
Opens an existing universe database. | |
The persistent storage for all the experiments and variations.