adjacency_matrix BGL problem
Hi everybody, Is it posible to resize a graph with this representation?. The idea is start with an empty matrix and add vertex based on the new vertices and edges we read. That is, we read a new edge and if their vertex aren't in the graph we add them and then the edge. Is this posible in an adjacency_matrix representation??? Thanks a lot. --------------------------------- Antivirus Filtros antispam 6 MB gratis ¿Todavía no tienes un correo inteligente?
Hi everybody,
On Thu, 18 Mar 2004 10:09:39 +0100 (CET)
"Gustavo Sánchez"
Is it posible to resize a graph with this representation?.
no, you cannot add vertices to an adjacency_matrix graph. The numbers of vertices in an adjacency_matrix graph are set by the constructor. Perhaps you can use an adjacency_list graph. Heiko -- -- Jeder Mensch hat das Recht auf schlechte Laune. Man sollte das in die -- Verfassung aufnehmen. (Georges Simenon) -- Supercomputing in Magdeburg @ http://tina.nat.uni-magdeburg.de -- Heiko Bauke @ http://www.uni-magdeburg.de/bauke
participants (2)
-
Gustavo Sánchez
-
Heiko Bauke