Vladimir Prus wrote:
Peter Aronsson wrote:
Actually, I now found that the problem is when having listS as adjacency lists.
Yes, when you have vecS for vertex storage, the vertex_index_t property is automatically defined.
The same compilation error can be produced by changing vecS to listS in the dfs-example.cpp file.
Perhaps a bug?
It's more like design issue. Would be nice to have automatic vertex_index_t for listS but nobody yet implemented this, and even has not decided how this can be done.
Yes your right. I guess I have to live with your proposed solution for now. Thank you for the help. Regards Peter Aronsson -- _________________________________________________________________ / Peter Aronsson, Phd Student at PELAB (Programming Environments \ | Laboratory ) Department for Computer & Information Science | | Linköping University, Sweden | |=================================================================| | petar@ida.liu.se , phone +46 (0)13-28 1737 Room 3B:490 | \_________________________________________________________________/