pkalivas / radiate

A genetic programming engine which evolves solutions through asynchronous speciation.
MIT License
146 stars 16 forks source link

Fix docs, refactor #6

Closed rkarp closed 4 years ago

rkarp commented 4 years ago

I went through everything quickly and fixed most of the many spelling errors, I believe, plus some other smaller doc improvements.

Misspelled parts of the API have been renamed (with the old one left over as deprecated to keep backwards compatibility).

There's also a refactoring in here: Using slices (&[]) instead of &Vec for input values, which is a general convention in Rust and more general since &Vec derefs to a slice automatically. Sadly I couldn't change this in the Layer trait as well since that would be a breaking change for users. I can add that as well if you like, though, the commit is done already.

There should be no breaking changes in this PR.

pkalivas commented 4 years ago

Haha thanks, that's been on my docket for a long time but haven't gotten around to it. Updating crates right now.