Skip to content

[WIP] [ConstraintSolver] Score disjunctions to prune search space #11723

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

Closed
wants to merge 1 commit into from

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Sep 1, 2017

In each of the constraint component score disjunctions
based on how much information do we have about them, the
more information we have, the easier it is to prune search
space of incorrect branches earlier.

@xedin
Copy link
Contributor Author

xedin commented Sep 1, 2017

This is part 3 (of 3) related to search space pruning, it makes a least 5 "expression to complex" no longer complex but degrades one of the examples we have too, so I need to look into that still.

@xedin
Copy link
Contributor Author

xedin commented Sep 6, 2017

The problem here is that disjunction score also needs to account how to use disjunctions to split constraint buckets evenly otherwise some of the cases which currently work (just because of the ordering of the type variables and size of the disjunctions) are going to become slow. Since we have Component abstraction now, I think I can do that in there - if the scores of the disjunctions are the same, prioritize ones which split buckets better.

In each of the constraint component score disjunctions
based on how much information do we have about them, the
more information we have, the easier it is to prune search
space of incorrect branches earlier.
@xedin xedin force-pushed the score-disjunctions branch from d80cd86 to 86dcdce Compare October 1, 2017 05:55
@xedin
Copy link
Contributor Author

xedin commented Oct 1, 2017

@swift-ci please test source compatibility

@xedin xedin force-pushed the score-disjunctions branch from 86dcdce to 4df25d3 Compare October 2, 2017 18:40
@xedin
Copy link
Contributor Author

xedin commented Nov 18, 2017

@swift-ci please test source compatibility

@xedin xedin closed this Nov 21, 2019
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.

1 participant