6 #include "Trajectory.h"
13 typedef pair<CMDPoint,CMDPoint> LineSegment;
26 COutlier(
int id,
int trajectoryId,
int nDimensions);
32 int m_nOutlyingPartitions;
33 vector <LineSegment> m_outlyingPartitionArray;
34 float m_outlyingRatio;
37 void SetId(
int id) { m_outlierId = id; }
39 const int GetId()
const {
return m_outlierId; }
void SetId(int id)
Setter for the outlier ID.
Definition: Outlier.h:37
const int GetTrajectoryId() const
Getter for the trajectory ID.
Definition: Outlier.h:41
A trajectory outlier.
Definition: Outlier.h:21
const int GetNOutlyingPartitions() const
Getter for the number of outlying partitions in the outlying trajectory.
Definition: Outlier.h:43
A high-level class to perform the outlier detection.
Definition: OutlierDetector.h:26
The main storage for information about a trajectory.
Definition: Trajectory.h:28
const float GetOutlyingRatio() const
Getter for the ratio of outlying partition length to total length.
Definition: Outlier.h:47
const int GetId() const
Getter for the outlier ID.
Definition: Outlier.h:39
const vector< LineSegment > GetOutlyingPartitionArray() const
Getter for the array of outlying partitions.
Definition: Outlier.h:45