#8953: Perfect graph recognition algorithm
-----------------------------+----------------------------------------------
Reporter: ncohen | Owner: jason, ncohen, rlm
Type: enhancement | Status: needs_work
Priority: minor | Milestone: sage-4.5
Component: graph theory | Keywords:
Author: Nathann Cohen | Upstream: N/A
Reviewer: Robert Miller | Merged:
Work_issues: |
-----------------------------+----------------------------------------------
Changes (by rlm):
* status: positive_review => needs_work
* reviewer: => Robert Miller
Comment:
After sage-4.5.alpha1 is released, this will lead to a failed doctest:
{{{
**********************************************************************
File "/scratch/rlmill/release/sage-4.5.alpha1/devel/sage-
main/sage/graphs/graph.py", line 1629:
sage: g.is_perfect()
Exception raised:
Traceback (most recent call last):
File
"/scratch/rlmill/release/sage-4.5.alpha1/local/bin/ncadoctest.py", line
1231, in run_one_test
self.run_one_example(test, example, filename, compileflags)
File
"/scratch/rlmill/release/sage-4.5.alpha1/local/bin/sagedoctest.py", line
38, in run_one_example
OrigDocTestRunner.run_one_example(self, test, example, filename,
compileflags)
File
"/scratch/rlmill/release/sage-4.5.alpha1/local/bin/ncadoctest.py", line
1172, in run_one_example
compileflags, 1) in test.globs
File "<doctest __main__.example_11[5]>", line 1, in <module>
g.is_perfect()###line 1629:
sage: g.is_perfect()
File "/scratch/rlmill/release/sage-4.5.alpha1/local/lib/python/site-
packages/sage/graphs/graph.py", line 1702, in is_perfect
counter_example = self.subgraph_search(graphs.CycleGraph(i),
induced = True).complement()
AttributeError: 'NoneType' object has no attribute 'complement'
**********************************************************************
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8953#comment:10>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.