igraph-help
[Top][All Lists]
Advanced

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

Re: [igraph] Understanding the output of stMinCuts


From: Gábor Csárdi
Subject: Re: [igraph] Understanding the output of stMinCuts
Date: Tue, 3 Jun 2014 21:58:25 +0200

Please provide a reproducible example. See http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example

Thanks, Gabor


On Tue, Jun 3, 2014 at 7:02 PM, Tom Wright <address@hidden> wrote:
Hi,
This is probably a gap in my knowledge but can someone please help me
understand the output I am getting from the stMincuts function?

With the example attached I don't understand why cut$cuts[[1]] is empty.

The graph I am using is pictured in the attachment, all edges to
vertices s & t have value 1, all other edges have value 1000.

Thanks,
Tom

> cut<-stMincuts(g,'s','t')
> cut
$value
[1] 5

$cuts
$cuts[[1]]
numeric(0)

$cuts[[2]]
 [1]  89  90  91  92  93  94  95  96  97  98  99 100 101 102 103


$partition1s
$partition1s[[1]]
[1] 30 24 18 12  6

$partition1s[[2]]
 [1] 30 24 18 12  6 31 29 28 27 26 25 23 22 21 20 19 17 16 15 14 13 11
10  9  8  7  5  4  3  2  1

_______________________________________________
igraph-help mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/igraph-help



reply via email to

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