Thanks Massimo, I have fixed the documentation for vertex.connectivity in the 
development version. 

Best,-- 
T.


On Thursday, 15 March 2012 at 10:55, Massimo Franceschet wrote:

> The R igraph help for vertex.connectivity claims that "The maximum number of 
> vertex disjoint paths between two vertices is the same as their vertex 
> connectivity". However, this is true only if the two vertices are not linked 
> by an edge. Here is a short example:
> 
> > g = graph(c(0,1), dir=FALSE)
> > g
> 
> 
> Vertices: 2 
> Edges: 1 
> Directed: FALSE 
> Edges:
> e 
> e [0] 0 -- 1
> 
> > vertex.connectivity(g, 0, 1)
> Errore in vertex.connectivity(g, 0, 1) : 
> At flow.c:994 : vertices connected, Invalid value
> 
> > vertex.disjoint.paths(g, 0, 1)
> [1] 1
> 
> 
> 
> _______________________________________________
> igraph-help mailing list
> [email protected] (mailto:[email protected])
> https://lists.nongnu.org/mailman/listinfo/igraph-help




_______________________________________________
igraph-help mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to