Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost Graph some newbie questions
From: Micha³ Nowotka (mmmnow_at_[hidden])
Date: 2010-03-30 09:27:23


Thanks, you helped me o lot. Answers for questions 1,2 and 4 are clear for me.
In question 3 I don't know how to define vertex_position (what type it
has?) and how to retrieve actual vertex positions from it?

And one more question:

Given a graph of type boost::adjacency_matrix<boost::directedS> how
can I access (directly) adjacency matrix for this graph?
I suppose this graph is based on same std container. I want to use
some genetic algorithm with genetic operators that should be able to
operate directly on such container in order to (for example) flip some
items or invert random selected items.

-- 
Regards
Michał Nowotka

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