neuroevolution-ai / NeuroEvolution-CTRNN_new

MIT License
3 stars 3 forks source link

[possible bug] serializing global class state of experiment #59

Open bjuergens opened 3 years ago

bjuergens commented 3 years ago

Some brains make use of a global class state of the brain class (usually for sparse matrices). As far as I can tell this global class state is not preserved at the end of an experiment. This is no problem for logarithmic sparse matrices, as they are deterministic to begin with.

But it will probably be a significant problem for random sparse matrices.

It could still be possible that they will work because of the fixing of random seeds at the beginning of the experiment, but if so, than it would be very prone to errors.

I suggest the following solution:

related issues: #34

pdeubel commented 3 years ago

My next TODO is #34 I will look into this