#7364: Implement eulerian orientation of a graph
----------------------------+-----------------------------------------------
Reporter: ncohen | Owner: rlm
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.2.1
Component: graph theory | Keywords:
Work_issues: | Author:
Reviewer: | Merged:
----------------------------+-----------------------------------------------
Changes (by ncohen):
* status: new => needs_review
Old description:
> Implement a method in Graph returning a DiGraph which corresponds to an
> eulerian orientation of the graph.
>
> An eulerian orientation of an eulerian graph is an orientation such that
> {{{
> d^{+} = d^{-} = d/2
> }}}
> for any vertex.
>
> If the graph is not eulerian, this method should return a DiGraph such
> that
> {{{
> d^{+} + d^{-} = d
> }}}
> and
> {{{
> | d^{+} - d^{-} | <= 1
> }}}
>
> Nathann
New description:
Implements Graph.eulerian_orientation which returns a DiGraph
corresponding to an eulerian orientation of the graph :
An eulerian orientation of an eulerian graph is an orientation such that
{{{
d^{+} = d^{-} = d/2
}}}
for any vertex.
If the graph is not eulerian, this method returns a DiGraph such that
{{{
d^{+} + d^{-} = d
}}}
and
{{{
| d^{+} - d^{-} | <= 1
}}}
Nathann
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7364#comment:4>
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
-~----------~----~----~----~------~----~------~--~---