-
Notifications
You must be signed in to change notification settings - Fork 11
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
Allow multiple parameters for nodes and add example with parametrized additive node #191
Allow multiple parameters for nodes and add example with parametrized additive node #191
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, haven't had time for a detailed review of the code. Overall, looks good so far. But please add more docstrings to the example.
5b91967
to
a36e441
Compare
good point! i've adapted the example to include proper documentation that can be properly rendered. please have another look. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just a few minor comments.
thanks for your input @mschmidt87! i've included your suggestions, please have another look |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice, looks good to me.
One small thing: Can you add this example to the travis file. After merging #205 , this won't be necessary but at the moment, it's not clear which one we merge first.
b821a37
to
9cee41f
Compare
thanks! added the example to travis, sqashed, now waiting for green light from travis before merging |
With #178 this is now incredibly easy: one can just define new custom nodes that implement certain operations and may contain parameters that can be adapted via local search. This PR includes a fix for nodes that use more than one parameter and example for how to make use of the new power of #178 ;)
Should we include this parametrized add as a new default node? Or is is so simple now to define nodes that we don't need it?
closes #98