Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@yceh
Copy link
Contributor

@yceh yceh commented Jul 8, 2022

#252 Functor invoked when a profitable move is found.

#include "../stack_allocator.hpp"
struct Move_Found_Callback{
bool operator()(Profitable_Moves move,int best_score_change){
return move.score_change <= best_score_change;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This functor is called for every move. Currently, a move is considered as long as it improves the parsimony score. Larch may be able to do more filtering.

@yatisht yatisht merged commit 5e65616 into yatisht:larch-dev Jul 8, 2022
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.

2 participants