Index

B C D F G L O P R S T V 
All Classes and Interfaces|All Packages

B

Bucket<T extends Point> - 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.

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
 

D

DoublePoint - Class in com.ggalmazor.downsampling
Basic Point implementation backed by double values.
DoublePoint(double, double) - Constructor for class com.ggalmazor.downsampling.DoublePoint
Creates a new DoublePoint with the provided x and y values.
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.

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.
getX() - Method in class com.ggalmazor.downsampling.DoublePoint
 
getX() - Method in interface com.ggalmazor.downsampling.Point
Returns the x (horizontal / time) value of this point.
getY() - Method in class com.ggalmazor.downsampling.DoublePoint
 
getY() - Method in interface com.ggalmazor.downsampling.Point
Returns the y (vertical / value) value of this point.

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.

O

of(Number, Number) - Static method in 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.
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.

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 class com.ggalmazor.downsampling.DoublePoint
 
Triangle<T extends Point> - Class in com.ggalmazor.downsampling.lttb
Represents the maximum-area triangle defined by three consecutive Bucket buckets.

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.
B C D F G L O P R S T V 
All Classes and Interfaces|All Packages