Boost logo

Boost Users :

From: Cromwell Enage (sponage_at_[hidden])
Date: 2004-08-11 14:08:32

Hello, Ambichl.

     Looks like you'll have to change the following

> add_edge(vertex(0,eag), vertex(1,eag),
> EdgeProperty(0,3,1.0), eag);

     to the following code:

        edge_descriptor edge;
        bool edge_added;

        tie(edge, edge_added) =
          add_edge(vertex(0, eag), vertex(1, eag),
        if (edge_added)
            put(e_type, edge, 0);
            put(e_weight, edge, 3);
            put(e_x, edge, 1.0);

                              Cromwell Enage

Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at