Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
skramm committed Jul 1, 2023
1 parent e95f1d0 commit 7970872
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,11 @@ As an example, say you have a raw cycle expressed as
You can use whatever edge and vertices types, the coloring needed by the algorithm is handled by providing color maps as external properties.
So if you have no special needs on vertices and edge properties, you can use something as trivial as this:
```C++
typedef boost::adjacency_list<
using graph_t = boost::adjacency_list<
boost::vecS,
boost::vecS,
boost::undirectedS
> graph_t;
>;
```
But you can also have some user properties, defines as bundled properties. For example:
```C++
Expand All @@ -177,11 +177,11 @@ struct my_Edge
```
Then your graph type definition will become:
```C++
typedef boost::adjacency_list<
using graph_t = boost::adjacency_list<
boost::vecS, // edge container
boost::vecS, // vertex container
boost::undirectedS, // type of graph
my_Vertex, // vertex type
my_Edge
> graph_t;
>;
```
1 change: 1 addition & 0 deletions udgcd.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ edge: 0 0 0 0 1 1 1 2 2 3
--------------------------------------
vector: 0 0 0 0 0 1 1 0 0 1
\endverbatim
Each edge part of the path has a '1' at the corresponding potential edge. In this case, edges 1-3, 1-4 and 3-4.
*/
typedef boost::dynamic_bitset<> BinaryVec;

Expand Down

0 comments on commit 7970872

Please sign in to comment.