Relative Content

Tag Archive for boostboost-graphboost-property-map

How to make a simple ColorMap for Boost Graph Library BFS visit?

Suppose I have a 3D lattice, identify each cell with its coordinates (x,y,z), and a class Cell holds its properties. I want to use it as the vertex objects of BGL, first to construct an empty graph, then iterate each cell to insert vertexes and build edges upon some criteria among the neighborhood cells.