Operations for Temporal Types: Analytics Operations

Simplification

Reduction

  • tsample: Sample a temporal value with respect to an interval

  • tprecision: Reduce the temporal precision of a temporal value with respect to an interval computing the time-weighted average/centroid in each time bin

Similarity

  • hausdorffDistance: Return the discrete Hausdorff distance between two temporal values

  • frechetDistance: Return the discrete Fréchet distance between two temporal values

  • frechetDistancePath: Return the correspondence pairs between two temporal values with respect to the discrete Fréchet distance

  • dynTimeWarpDistance: Return the Dynamic Time Warp distance between two temporal values

  • dynTimeWarpPath: Return the correspondence pairs between two temporal values with respect to the Dynamic Time Warp distance

Bounding Box Splitting

  • splitNSpans: Return an array of N time spans obtained by merging the instants or segments of a temporal value

  • splitEachNSpans: Return an array of time spans obtained by merging N consecutive instants or segments of a temporal value

  • splitNTboxes: Return an array of N temporal boxes obtained by merging the instants or segments of a temporal number

  • splitEachNTboxes: Return an array of temporal boxes obtained by merging N consecutive instants or segments of a temporal number

  • splitNStboxes: Return either an array of N spatial boxes obtained by merging the segments of a (multi)line or an array of N spatiotemporal boxes obtained by merging the instants or segments of a temporal point

  • splitEachNStboxes: Return either an array of spatial boxes obtained by merging N consecutive segments of a (multi)line or an array of spatiotemporal boxes obtained by merging N consecutive instants or segments of a temporal point

Multidimensional Tiling

Bin Operations

  • bins: Return a set of bins that cover a value or time span with bins of the same width or duration

  • getBin: Return the bin that contains a number or a timestamp

Tile Operations

Bounding Box Operations

  • timeSpans: Return an array of time spans obtained from the instants or segments of a temporal value with respect to a time grid

  • valueSpans: Return an array of value spans obtained from the instants or segments of a temporal number with respect to a value grid

  • valueBoxes, timeBoxes, valueTimeBoxes: Return an array of temporal boxes obtained from the instants or segments of a temporal number with respect to a value and/or time grid

  • spaceBoxes, timeBoxes, spaceTimeBoxes: Return an array of spatiotemporal boxes obtained from the instants or segments of a temporal point with respect to a space and/or time grid

Split Operations

  • valueSplit: Split a temporal number with respect to value bins

  • timeSplit: Split a temporal value with respect to time bins

  • valueTimeSplit: Split a temporal number with respect to a value and time grid

  • spaceSplit: Split a temporal point with respect to a spatial grid

  • spaceTimeSplit: Split a temporal point with respect to a spatiotemporal grid

Aggregations

Utility Operations