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

Extend observable behavior and/or reconsider the behavior #30

Open
PGijsbers opened this issue Dec 4, 2018 · 0 comments
Open

Extend observable behavior and/or reconsider the behavior #30

PGijsbers opened this issue Dec 4, 2018 · 0 comments
Labels
enhancement An improvement to an existing component, e.g. optimization. low priority
Milestone

Comments

@PGijsbers
Copy link
Member

The current subject-observer pattern only supports evaluations (here).
However, I think instead of directly adding the interface to the GAMA object, there could be a completely isolated object which just parses the GAMA log and performs callbacks.

The advantage is more isolation. However this means that objects passed along from these events are no longer the same objects as are being handled in the evolutionary algorithm, but rather parsed interpretations.
Also, I don't know if it is good/bad practice to create use the logging module for this isolation.

Either way, more events should be exposed, e.g. mutation, selection and elimination. As such, it might also be more sensible to link it to the operator set.

@PGijsbers PGijsbers added enhancement An improvement to an existing component, e.g. optimization. low priority labels Dec 4, 2018
@PGijsbers PGijsbers added this to the v22.1+ milestone Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An improvement to an existing component, e.g. optimization. low priority
Projects
None yet
Development

No branches or pull requests

1 participant