igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] vertex.disjoint.paths and vertex.connectivity


From: Tamás Nepusz
Subject: Re: [igraph] vertex.disjoint.paths and vertex.connectivity
Date: Sun, 18 Mar 2012 19:39:43 +0100

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
> address@hidden (mailto:address@hidden)
> https://lists.nongnu.org/mailman/listinfo/igraph-help






reply via email to

[Prev in Thread] Current Thread [Next in Thread]