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

Warn when using priorities without applying PrioritizedBSyncEventSelectionStrategy #151

Closed
ZvikaZ opened this issue Feb 9, 2021 · 0 comments

Comments

@ZvikaZ
Copy link

ZvikaZ commented Feb 9, 2021

Currently, when using priorities in events (such as in

bp.sync({ request:[ O(1, 1) ] }, 35);
,
bp.sync({ request:[ O(0, 0), O(0, 2), O(2, 0), O(2, 2) ] }, 20);
) we need to add
bprog.setEventSelectionStrategy(new PrioritizedBSyncEventSelectionStrategy());
in the Java runner.

It'd be nice if a warning will be issued if priorities are used in the code, without applying proper strategy.

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

No branches or pull requests

2 participants