Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement derive macros #51

Merged
merged 15 commits into from
Feb 27, 2024
Merged

Implement derive macros #51

merged 15 commits into from
Feb 27, 2024

Conversation

HyperCodec
Copy link
Owner

No description provided.

@HyperCodec HyperCodec added the enhancement New feature or request label Feb 26, 2024
@HyperCodec HyperCodec self-assigned this Feb 26, 2024
@HyperCodec
Copy link
Owner Author

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

@HyperCodec
Copy link
Owner Author

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
Copy link
Owner Author

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

@HyperCodec
Copy link
Owner Author

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

@HyperCodec HyperCodec merged commit a7a12e4 into dev Feb 27, 2024
3 checks passed
@HyperCodec HyperCodec deleted the derive branch February 27, 2024 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant