You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New CharBase class. This provides methods to remap alphabets.
Added CharMap#clear.
Added CharMap#filter.
Added CharMap#invert to convert CharMaps to Maps.
Added CharMap#setCharSet to more efficiently set many ranges.
Added CharSet#characters to iterate over all characters in a set.
Added CharSet#toRangesString to print only the ranges of a set.
Added CharSet.fromCharacters to create a set from a collection of characters.
FAIterators.shortestAcceptingPath returns the shortest accepting path of arbitrary iterators.
FAIterators.shortestWordSet returns the shortest accepted word set of an iterator.
FAIterators.makeInitialFinal and FAIterators.makeInitialNonFinal changes whether the initial state is also a final state.
FAIterators.approximateRejectingWordSet tries to find a rejected word set.
FAIterators.makeDeterministic builds a deterministic version of an iterator. This is a general DFA construction.
Words.wordSetsToWords converts a collections of word sets into a collection of words.
Changed
refa is now allowed to assume all given Chars and CharRanges conform to the guarantees given by the interface. This includes guarantees that cannot be verified at compile time (e.g. min <= max for CharRange).
Words.pickMostReadableWord will now always return a word.
{DFA,ENFA,NFA}#{isDisjointWith,getIntersectionWords,getIntersectionWordSets} are now deprecated and will be removed in future releases.
Words.wordSetToWords is now deprecated. Use Words.wordSetsToWords instead (mind the s).
Fixed
ReadonlyCharMap#isEmpty is now a readonly property.