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

Add the ability to use callbacks. #131

Merged
merged 1 commit into from
Dec 5, 2017

Conversation

sudomakeinstall
Copy link
Contributor

This pull request allows the user to add callbacks, which are called on each iteration of the CPD algorithm. The callbacks are stored as a vector of std::function specializations, such that function pointers, pointers to methods, and lambda functions may all be passed as callbacks. A simple example is also added.

This PR is a first step in addressing this issue.

@gadomski
Copy link
Owner

gadomski commented Dec 5, 2017

Great stuff, thanks so much! I'm going to take a look at #130 when I get a chance, I'm a bit buried in conference prep ATM.

@sudomakeinstall sudomakeinstall deleted the Callback branch December 5, 2017 19:27
@sudomakeinstall
Copy link
Contributor Author

No worries--thanks very much for merging! Best of luck with the conference.

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.

None yet

2 participants