Opened 8 years ago

Closed 8 years ago

#16425 closed enhancement (fixed)

FiniteStateMachine.relabeled: allow user to specify labels.

Reported by: cheuberg Owned by:
Priority: minor Milestone: sage-6.3
Component: finite state machines Keywords: finite_state_machine
Cc: dkrenn, skropf Merged in:
Authors: Clemens Heuberger Reviewers: Sara Kropf
Report Upstream: N/A Work issues:
Branch: 3160e57 (Commits, GitHub, GitLab) Commit: 3160e5766505ecd393bb221de9a0520b147365f3
Dependencies: Stopgaps:

Status badges


Previously, FiniteStateMachine.relabeled always relabeled the states with integers starting at 0. A new parameter labels (a callable or a dict) is introduced mapping old labels to new labels.

Change History (4)

comment:1 Changed 8 years ago by cheuberg

  • Status changed from new to needs_review

comment:2 Changed 8 years ago by cheuberg

  • Type changed from PLEASE CHANGE to enhancement

comment:3 Changed 8 years ago by skropf

  • Reviewers set to Sara Kropf
  • Status changed from needs_review to positive_review

I check the changes and they look fine. I give it a positive review.

Last edited 8 years ago by skropf (previous) (diff)

comment:4 Changed 8 years ago by vbraun

  • Branch changed from u/cheuberg/fsm/relabeled-dict-callable to 3160e5766505ecd393bb221de9a0520b147365f3
  • Resolution set to fixed
  • Status changed from positive_review to closed
Note: See TracTickets for help on using tickets.