#15078: new module: finite state machines, automata, transducers
-------------------------------------------------+-------------------------
Reporter: dkrenn | Owner:
Type: enhancement | Status:
Priority: major | needs_review
Component: combinatorics | Milestone: sage-5.12
Keywords: finite state machines, | Resolution:
automaton, transducer | Merged in:
Authors: Clemens Heuberger, Daniel | Reviewers:
Krenn, Sara Kropf | Work issues:
Report Upstream: N/A | Commit:
Branch: | Stopgaps:
Dependencies: |
-------------------------------------------------+-------------------------
Comment (by vbraun):
INPUT/OUTPUT needs to be documented in every method (see developer manual)
Are you sure you need `FSMProcessIterator` in the global namespace?
Similarly, instead of `FSMstate` and `FSMtransition`, which are useless by
themselves, just do
{{{
sage: fsm = FiniteStateMachine()
sage: day = fsm.add_state('day')
sage: night = fsm.add_state('night')
sage: sunrise = fsm.add_transition(night, day)
}}}
in addition to
{{{
sage: sunrise = fsm.add_transition('night', 'day')
}}}
Also, instead of reinventing the mutability wheel there is
`sage.structure.mutability.Mutability` to inherit from.
--
Ticket URL: <http://trac.sagemath.org/ticket/15078#comment:9>
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/groups/opt_out.