about summary refs log tree commit diff
path: root/sourcecodes/bnt-master/graph/Old/dsep_test.m
diff options
context:
space:
mode:
Diffstat (limited to 'sourcecodes/bnt-master/graph/Old/dsep_test.m')
-rw-r--r--sourcecodes/bnt-master/graph/Old/dsep_test.m15
1 files changed, 15 insertions, 0 deletions
diff --git a/sourcecodes/bnt-master/graph/Old/dsep_test.m b/sourcecodes/bnt-master/graph/Old/dsep_test.m
new file mode 100644
index 00000000..f0f14638
--- /dev/null
+++ b/sourcecodes/bnt-master/graph/Old/dsep_test.m
@@ -0,0 +1,15 @@
+
+% Cowell et al p72
+G = zeros(10);
+G(1,2)=1;
+G(2,3)=1;
+G(3,7)=1;
+G(4,[5 8])=1;
+G(5,6)=1;
+G(6,7)=1;
+G(7,[9 10])=1;
+G(8,9)=1;
+
+dsep(1, 4, [5 7], G)
+dsep(1, 4, [7], G)
+dsep(1, 4, [10 5], G)