[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[igraph] Understanding the output of stMinCuts
From: |
Tom Wright |
Subject: |
[igraph] Understanding the output of stMinCuts |
Date: |
Tue, 03 Jun 2014 13:02:39 -0400 |
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
Rplots.png
Description: PNG image
- [igraph] Understanding the output of stMinCuts,
Tom Wright <=