HyperCodec / genetic-rs

Crate for quickstarting genetic algorithm projects
MIT License
1 stars 0 forks source link

Implement derive macros #51

Closed HyperCodec closed 9 months ago

HyperCodec commented 9 months ago

Still need to add more checking and such for whether the fields all have the trait

HyperCodec commented 9 months ago

Also not sure whether the macros feature should be default, it doesn't appear to be useful in bare genetic-rs use cases, only when it depends on another library.

HyperCodec commented 9 months ago

Ok I think this is just about done, need to do more testing and then I can merge.

HyperCodec commented 9 months ago

mutation rate attr is actually not necessary because fields should mutate in their crossover fns anyways.