Subject: | suggest get state equivalence classes |
Date: | Mon, 08 Jan 2018 17:10:23 +1100 |
To: | bug-FLAT [...] rt.cpan.org |
From: | Kevin Ryde <user42_kevin [...] yahoo.com.au> |
As an idea for a feature, it could be good to have some method returning
the state equivalences which as_min_dfa() finds.
I had a semi-manual created state machine matcher which was not minimal
and I couldn't quite tell which states were equivalent. I stuck a print
in as_min_dfa() to find out and thought its find-equivalences could be
offered separately.
Not sure exactly what form would be good to return equivalences. The
existing list of arefs of state numbers could be ok. I suppose it
depends what you might do with it. In my case it was print out the >=2
size classes.