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

Revise issubset code and generalize to LazySet #3154

Merged
merged 2 commits into from
Oct 29, 2022
Merged

Conversation

schillic
Copy link
Member

@schillic schillic commented Oct 28, 2022

Closes #1856.

The main code changes are:

  • _issubset_in_hyperrectangle now does not require interval_hull anymore (and is also more efficient)
  • I inlined the _default_issubset function because it was only used by one method.
  • I used some approximate equality checks.
  • I fixed a crash in ⊆(::LazySet, ::UnionSetArray).

The second commit adds is_polyhedral for Bloating to make an old test pass.

@schillic schillic force-pushed the schillic/issubset branch 4 times, most recently from 8934e0c to 3791570 Compare October 29, 2022 07:57
@schillic schillic marked this pull request as ready for review October 29, 2022 09:23
@schillic schillic requested a review from mforets October 29, 2022 09:23
@schillic schillic merged commit b1821e3 into master Oct 29, 2022
@schillic schillic deleted the schillic/issubset branch October 29, 2022 15:10
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.

Restrict generic inclusion between line segment and lazy sets to convex type
2 participants