1ba44500a099bbee6982773b558bc20d4609a4d5
[mussa.git] / py / nway_paths.cpp
1 #include <boost/python.hpp>
2 namespace py = boost::python;
3
4 #include "alg/nway_paths.hpp"
5
6 void export_nway_paths()
7 {
8   py::class_<NwayPaths>("NwayPaths")
9     .add_property("pathz", py::range(&NwayPaths::pbegin, &NwayPaths::pend))
10     .add_property("refinedPathz", py::range(&NwayPaths::rpbegin, &NwayPaths::rpend)) ;
11 }
12