summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTara Fife <fi.tara@gmail.com>2016-05-28 21:55:27 -0500
committerTara Fife <fi.tara@gmail.com>2016-05-28 21:55:27 -0500
commite5151995672638410e2da8b74b9f75a6c93628d9 (patch)
treeb8e4937be724c11f1ed7e7aeef54706a587e4dca
parentAdded the option to get a certificate to is_chordal, _is_circuit_chordal, and... (diff)
removed doctest
-rw-r--r--src/sage/matroids/matroid.pyx10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/sage/matroids/matroid.pyx b/src/sage/matroids/matroid.pyx
index d803873..91e7ca6 100644
--- a/src/sage/matroids/matroid.pyx
+++ b/src/sage/matroids/matroid.pyx
@@ -6145,14 +6145,10 @@ cdef class Matroid(SageObject):
False
sage: M._is_circuit_chordal(frozenset(['b','c','d']), certificate=True)
(False, None)
- sage: M._is_circuit_chordal(frozenset(['b','c','d']), True)
- (False, None)
sage: M._is_circuit_chordal(frozenset(['a','b','d','e']))
True
sage: M._is_circuit_chordal(frozenset(['a','b','d','e']), certificate=True)
(True, ('c', frozenset({'b', 'c', 'd'}), frozenset({'a', 'c', 'e'})))
- sage: M._is_circuit_chordal(frozenset(['a','b','d','e']), True)
- (True, ('c', frozenset({'b', 'c', 'd'}), frozenset({'a', 'c', 'e'})))
"""
cdef set X
cdef frozenset Ax, Bx
@@ -6197,14 +6193,10 @@ cdef class Matroid(SageObject):
False
sage: M.is_circuit_chordal(['b','c','d'], certificate=True)
(False, None)
- sage: M.is_circuit_chordal(['b','c','d'], True)
- (False, None)
sage: M.is_circuit_chordal(['a','b','d','e'])
True
sage: M.is_circuit_chordal(['a','b','d','e'], certificate=True)
(True, ('c', frozenset({'b', 'c', 'd'}), frozenset({'a', 'c', 'e'})))
- sage: M.is_circuit_chordal(['a','b','d','e'], True)
- (True, ('c', frozenset({'b', 'c', 'd'}), frozenset({'a', 'c', 'e'})))
"""
if not self.is_circuit(C):
raise ValueError("input C is not a circuit")
@@ -6247,8 +6239,6 @@ cdef class Matroid(SageObject):
False
sage: M.is_chordal(4, 5, certificate=True)
(False, frozenset({'a', 'b', 'e', 'f', 'g'}))
- sage: M.is_chordal(4, 5, True)
- (False, frozenset({'a', 'b', 'e', 'f', 'g'}))
"""
cdef frozenset C
if k2 is None: