TLmaK0 / rustneat

Rust Neat - NeuroEvolution of Augmenting Topologies
MIT License
68 stars 16 forks source link

Structure, clippy and doc strings #15

Closed dirvine closed 7 years ago

dirvine commented 7 years ago

Sorry again for a much too large PR. This restructures the lib as per issue #14
Start on visibility rules as per issue #9

A gitter board will help a lot as I am not 100% sure of the weight / innovation parameters. I hope now to be able to start really looking into the lib with reference to the stanly paper and c++ reference implementation. May be good to add ability to read config (toml?) for setting up initial genes and connections etc.

Please feel free to comment and critique as widely as you wish, I realise these PR's are way too large.

TLmaK0 commented 7 years ago

Thanks @dirvine. For the initial configuration of the network, I think we should, instead, start exporting it in some kind of format file (this is a must). I prefer XML or JSON for this kind of serialization. I was looking for standards but without success. Then we can use this format as import or initial configuration. For NEAT configuration I think toml will be great. What do you think?

dirvine commented 7 years ago

Yes I agree, if there was a standard configuration format, perhaps on the gym you posted then it makes a lot of sense. The prob with JSON perhaps is comments are lost but lets investigate. Importing the genes and genomes from a file though is for sure something we should do.