|
From: | Szabolcs Horvát |
Subject: | Re: [igraph] making sense of is_separator() |
Date: | Wed, 31 Aug 2016 16:31:54 +0200 |
Hello,What is the reasoning for the following behaviours of the is_separator() function?This makes sense to me:graph: 1 - 2 - 3vertex set: {2}result: trueRemoving 2 does disconnect the graph.graph: 1 - 2 - 3vertex set: {3}result: falseRemoving 3 doesn't.graph: 1 - 2 - 3 - 4vertex set: {1, 4}result: falseRemoving 1 and 4 doesn't.graph: 1 - 2vertex set: {}result: falseRemoving nothing does not disconnect it.graph: 1, 2 (disconnected)vertex set: {}result: trueMakes sense because the graph was already disconnectedBut I am puzzled by these:graph: 1 - 2 - 3vertex set: {1,3}result: truegraph: 1 - 2vertex set: {1}result: trueRemoving these does not disconnect the graph, it merely leaves a 1-node graph behind.Why is the result then true?Szabolcs
[Prev in Thread] | Current Thread | [Next in Thread] |