Trajectory Outlier Detection Library
 All Classes Functions Variables Pages
Public Member Functions | Private Attributes | Friends | List of all members
COutlier Class Reference

A trajectory outlier. More...

#include <Outlier.h>

Public Member Functions

 COutlier ()
 Constructor for 2-dimensional data, sets the outlier and trajectory IDs to -1.
 
 COutlier (int id, int trajectoryId, int nDimensions)
 Constructor. More...
 
void SetId (int id)
 Setter for the outlier ID.
 
const int GetId () const
 Getter for the outlier ID.
 
const int GetTrajectoryId () const
 Getter for the trajectory ID.
 
const int GetNOutlyingPartitions () const
 Getter for the number of outlying partitions in the outlying trajectory.
 
const vector< LineSegment > GetOutlyingPartitionArray () const
 Getter for the array of outlying partitions.
 
const float GetOutlyingRatio () const
 Getter for the ratio of outlying partition length to total length.
 
void SetupInfo (CTrajectory *pTrajectory)
 Pulls the relevant information from the trajectory into this outlier object. More...
 

Private Attributes

int m_outlierId
 
int m_nDimensions
 
int m_trajectoryId
 
int m_nOutlyingPartitions
 
vector< LineSegment > m_outlyingPartitionArray
 
float m_outlyingRatio
 
int m_nPenWidth
 

Friends

class COutlierDetector
 

Detailed Description

A trajectory outlier.

Holds information useful for working with a trajectory that is an outlier - such as the outlying partitions that are part of this trajectory

Constructor & Destructor Documentation

COutlier::COutlier ( int  id,
int  trajectoryId,
int  nDimensions 
)

Constructor.

Parameters
[in]idoutlier ID
[in]trajectoryIdtrajectory ID
[in]nDimensionsthe number of dimensions in the data

Member Function Documentation

void COutlier::SetupInfo ( CTrajectory pTrajectory)

Pulls the relevant information from the trajectory into this outlier object.

Parameters
[in]pTrajectorythe trajectory object for the outlier

The documentation for this class was generated from the following files: