-
Notifications
You must be signed in to change notification settings - Fork 72
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
Constant DC verification #510
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
cee6cc2
to
02b27b6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
02b27b6
to
5e7dbbc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
ebd4eae
to
deaa199
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
a90e568
to
3d0b351
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
ce333d9
to
9e2a146
Compare
Now it is possible to pass an option that tells the algorithm whether to collect violations or not.
9e2a146
to
f805864
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
|
||
std::string ToString() const { | ||
std::ostringstream ss; | ||
static char constexpr const open[]{'(', '['}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: invalid case style for static constant 'open' [readability-identifier-naming]
static char constexpr const open[]{'(', '['}; | |
static char constexpr const kOpen[]{'(', '['}; |
src/core/util/kdtree.h:80:
- ss << open[lower_bound_type_[i]] << lower_bound_[i].ToString() << ", ";
+ ss << kOpen[lower_bound_type_[i]] << lower_bound_[i].ToString() << ", ";
std::string ToString() const { | ||
std::ostringstream ss; | ||
static char constexpr const open[]{'(', '['}; | ||
static char constexpr const closed[]{')', ']'}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: invalid case style for static constant 'closed' [readability-identifier-naming]
static char constexpr const closed[]{')', ']'}; | |
static char constexpr const kClosed[]{')', ']'}; |
src/core/util/kdtree.h:81:
- ss << upper_bound_[i].ToString() << closed[upper_bound_type_[i]] << '\n';
+ ss << upper_bound_[i].ToString() << kClosed[upper_bound_type_[i]] << '\n';
Add DC verification with constant predicactes, add violations highlights and minimization algorithm