15 Apr
2015
15 Apr
'15
7:01 a.m.
On 15.04.2015 01:14, François Kawala wrote:
About your comment on line 196 (which probably also applies to lines 238 and 274), what is proper way to receive a set from python ?
You have to expose the class to Python using boost::python: http://www.boost.org/doc/libs/1_57_0/libs/python/doc/tutorial/doc/html/pytho... However, in this case a much more straightforward approach is to receive any python iterable (a generic boost::python::object in C++), and convert it to an unordered_set<> in C++, before the algorithm is run. Best, Tiago -- Tiago de Paula Peixoto <tiago@skewed.de>