19#include <cudf/column/column.hpp>
20#include <cudf/column/column_view.hpp>
21#include <cudf/table/table.hpp>
22#include <cudf/types.hpp>
24#include <rmm/mr/device/per_device_resource.hpp>
25#include <rmm/resource_ref.hpp>
62 cudf::column_view
const& object_id,
63 cudf::column_view
const& x,
64 cudf::column_view
const& y,
65 cudf::column_view
const& timestamp,
66 rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
94 cudf::size_type num_trajectories,
95 cudf::column_view
const& object_id,
96 cudf::column_view
const& x,
97 cudf::column_view
const& y,
98 cudf::column_view
const& timestamp,
99 rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
127 cudf::size_type num_trajectories,
128 cudf::column_view
const& object_id,
129 cudf::column_view
const& x,
130 cudf::column_view
const& y,
131 rmm::device_async_resource_ref mr = rmm::mr::get_current_device_resource());
std::unique_ptr< cudf::table > trajectory_bounding_boxes(cudf::size_type num_trajectories, cudf::column_view const &object_id, cudf::column_view const &x, cudf::column_view const &y, rmm::device_async_resource_ref mr=rmm::mr::get_current_device_resource())
Compute the spatial bounding boxes of trajectories. Groups the x, y, and timestamp columns by object ...
std::unique_ptr< rmm::device_uvector< OffsetType > > derive_trajectories(IdInputIt ids_first, IdInputIt ids_last, PointInputIt points_first, TimestampInputIt timestamps_first, IdOutputIt ids_output_first, PointOutputIt points_output_first, TimestampOutputIt timestamps_output_first, rmm::cuda_stream_view stream=rmm::cuda_stream_default, rmm::device_async_resource_ref mr=rmm::mr::get_current_device_resource())
Derive trajectories from object ids, points, and timestamps.
OutputIt trajectory_distances_and_speeds(IndexT num_trajectories, IdInputIt ids_first, IdInputIt ids_last, PointInputIt points_first, TimestampInputIt timestamps_first, OutputIt distances_and_speeds_first, rmm::cuda_stream_view stream=rmm::cuda_stream_default)
Compute the total distance (in meters) and average speed (in m/s) of objects in trajectories.