Example usage for Java org.apache.lucene.util.automaton Operations fields, constructors, methods, implement or subclass
The text is from its open source code.
int | DEFAULT_MAX_DETERMINIZED_STATES Default maximum number of states that Operations#determinize should create. |
Automaton | concatenate(List Returns an automaton that accepts the concatenation of the languages of the given automata. |
Automaton | concatenate(Automaton a1, Automaton a2) Returns an automaton that accepts the concatenation of the languages of the given automata. |
Automaton | intersection(Automaton a1, Automaton a2) Returns an automaton that accepts the intersection of the languages of the given automata. |
boolean | isTotal(Automaton a) Returns true if the given automaton accepts all strings. |
Automaton | minus(Automaton a1, Automaton a2, int maxDeterminizedStates) Returns a (deterministic) automaton that accepts the intersection of the language of a1 and the complement of the language of a2 . |
boolean | run(Automaton a, String s) Returns true if the given string is accepted by the automaton. |
boolean | run(Automaton a, IntsRef s) Returns true if the given string (expressed as unicode codepoints) is accepted by the automaton. |
boolean | sameLanguage(Automaton a1, Automaton a2) Returns true if these two automata accept exactly the same language. |
boolean | subsetOf(Automaton a1, Automaton a2) Returns true if the language of a1 is a subset of the language of a2 . |
Automaton | union(Collection Returns an automaton that accepts the union of the languages of the given automata. |
Automaton | union(Automaton a1, Automaton a2) Returns an automaton that accepts the union of the languages of the given automata. |