Mercurial Hosting > traffic-intelligence
comparison include/Motion.hpp @ 391:03dbecd3a887
modified feature grouping to return vectors of pointers to feature trajectories
author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
---|---|
date | Thu, 25 Jul 2013 18:58:55 -0400 |
parents | cc8e54997d4c |
children | c389fae9689a |
comparison
equal
deleted
inserted
replaced
389:6d26dcc7bba0 | 391:03dbecd3a887 |
---|---|
114 /// Computes the connected components: features have to be older than lastInstant | 114 /// Computes the connected components: features have to be older than lastInstant |
115 void connectedComponents(const unsigned int& lastInstant); | 115 void connectedComponents(const unsigned int& lastInstant); |
116 | 116 |
117 /** Performs some checks on groups of features and return their lists of ids if correct | 117 /** Performs some checks on groups of features and return their lists of ids if correct |
118 Removes the vertices from the graph */ | 118 Removes the vertices from the graph */ |
119 std::vector<std::vector<unsigned int> > getFeatureGroups(void); | 119 void getFeatureGroups(std::vector<std::vector<FeatureTrajectoryPtr> >& featureGroups); |
120 | 120 |
121 std::string informationString(void) const; | 121 std::string informationString(void) const; |
122 | 122 |
123 int getNVertices(void) const; | 123 int getNVertices(void) const; |
124 int getNEdges(void) const; | 124 int getNEdges(void) const; |