@@ -186,14 +186,11 @@ PYBIND11_MODULE(_simulation_abm, m)
186186 pymio::bind_Range<decltype (std::declval<const mio::abm::Model>().get_persons ())>(m, " _ModelPersonsRange" );
187187
188188 pymio::bind_class<mio::abm::Trip, pymio::EnablePickling::Never>(m, " Trip" )
189- .def (py::init<uint64_t , mio::abm::TimePoint, mio::abm::LocationId, mio::abm::LocationId, mio::abm::LocationType,
190- std::vector<uint32_t >>(),
191- py::arg (" person_id" ), py::arg (" time" ), py::arg (" destination" ), py::arg (" origin" ),
192- py::arg (" type_of_activity" ), py::arg (" cells" ) = std::vector<uint32_t >())
189+ .def (py::init<uint64_t , mio::abm::TimePoint, mio::abm::LocationId>, py::arg (" person_id" ), py::arg (" time" ),
190+ py::arg (" destination" ))
193191 .def_readwrite (" person_id" , &mio::abm::Trip::person_id)
194- .def_readwrite (" trip_time" , &mio::abm::Trip::time)
195- .def_readwrite (" destination" , &mio::abm::Trip::destination)
196- .def_readwrite (" cells" , &mio::abm::Trip::cells);
192+ .def_readwrite (" trip_time" , &mio::abm::Trip::trip_time)
193+ .def_readwrite (" destination" , &mio::abm::Trip::destination);
197194
198195 pymio::bind_class<mio::abm::TripList, pymio::EnablePickling::Never>(m, " TripList" )
199196 .def (py::init<>())
0 commit comments