Class SeriesWarpInfo
- java.lang.Object
-
- edu.gsu.cs.dmlab.distance.dtw.datatypes.SeriesWarpInfo
-
- All Implemented Interfaces:
IAlignmentInfo
public class SeriesWarpInfo extends Object implements IAlignmentInfo
- Author:
- Thomas Abeel, Stan Salvador, stansalvador@hotmail.com, refactored by Dustin Kempton, Data Mining Lab, Georgia State University
-
-
Constructor Summary
Constructors Constructor Description SeriesWarpInfo(double dist, IAlignmentPath wp)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getDistance()
Method that returns the distance of the alignment path stored in this info object.IAlignmentPath
getPath()
Method that returns the alignment path for a pair of time series
-
-
-
Constructor Detail
-
SeriesWarpInfo
public SeriesWarpInfo(double dist, IAlignmentPath wp)
Constructor- Parameters:
dist
- The sum of the distance between each of the point mappings in the pathwp
- The point mappings between two input point series
-
-
Method Detail
-
getDistance
public double getDistance()
Description copied from interface:IAlignmentInfo
Method that returns the distance of the alignment path stored in this info object.- Specified by:
getDistance
in interfaceIAlignmentInfo
- Returns:
- The distance for the path contained in this object
-
getPath
public IAlignmentPath getPath()
Description copied from interface:IAlignmentInfo
Method that returns the alignment path for a pair of time series- Specified by:
getPath
in interfaceIAlignmentInfo
- Returns:
- The alignment path for a pair of time series
-
-