40 vector <CMDPoint> m_pointArray;
41 int m_nPartitionPoints;
42 vector <CMDPoint> m_partitionPointArray;
43 vector <int> m_partitionIndexArray;
44 vector <PartitionInfo> m_partitionInfoArray;
45 float m_totalPartitionLength;
46 float m_outlyingPartitionLength;
47 int m_nOutlyingPartitions;
48 vector <int> m_outlyingPartitionArray;
50 bool m_containOutlier;
52 void SetId(
int id) { m_trajectoryId = id; }
53 const int GetId()
const {
return m_trajectoryId; }
56 m_partitionPointArray.push_back(point);
57 m_partitionIndexArray.push_back(index);
62 void SetLength(
float length) { m_totalPartitionLength = length; }
64 const float GetLength()
const {
return m_totalPartitionLength; }
76 void AddOutlyingPartition(
int index) { m_outlyingPartitionArray.push_back(index); m_nOutlyingPartitions++; }
79 pair<CMDPoint*,CMDPoint*> GetOutlyingPartition(
int nth);
A simple point class.
Definition: MDPoint.h:10
const vector< CMDPoint > GetPartitionPointArray() const
Getter for partition point array.
Definition: Trajectory.h:74
void AddPartitionPointToArray(CMDPoint point, int index)
Add a point to the array of partition points.
Definition: Trajectory.h:55
const float GetOutlyingLength() const
Getter for outlying partition length.
Definition: Trajectory.h:68
const int GetId() const
Return the trajectory id of this trajectory.
Definition: Trajectory.h:53
Information required to derive the lower and upper bounds for optimized partition pruning...
Definition: Trajectory.h:16
A high-level class to perform the outlier detection.
Definition: OutlierDetector.h:26
void SetLength(float length)
Setter for total partition length.
Definition: Trajectory.h:62
The main storage for information about a trajectory.
Definition: Trajectory.h:28
void SetOutlyingLength(float length)
Setter for outlying partition length.
Definition: Trajectory.h:66
const int GetNumOutlyingPartition() const
Getter for number of outlying partitions.
Definition: Trajectory.h:70
void AddOutlyingPartition(int index)
Add an outlying partition to the array of outlying partitions.
Definition: Trajectory.h:76
void AddPointToArray(CMDPoint point)
Add a CMDPoint point to the array of trajectory points.
Definition: Trajectory.h:54
Handles partition outlier computation.
Definition: DistanceOutlier.h:33
void StorePartitionInfo(PartitionInfo info)
Add the PartitionInfo object info to the array of partition information.
Definition: Trajectory.h:60
const float GetLength() const
Getter for total partition length.
Definition: Trajectory.h:64
const vector< CMDPoint > GetPointArray() const
Getter for trajectory point array.
Definition: Trajectory.h:72
void SetId(int id)
Set the trajectory id of this trajectory.
Definition: Trajectory.h:52