hungarian C++ adaptation of Cyril Stachniss's libhungarian: http://www2.informatik.uni-freiburg.de/~stachnis/misc.html.