Closed AlexanderFabisch closed 6 years ago
yes, under the hood the graph is a whale that needs to breath occasionally. You should call this method before performing longer searches. Otherwise the whale might drown while searching.
That makes sense. :) Reminds me of The Beast Below.
seriously though, I dont know if we can rename the method. It might be used in a lot of places?
We could rename the method and add an deprecated alias with the old name
That's what I would suggest. Probably there is some C++ magic to generate compiler warnings if the old method is used and you can print some runtime warning.
[[deprecated]] is available in c++14. can we bump envire to c++14? :)
gcc/clang have __attribute__((deprecated))
. MSVC has __declspec(deprecated)
. These are the alternatives EIGEN_DEPRECATED
currently evaluates to.
EIGEN_DEPRECATED
sounds good
There is a function called breathFirstSearch() (d is missing). Seems like the graph is drowning? :)