Boost logo

Boost Users :

Subject: [Boost-users] Boost Graph Adjacency matrix to boost uBLAS integer matrix
From: Masanao Yajima (yajiyajijp_at_[hidden])
Date: 2010-11-14 20:06:19


Hi List

I am wondering if there is any function that I can use to
extract the actual adjacency matrix (square 0/1 matrix) from
adjacency_matrix graph object and convert it into uBLAS integer matrix.

I can create an zero matrix, and then get the edge list from the graph and
go through it one by one to form such a matrix.
But if anyone know any better way around, I would appreciate your input.

Thank you.

Masanao



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net