#17532: Convexity properties on graphs works incorrectly
----------------------------+----------------------------
Reporter: azi | Owner:
Type: defect | Status: new
Priority: critical | Milestone: sage-6.5
Component: graph theory | Keywords:
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
----------------------------+----------------------------
Hello!
It appears that the convexity properties module gives incorrect results.
The hull (geodetic) number of the Petersen graph is 4 while Sage says it
is 3.
{{{
sage: G.convexity_properties().hull_number(value_only=false)
[4, 7, 8]
sage: G.convexity_properties().hull([4,7,8])
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
}}}
I have implemented a corrected version of the hull number algorithm that I
believe to be faster as well. I'd suggest we make these two function part
of the graph class instead of having a separate convexity module.
What do you guys think?
--
Ticket URL: <http://trac.sagemath.org/ticket/17532>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.