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

Correctly permute all input constraints #753

Merged
merged 1 commit into from Jan 23, 2017

Conversation

joshuafcole
Copy link
Contributor

This is WIP. It still requires a documentation pass.

It addresses the issues with applyInputs being either too greedy (applying to all valid scans as it did initially) or too conservative (applying to only one at a time). The method here is based on Power Sets, specifically using the neat bitflag trick of using a single iterator from 1..(N - 1) to signify the inclusiveness of the subsets.

@joshuafcole joshuafcole force-pushed the refactor-runtime-permute-inputs branch from 87fcb42 to 1b57897 Compare January 21, 2017 07:41
@joshuafcole joshuafcole merged commit cf9148f into refactor-runtime Jan 23, 2017
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

1 participant