Package elki.timeseries
Class ChangePoints
- java.lang.Object
-
- elki.timeseries.ChangePoints
-
- All Implemented Interfaces:
TextWriteable
public class ChangePoints extends java.lang.Object implements TextWriteable
Change point detection result Used by change or trend detection algorithms TODO: we need access to the data labels / timestamp information!- Since:
- 0.7.5
- Author:
- Sebastian Rühl, Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.util.List<ChangePoint>changepointsChange points.
-
Constructor Summary
Constructors Constructor Description ChangePoints()Result constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(DBIDRef iter, int column, double score)Add a change point to the result.voidwriteToText(TextWriterStream out, java.lang.String label)Write self to the givenTextWriterStream
-
-
-
Field Detail
-
changepoints
java.util.List<ChangePoint> changepoints
Change points.
-
-
Method Detail
-
writeToText
public void writeToText(TextWriterStream out, java.lang.String label)
Description copied from interface:TextWriteableWrite self to the givenTextWriterStream- Specified by:
writeToTextin interfaceTextWriteable- Parameters:
out- Output writerlabel- Label
-
add
public void add(DBIDRef iter, int column, double score)
Add a change point to the result.- Parameters:
iter- Time referencecolumn- Columnscore- Score
-
-