#15849: Default ordering of States and Transitions in FiniteStateMachine
-------------------------------------+-------------------------------------
Reporter: cheuberg | Owner:
Type: enhancement | Status: needs_review
Priority: minor | Milestone: sage-6.2
Component: combinatorics | Resolution:
Keywords: | Merged in:
finite_state_machine | Reviewers:
Authors: Clemens | Work issues:
Heuberger, Daniel Krenn | Commit:
Report Upstream: N/A | 9af0b91992bf0ff267a2c8c684b1f79b456f4a1e
Branch: u/cheuberg/fsm | Stopgaps:
/default-order-states-transitions |
Dependencies: |
-------------------------------------+-------------------------------------
Changes (by {'newvalue': u'Clemens Heuberger, Daniel Krenn', 'oldvalue':
u'Clemens Heuberger'}):
* status: new => needs_review
* author: Clemens Heuberger => Clemens Heuberger, Daniel Krenn
* cc: dkrenn (added)
* branch: => u/cheuberg/fsm/default-order-states-transitions
* commit: => 9af0b91992bf0ff267a2c8c684b1f79b456f4a1e
Old description:
> Provide methods
> {{{sage.combinat.finite_state_machine.FSMState.__lt__}}}
> and
> {{{sage.combinat.finite_state_machine.FSMTransition.__lt__}}}
> in order to have default ordering. For instance, this helps enforcing a
> unique output in
> doctests.
>
> I am preparing a patch and will push it in a few days.
New description:
Provided methods
{{{sage.combinat.finite_state_machine.FSMState.__lt__}}}
and
{{{sage.combinat.finite_state_machine.FSMTransition.__lt__}}}
in order to have default ordering. For instance, this helps enforcing a
unique output in
doctests.
--
Comment:
New commits:
||[http://git.sagemath.org/sage.git/commit/?id=a232e7c71a8ec4093d3786e0902817d684239e41
a232e7c]||{{{implemented FSMTransition.__lt__ and FSMState.__lt__}}}||
||[http://git.sagemath.org/sage.git/commit/?id=345c1843df37e7f8affb6c0c13f438d4e28cc1cd
345c184]||{{{rewrote docstring of .__lt__ in FSMState/FSMTransition;
corrected spacings}}}||
||[http://git.sagemath.org/sage.git/commit/?id=fa01ea3c758b860ee7ab55caab8427b2b1994122
fa01ea3]||{{{added one spaceing (PEP8)}}}||
||[http://git.sagemath.org/sage.git/commit/?id=9af0b91992bf0ff267a2c8c684b1f79b456f4a1e
9af0b91]||{{{Whitespace correction in FSMTransition.__lt__}}}||
--
Ticket URL: <http://trac.sagemath.org/ticket/15849#comment:2>
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.