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

Major refactor to be consistent with cogent core coding principles #129

Merged
merged 10 commits into from
Aug 11, 2024

Conversation

rcoreilly
Copy link
Member

  • no more huge monolithic interfaces - only have methods that actually need to be defined in algorithm-specific code, and use Base types for basic common data and methods that applies to everything.

  • this avoids name conflicts between interface and struct, so now .Name is the field, and there is no Name() method.

  • move basic infrastructure stuff from axon into emer base classes, so it doesn't need to be rewritten. need to do more on this with weights and params methods, but basic stuff is in place.

  • only include minimal method set to support netview, io (weights), and params: no Build() etc. and use Emer* specific names to avoid conflicts with "native" algorithm-specific accessors where relevant.

@rcoreilly rcoreilly merged commit 7bfe300 into main Aug 11, 2024
1 check failed
@rcoreilly rcoreilly deleted the refactor branch December 23, 2024 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant