about convert adjacency_matrix into common boost matrix

Hi, I am a newbie of boost. Could I ask one question that how to convert BGL adjacency_matrix object into common matrix (http://www.boost.org/doc/libs/1_37_0/libs/numeric/ublas/doc/matrix.htm)? I am sorry that if the question is too simple. I have looked around but did not find a answer. Thank you very much in advance. Sincerely yours, Wang

AMDG Peng Wang wrote:
I am a newbie of boost. Could I ask one question that how to convert BGL adjacency_matrix object into common matrix (http://www.boost.org/doc/libs/1_37_0/libs/numeric/ublas/doc/matrix.htm)? I am sorry that if the question is too simple. I have looked around but did not find a answer.
I presume that you want a 1 where there is an edge an a 0 otherwise?
#include
participants (2)
-
Peng Wang
-
Steven Watanabe