Boost logo

Boost :

From: jsiek_at_[hidden]
Date: 1999-12-11 20:08:55


jsiek_at_[hidden] writes:
> jsiek_at_[hidden] writes:
> > AdjacencyMatrix: refines both VertexListGraph and EdgeListGraph
> > bool flag = has_edge(v,v,g)
> > e = edge(v,v,g)
> >
>
> another option is to not have the has_edge() function, and
> have a special value of edge descriptor for non-existent
> edges.

But probably the best option of all is:

pair<bool,E> fe = edge(v,v,g)


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk