Index

A B C D E F G H J L M O P R S T U V W X Y 
All Classes and Interfaces|All Packages

A

Algorithm comparison - Search tag in Overview
Section
Algorithms - Search tag in Overview
Section

B

Benchmarks - Search tag in Overview
Section
Bucket<T> - Class in com.ggalmazor.downsampling.lttb
Represents a bucket of Point points being downsampled to a single point by LTTB.
BucketizationStrategy - Enum Class in com.ggalmazor.downsampling.lttb
Selects the bucket-size strategy used to divide the input series before the LTTB triangle-selection step.
bucketize(List<T>, int, int) - Static method in class com.ggalmazor.downsampling.lttb.OnePassBucketizer
Returns buckets from input using the count-based (DYNAMIC) strategy.
bucketize(List<T>, int, int, BucketizationStrategy) - Static method in class com.ggalmazor.downsampling.lttb.OnePassBucketizer
Returns buckets from input using the specified BucketizationStrategy.
Building - Search tag in Overview
Section
Built-in point type - Search tag in Overview
Section

C

centerBetween(Point, Point) - Static method in interface com.ggalmazor.downsampling.Point
Computes the geometric center point of the segment linking the provided a and b points.
com.ggalmazor.downsampling - package com.ggalmazor.downsampling
 
com.ggalmazor.downsampling.lttb - package com.ggalmazor.downsampling.lttb
 
Contributing - Search tag in Overview
Section
Custom point types - Search tag in Overview
Section

D

DoublePoint - Record Class in com.ggalmazor.downsampling
Basic Point implementation backed by double values.
DoublePoint(double, double) - Constructor for record class com.ggalmazor.downsampling.DoublePoint
Creates an instance of a DoublePoint record class.
Download - Search tag in Overview
Section
downsampling - Search tag in Overview
Section
Downsampling - Class in com.ggalmazor.downsampling
Entry point for all downsampling algorithms provided by this library.
DYNAMIC - Enum constant in enum class com.ggalmazor.downsampling.lttb.BucketizationStrategy
Dynamic bucket size: each bucket contains an equal number of points.

E

equals(Object) - Method in record class com.ggalmazor.downsampling.DoublePoint
Indicates whether some other object is "equal to" this one.

F

FIXED - Enum constant in enum class com.ggalmazor.downsampling.lttb.BucketizationStrategy
Fixed bucket size: each bucket covers an equal x-axis span.

G

getCenter() - Method in class com.ggalmazor.downsampling.lttb.Bucket
Returns the center point of this bucket.
getEndIndex() - Method in class com.ggalmazor.downsampling.lttb.Bucket
Returns the end index (exclusive) of this bucket's points in the original input list.
getFirst() - Method in class com.ggalmazor.downsampling.lttb.Bucket
Returns the first point in this bucket.
getLast() - Method in class com.ggalmazor.downsampling.lttb.Bucket
Returns the last point in this bucket.
getResult() - Method in class com.ggalmazor.downsampling.lttb.Bucket
Returns the result point selected for this bucket.
getResult() - Method in class com.ggalmazor.downsampling.lttb.Triangle
Returns the point of the middle bucket that produces the triangle with the largest area.
getStartIndex() - Method in class com.ggalmazor.downsampling.lttb.Bucket
Returns the start index (inclusive) of this bucket's points in the original input list.
Gradle - Search tag in Overview
Section

H

hashCode() - Method in record class com.ggalmazor.downsampling.DoublePoint
Returns a hash code value for this object.

J

Java version support - Search tag in Overview
Section

L

LargestTriangleThreeBuckets - Class in com.ggalmazor.downsampling
Largest-Triangle Three-Buckets (LTTB) time-series downsampling algorithm.
lttb(List<T>, int) - Static method in class com.ggalmazor.downsampling.Downsampling
Downsamples input using the Largest-Triangle Three-Buckets algorithm with the BucketizationStrategy.DYNAMIC strategy.
lttb(List<T>, int, BucketizationStrategy) - Static method in class com.ggalmazor.downsampling.Downsampling
Downsamples input using the Largest-Triangle Three-Buckets algorithm with the specified BucketizationStrategy.
LTTB - Search tag in Overview
Section
LTTB — Largest-Triangle Three-Buckets - Search tag in Overview
Section

M

Maven - Search tag in Overview
Section
Migrating from 17.x to 21.x (and later) - Search tag in Overview
Section

O

of(Number, Number) - Static method in record class com.ggalmazor.downsampling.DoublePoint
Utility factory for DoublePoint that accepts abstract Number values.
of(List<Bucket<U>>, int) - Static method in class com.ggalmazor.downsampling.lttb.Triangle
Factory to build an instance of Triangle from a list of buckets at a given offset.
of(List<U>, int, int) - Static method in class com.ggalmazor.downsampling.lttb.Bucket
Utility factory that takes a sublist view and its absolute indices in the original input.
of(U, int) - Static method in class com.ggalmazor.downsampling.lttb.Bucket
Utility factory that returns a Bucket with a single Point point.
OnePassBucketizer - Class in com.ggalmazor.downsampling.lttb
Utility class that divides the input list of Point points into Bucket buckets as required by the LTTB algorithm.

P

PerceptuallyImportantPoints - Class in com.ggalmazor.downsampling
Perceptually Important Points (PIP) time-series downsampling algorithm.
pip(List<T>, int) - Static method in class com.ggalmazor.downsampling.Downsampling
Downsamples input using the Perceptually Important Points algorithm.
PIP - Search tag in Overview
Section
PIP — Perceptually Important Points - Search tag in Overview
Section
Point - Interface in com.ggalmazor.downsampling
Defines the properties of two-dimensional points that can be processed by downsampling algorithms in this library.
points() - Method in class com.ggalmazor.downsampling.lttb.Bucket
Returns a read-only view of the points in this bucket.

R

RamerDouglasPeucker - Class in com.ggalmazor.downsampling
Ramer-Douglas-Peucker (RDP) time-series downsampling algorithm.
rdp(List<T>, double) - Static method in class com.ggalmazor.downsampling.Downsampling
Downsamples input using the Ramer-Douglas-Peucker algorithm.
RDP - Search tag in Overview
Section
RDP — Ramer-Douglas-Peucker - Search tag in Overview
Section

S

select(List<U>, int) - Static method in class com.ggalmazor.downsampling.PerceptuallyImportantPoints
Returns a downsampled version of the provided sorted input list with exactly targetSize points (or all points if targetSize >= input.size()).
simplify(List<U>, double) - Static method in class com.ggalmazor.downsampling.RamerDouglasPeucker
Returns a simplified version of the provided sorted input list.
sorted(List<U>, int) - Static method in class com.ggalmazor.downsampling.LargestTriangleThreeBuckets
Returns a downsampled version of the provided input list using the DYNAMIC strategy.
sorted(List<U>, int, int) - Static method in class com.ggalmazor.downsampling.LargestTriangleThreeBuckets
Returns a downsampled version of the provided input list using the DYNAMIC strategy.
sorted(List<U>, int, int, BucketizationStrategy) - Static method in class com.ggalmazor.downsampling.LargestTriangleThreeBuckets
Returns a downsampled version of the provided input list using the specified BucketizationStrategy.
sorted(List<U>, int, BucketizationStrategy) - Static method in class com.ggalmazor.downsampling.LargestTriangleThreeBuckets
Returns a downsampled version of the provided input list using the specified BucketizationStrategy.

T

toString() - Method in record class com.ggalmazor.downsampling.DoublePoint
Returns a string representation of this record class.
Triangle<T> - Class in com.ggalmazor.downsampling.lttb
Represents the maximum-area triangle defined by three consecutive Bucket buckets.

U

Usage - Search tag in Overview
Section

V

valueOf(String) - Static method in enum class com.ggalmazor.downsampling.lttb.BucketizationStrategy
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.ggalmazor.downsampling.lttb.BucketizationStrategy
Returns an array containing the constants of this enum class, in the order they are declared.

W

When to choose each algorithm - Search tag in Overview
Section

X

x() - Method in record class com.ggalmazor.downsampling.DoublePoint
Returns the value of the x record component.
x() - Method in interface com.ggalmazor.downsampling.Point
Returns the x (horizontal / time) value of this point.

Y

y() - Method in record class com.ggalmazor.downsampling.DoublePoint
Returns the value of the y record component.
y() - Method in interface com.ggalmazor.downsampling.Point
Returns the y (vertical / value) value of this point.
A B C D E F G H J L M O P R S T U V W X Y 
All Classes and Interfaces|All Packages