Mercurial > hg > nsaunier > traffic-intelligence
annotate .hgignore @ 190:36968a63efe1
Got the connected_components to finally work using a vecS for the vertex list in the adjacency list.
In this case, the component map is simply a vector of ints (which is the type of UndirectedGraph::vextex_descriptor (=graph_traits<FeatureGraph>::vertex_descriptor) and probably UndirectedGraph::vertices_size_type).
To use listS, I was told on the Boost mailing list:
>> If you truly need listS, you will need to create a vertex index
>> map, fill it in before you create the property map, and pass it to the
>> vector_property_map constructor (and as a type argument to that class).
It may be feasible with a component map like
shared_array_property_map< graph_traits<FeatureGraph>::vertex_descriptor, property_map<FeatureGraph, vertex_index_t>::const_type > components(num_vertices(g), get(vertex_index, g));
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Wed, 07 Dec 2011 18:51:32 -0500 |
| parents | 46b166523bf8 |
| children | 4978b5baf8f1 |
| rev | line source |
|---|---|
| 1 | 1 # use glob syntax. |
| 2 syntax: glob | |
| 3 | |
|
3
ace29ecfb846
basic files and directories
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
1
diff
changeset
|
4 *.out |
| 1 | 5 *.a |
| 6 *.o | |
| 7 *.exe | |
| 8 *.pyc | |
|
65
75cf537b8d88
moved and generalized map making functions to the library
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
3
diff
changeset
|
9 *.pyo |
| 1 | 10 *~ |
| 11 *.rej | |
| 12 *.orig | |
| 13 *.bak | |
| 14 *.lock | |
| 15 *.yml | |
| 16 *.zip | |
| 17 .emacs.desktop* | |
|
120
46b166523bf8
added CMakeLists.txt for feature-based-tracking
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
65
diff
changeset
|
18 |
|
46b166523bf8
added CMakeLists.txt for feature-based-tracking
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
65
diff
changeset
|
19 CMakeCache.txt |
|
46b166523bf8
added CMakeLists.txt for feature-based-tracking
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
65
diff
changeset
|
20 *.cmake |
|
46b166523bf8
added CMakeLists.txt for feature-based-tracking
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
65
diff
changeset
|
21 |
| 1 | 22 latex |
| 23 html | |
| 24 bin | |
|
120
46b166523bf8
added CMakeLists.txt for feature-based-tracking
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
65
diff
changeset
|
25 build |
|
46b166523bf8
added CMakeLists.txt for feature-based-tracking
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
65
diff
changeset
|
26 CMakeFiles |
