1 #ifndef FEATUREVECTOR_H_
2 #define FEATUREVECTOR_H_
14 #include "simulator.h"
37 static unsigned int NUMBER_OF_FEATURES;
38 static unsigned int NUMBER_OF_FEATURE_VECTORS;
39 static double FEATURE_RANGE;
41 virtual unsigned int GetValue()
const;
42 virtual unsigned int GetLength()
const;
44 void PrintFeatureDetails();
46 virtual unsigned int SimulationStep();
48 virtual std::string ToString();
55 virtual void ComputeFeatureValues();
58 unsigned int m_unValue;
59 unsigned int m_unLength;
61 float* m_pfFeatureValues;
62 int* m_piLastOccuranceEvent;
63 int* m_piLastOccuranceNegEvent;
65 int m_iEventSelectionTimeWindow;
67 double m_fVelocityThreshold;
68 double m_fAccelerationThreshold;
70 double m_tAngularVelocityThreshold;
71 double m_tAngularAccelerationThreshold;
73 double m_fRelativeVelocityMagThreshold;
74 double m_fRelativeVelocityDirThreshold;
80 unsigned int m_unNbrsCurrQueueIndex;
82 unsigned int m_unSumTimeStepsNbrsRange0to3;
83 unsigned int m_unSumTimeStepsNbrsRange3to6;
85 unsigned int* m_punNbrsRange0to3AtTimeStep;
86 unsigned int* m_punNbrsRange3to6AtTimeStep;
91 int m_iDistTravelledTimeWindow;
93 unsigned int m_unCoordCurrQueueIndex;
95 double m_fSquaredDistTravelled;
96 double m_fSquaredDistThreshold;