Opened 8 years ago
Closed 8 years ago
#16674 closed enhancement (fixed)
add is_monochromatic to finite state machines
Reported by:  dkrenn  Owned by:  

Priority:  major  Milestone:  sage6.3 
Component:  finite state machines  Keywords:  colors, states 
Cc:  cheuberg, skropf  Merged in:  
Authors:  Daniel Krenn  Reviewers:  Clemens Heuberger 
Report Upstream:  N/A  Work issues:  
Branch:  1d730fe (Commits, GitHub, GitLab)  Commit:  1d730fe460b78dae0c9c14531148ee0f1d52eb25 
Dependencies:  #16675  Stopgaps: 
Description
Adds a function which tests if all states have the same color.
Change History (6)
comment:1 Changed 8 years ago by
 Dependencies set to #16675
comment:2 Changed 8 years ago by
 Branch set to u/dkrenn/fsm/is_monochromatic
comment:3 Changed 8 years ago by
 Commit set to 04579f393d5706a61fc96444525fc9827c6a55e0
 Status changed from new to needs_review
comment:4 Changed 8 years ago by
 Branch changed from u/dkrenn/fsm/is_monochromatic to u/cheuberg/fsm/is_monochromatic
comment:5 Changed 8 years ago by
 Commit changed from 04579f393d5706a61fc96444525fc9827c6a55e0 to 1d730fe460b78dae0c9c14531148ee0f1d52eb25
 Reviewers set to Clemens Heuberger
 Status changed from needs_review to positive_review
Merged dependency #16675 again in order to avoid merge conflict later onat least, trac's automerge should be happier now.
Last 10 new commits:
865b386  Extend Transducer.cartesian_product to products of more than two machines

45aa114  one spacing, one ``...`` in docu

390cd59  added function check_equal

cc772e4  added another doctest (check length of elements)

a12bf3c  renamed check_equal to equal

4e4801e  used equal in existing code (1 occurrence found, maybe there are more)

04579f3  added is_monochromatic

77f3804  Minor rewording in docstring

063fb45  Merge remotetracking branch 'aau/fsm/processrefusenondeterministic' (#16539) into t/16675/fsm/check_equal

1d730fe  Merge branch 'u/cheuberg/fsm/check_equal' of trac.sagemath.org:sage into t/16674/fsm/is_monochromatic

comment:6 Changed 8 years ago by
 Branch changed from u/cheuberg/fsm/is_monochromatic to 1d730fe460b78dae0c9c14531148ee0f1d52eb25
 Resolution set to fixed
 Status changed from positive_review to closed
Note: See
TracTickets for help on using
tickets.
New commits:
Extend finite_state_machine.product_FiniteStateMachine to products of more than two machines
Code cleanup in FiniteStateMachine.product_FiniteStateMachine
Extend Transducer.cartesian_product to products of more than two machines
one spacing, one ``...`` in docu
added function check_equal
added another doctest (check length of elements)
renamed check_equal to equal
used equal in existing code (1 occurrence found, maybe there are more)
added is_monochromatic