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

Optimized linkages should have an easy-to-use interface #6

Open
HugoFara opened this issue Jun 17, 2023 · 1 comment
Open

Optimized linkages should have an easy-to-use interface #6

HugoFara opened this issue Jun 17, 2023 · 1 comment
Labels
code issue Code is not wrong, but something is off enhancement New feature or request

Comments

@HugoFara
Copy link
Owner

Currently during the PSO optimization, a linkage is represented as a tuple : (score, dimensions, initial positions).

Using indexes every where does not make things easy to debug and prevents the development of more advanced features.

Using a named tuple should be enough here, but with extensions in mind an object would be better.

@HugoFara HugoFara added enhancement New feature or request code issue Code is not wrong, but something is off labels Jun 18, 2023
@HugoFara
Copy link
Owner Author

Implemented with the Agent and MutableAgent. I have to use in more function now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code issue Code is not wrong, but something is off enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant