Index
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
Pointpoints 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
inputusing the count-based (DYNAMIC) strategy. - bucketize(List<T>, int, int, BucketizationStrategy) - Static method in class com.ggalmazor.downsampling.lttb.OnePassBucketizer
-
Returns buckets from
inputusing the specifiedBucketizationStrategy. - 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
aandbpoints. - 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
Pointimplementation backed bydoublevalues. - DoublePoint(double, double) - Constructor for record class com.ggalmazor.downsampling.DoublePoint
-
Creates an instance of a
DoublePointrecord 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
inputusing the Largest-Triangle Three-Buckets algorithm with theBucketizationStrategy.DYNAMICstrategy. - lttb(List<T>, int, BucketizationStrategy) - Static method in class com.ggalmazor.downsampling.Downsampling
-
Downsamples
inputusing the Largest-Triangle Three-Buckets algorithm with the specifiedBucketizationStrategy. - 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
DoublePointthat accepts abstractNumbervalues. - of(List<Bucket<U>>, int) - Static method in class com.ggalmazor.downsampling.lttb.Triangle
-
Factory to build an instance of
Trianglefrom 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
- OnePassBucketizer - Class in com.ggalmazor.downsampling.lttb
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
inputusing 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
inputusing 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
inputlist with exactlytargetSizepoints (or all points iftargetSize >= input.size()). - simplify(List<U>, double) - Static method in class com.ggalmazor.downsampling.RamerDouglasPeucker
-
Returns a simplified version of the provided sorted
inputlist. - sorted(List<U>, int) - Static method in class com.ggalmazor.downsampling.LargestTriangleThreeBuckets
-
Returns a downsampled version of the provided
inputlist using the DYNAMIC strategy. - sorted(List<U>, int, int) - Static method in class com.ggalmazor.downsampling.LargestTriangleThreeBuckets
-
Returns a downsampled version of the provided
inputlist 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
inputlist using the specifiedBucketizationStrategy. - sorted(List<U>, int, BucketizationStrategy) - Static method in class com.ggalmazor.downsampling.LargestTriangleThreeBuckets
-
Returns a downsampled version of the provided
inputlist using the specifiedBucketizationStrategy.
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
Bucketbuckets.
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
xrecord 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
yrecord component. - y() - Method in interface com.ggalmazor.downsampling.Point
-
Returns the y (vertical / value) value of this point.
All Classes and Interfaces|All Packages