-
Notifications
You must be signed in to change notification settings - Fork 21
Unify naming of operations in nfa.hh #172
Copy link
Copy link
Open
Labels
For:libraryThe issue is related to library (c++ implementation)The issue is related to library (c++ implementation)Module:nfaThe issue is related to Nondeterministic Finite AutomataThe issue is related to Nondeterministic Finite AutomataPriority:normalWork on this sooner rather than later.Work on this sooner rather than later.Type:suggestionA suggestion for feature/change that is not necessary at this momentA suggestion for feature/change that is not necessary at this moment
Metadata
Metadata
Assignees
Labels
For:libraryThe issue is related to library (c++ implementation)The issue is related to library (c++ implementation)Module:nfaThe issue is related to Nondeterministic Finite AutomataThe issue is related to Nondeterministic Finite AutomataPriority:normalWork on this sooner rather than later.Work on this sooner rather than later.Type:suggestionA suggestion for feature/change that is not necessary at this momentA suggestion for feature/change that is not necessary at this moment
There are a few functions, such as
Nfa::determinize()which operate on automata passed as a parameter and return a new automaton. There are also method, usually calledNfa::Nfa::get_..._automaton()orNfa::Nfa::get_..._words, etc., e.g.,Nfa::Nfa::get_one_letter_automaton(), which operate on the underlying automaton object and return a new automaton. Finally, there are methods which operate on the underlying automaton object and perform the operation in place (for example,Nfa::Nfa::trim()).We should agree on whether we want to try to unify these variants, or when each variant can be used.