Mercurial > hg > nsaunier > traffic-intelligence
comparison include/Motion.hpp @ 201:f7ddfc4aeb1e
added tests for graphs
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Mon, 05 Mar 2012 01:52:56 -0500 |
| parents | 0a27fa343257 |
| children | bc93e87a2108 bc4ea09b1743 |
comparison
equal
deleted
inserted
replaced
| 200:0a27fa343257 | 201:f7ddfc4aeb1e |
|---|---|
| 114 | 114 |
| 115 /// Computes the connected components: features have to be older than lastInstant | 115 /// Computes the connected components: features have to be older than lastInstant |
| 116 void connectedComponents(const int& lastInstant); | 116 void connectedComponents(const int& lastInstant); |
| 117 | 117 |
| 118 /** Performs some checks on groups of features and return their lists of ids if correct | 118 /** Performs some checks on groups of features and return their lists of ids if correct |
| 119 Removes the vertices from the graph | 119 Removes the vertices from the graph */ |
| 120 */ | |
| 121 std::vector<std::vector<unsigned int> > getFeatureGroups(void); | 120 std::vector<std::vector<unsigned int> > getFeatureGroups(void); |
| 122 | 121 |
| 123 std::string informationString(void) const; | 122 std::string informationString(void) const; |
| 124 | 123 |
| 125 int getNVertices(void) const; | 124 int getNVertices(void) const; |
