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 bucket

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

Multidimensional Tiling

Bucket Operations

  • bucketList: Return a set of buckets that cover the span or period with buckets of the same width or duration aligned with the origin

  • valueBucket: Return the start value of the bucket that contains the input number

  • spanBucket: Return the span in the bucket space that contains the input number

  • timeBucket: Return the start timestamp of the bucket that contains the input timestamp

  • periodBucket: Return a period in the bucket space that contains the input timestamp

Grid Operations

  • tileList: Return a set of tiles that covers the box with multidimensional tiles of the same size and duration

  • tile: Return the tile of the multidimensional grid that contains the value and the timestamp

Split Operations

  • valueSplit: Fragment the temporal number with respect to value buckets

  • timeSplit: Fragment the temporal value with respect to time buckets

  • valueTimeSplit: Fragment the temporal number with respect to the tiles in a value-time grid

  • spaceSplit: Fragment the temporal point with respect to tiles in a spatial grid

  • spaceTimeSplit: Fragment the temporal point with respect to tiles in a spatiotemporal grid

Aggregations

Utility Functions