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

Add validation function #759

Open
schillic opened this issue Oct 10, 2018 · 1 comment
Open

Add validation function #759

schillic opened this issue Oct 10, 2018 · 1 comment
Labels
feature ➕ A new feature usability 🖱️ Simplifies the usage or interface

Comments

@schillic
Copy link
Member

Add a function validate(X::LazySet) that takes a set and validates if the set is correctly constructed according to internal assumptions. For instance, the constraints of a HPolygon should be sorted, or an HPolytope should be bounded. (For many set types, this would just be the constant function true.)

@schillic schillic added feature ➕ A new feature usability 🖱️ Simplifies the usage or interface labels Oct 10, 2018
@schillic schillic mentioned this issue Jan 11, 2019
@mforets
Copy link
Member

mforets commented Jan 16, 2019

Otherwise it could be validate(X::LazySet, f::Function), for example validate(X, isbounded) to really check that the set is bounded. Consider for example this use case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature ➕ A new feature usability 🖱️ Simplifies the usage or interface
Projects
None yet
Development

No branches or pull requests

2 participants