|
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
line:
> 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),
eag);
if (edge_added)
{
put(e_type, edge, 0);
put(e_weight, edge, 3);
put(e_x, edge, 1.0);
}
HTH
Cromwell Enage
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
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