Uses of Class
org.apache.pinot.segment.local.utils.nativefst.automaton.Automaton
-
Packages that use Automaton Package Description org.apache.pinot.segment.local.utils.nativefst.automaton -
-
Uses of Automaton in org.apache.pinot.segment.local.utils.nativefst.automaton
Methods in org.apache.pinot.segment.local.utils.nativefst.automaton that return Automaton Modifier and Type Method Description AutomatonAutomaton. clone()Returns a clone of this automaton.AutomatonAutomaton. complement()static AutomatonBasicOperations. complement(Automaton a)Returns a (deterministic) automaton that accepts the complement of the language of the given automaton.static AutomatonSpecialOperations. compress(Automaton a, String set, char c)Returns an automaton that accepts the compressed language of the given automaton.static AutomatonBasicOperations. concatenate(List<Automaton> l)Returns an automaton that accepts the concatenation of the languages of the given automata.AutomatonAutomatonProvider. getAutomaton(String name)Returns automaton of the given name.AutomatonAutomaton. intersection(Automaton a)static AutomatonBasicOperations. intersection(Automaton a1, Automaton a2)Returns an automaton that accepts the intersection of the languages of the given automata.static AutomatonBasicAutomata. makeAnyChar()Returns a new (deterministic) automaton that accepts any single character.static AutomatonBasicAutomata. makeAnyString()Returns a new (deterministic) automaton that accepts all strings.static AutomatonBasicAutomata. makeChar(char c)Returns a new (deterministic) automaton that accepts a single character of the given value.static AutomatonBasicAutomata. makeCharRange(char min, char max)Returns a new (deterministic) automaton that accepts a single char whose value is in the given interval (including both end points).static AutomatonBasicAutomata. makeEmpty()Returns a new (deterministic) automaton with the empty language.static AutomatonBasicAutomata. makeEmptyString()Returns a new (deterministic) automaton that accepts only the empty string.static AutomatonBasicAutomata. makeInterval(int min, int max, int digits)Returns a new automaton that accepts strings representing decimal non-negative integers in the given interval.static AutomatonBasicAutomata. makeString(String s)Returns a new (deterministic) automaton that accepts the single given string.static AutomatonAutomaton. minimize(Automaton a)AutomatonAutomaton. minus(Automaton a)static AutomatonBasicOperations. minus(Automaton a1, Automaton a2)Returns a (deterministic) automaton that accepts the intersection of the language ofa1and the complement of the language ofa2.AutomatonAutomaton. optional()static AutomatonBasicOperations. optional(Automaton a)Returns an automaton that accepts the union of the empty string and the language of the given automaton.static AutomatonSpecialOperations. overlap(Automaton a1, Automaton a2)Returns an automaton that accepts the overlap of strings that in more than one way can be split into a left part being accepted bya1and a right part being accepted bya2.AutomatonAutomaton. repeat()AutomatonAutomaton. repeat(int min)AutomatonAutomaton. repeat(int min, int max)static AutomatonBasicOperations. repeat(Automaton a)Returns an automaton that accepts the Kleene star (zero or more concatenated repetitions) of the language of the given automaton.static AutomatonBasicOperations. repeat(Automaton a, int min)Returns an automaton that acceptsminor more concatenated repetitions of the language of the given automaton.static AutomatonBasicOperations. repeat(Automaton a, int min, int max)Returns an automaton that accepts betweenminandmax(including both) concatenated repetitions of the language of the given automaton.static AutomatonSpecialOperations. subst(Automaton a, char c, String s)Returns an automaton where all transitions of the given char are replaced by a string.static AutomatonSpecialOperations. subst(Automaton a, Map<Character,Set<Character>> map)Returns an automaton where all transition labels have been substituted.AutomatonRegExp. toAutomaton()Constructs newAutomatonfrom thisRegExp.static AutomatonSpecialOperations. trim(Automaton a, String set, char c)Returns an automaton that accepts the trimmed language of the given automaton.static AutomatonBasicOperations. union(Collection<Automaton> l)Returns an automaton that accepts the union of the languages of the given automata.static AutomatonBasicOperations. union(Automaton a1, Automaton a2)Returns an automaton that accepts the union of the languages of the given automata.Methods in org.apache.pinot.segment.local.utils.nativefst.automaton with parameters of type Automaton Modifier and Type Method Description static voidBasicOperations. addEpsilons(Automaton a, Collection<StatePair> pairs)Adds epsilon transitions to the given automaton.static AutomatonBasicOperations. complement(Automaton a)Returns a (deterministic) automaton that accepts the complement of the language of the given automaton.static AutomatonSpecialOperations. compress(Automaton a, String set, char c)Returns an automaton that accepts the compressed language of the given automaton.static voidBasicOperations. determinize(Automaton a)Determinizes the given automaton.static StringSpecialOperations. getCommonPrefix(Automaton a)Returns the longest string that is a prefix of all accepted strings and visits each state at most once.AutomatonAutomaton. intersection(Automaton a)static AutomatonBasicOperations. intersection(Automaton a1, Automaton a2)Returns an automaton that accepts the intersection of the languages of the given automata.static booleanBasicOperations. isEmpty(Automaton a)Returns true if the given automaton accepts no strings.static booleanBasicOperations. isEmptyString(Automaton a)Returns true if the given automaton accepts the empty string and nothing else.static booleanSpecialOperations. isFinite(Automaton a)Returns true if the language of this automaton is finite.static AutomatonAutomaton. minimize(Automaton a)static voidMinimizationOperations. minimize(Automaton a)Minimizes (and determinizes if not already deterministic) the given automaton.static voidMinimizationOperations. minimizeBrzozowski(Automaton a)Minimizes the given automaton using Brzozowski's algorithm.static voidMinimizationOperations. minimizeHopcroft(Automaton a)Minimizes the given automaton using Hopcroft's algorithm.static voidMinimizationOperations. minimizeHuffman(Automaton a)Minimizes the given automaton using Huffman's algorithm.static voidMinimizationOperations. minimizeValmari(Automaton automaton)Minimizes the given automaton using Valmari's algorithm.AutomatonAutomaton. minus(Automaton a)static AutomatonBasicOperations. minus(Automaton a1, Automaton a2)Returns a (deterministic) automaton that accepts the intersection of the language ofa1and the complement of the language ofa2.static AutomatonBasicOperations. optional(Automaton a)Returns an automaton that accepts the union of the empty string and the language of the given automaton.static AutomatonSpecialOperations. overlap(Automaton a1, Automaton a2)Returns an automaton that accepts the overlap of strings that in more than one way can be split into a left part being accepted bya1and a right part being accepted bya2.static AutomatonBasicOperations. repeat(Automaton a)Returns an automaton that accepts the Kleene star (zero or more concatenated repetitions) of the language of the given automaton.static AutomatonBasicOperations. repeat(Automaton a, int min)Returns an automaton that acceptsminor more concatenated repetitions of the language of the given automaton.static AutomatonBasicOperations. repeat(Automaton a, int min, int max)Returns an automaton that accepts betweenminandmax(including both) concatenated repetitions of the language of the given automaton.static Set<State>SpecialOperations. reverse(Automaton a)Reverses the language of the given (non-singleton) automaton while returning the set of new initial states.static booleanBasicOperations. run(Automaton a, String s)Returns true if the given string is accepted by the automaton.booleanAutomaton. subsetOf(Automaton a)static booleanBasicOperations. subsetOf(Automaton a1, Automaton a2)Returns true if the language ofa1is a subset of the language ofa2.static AutomatonSpecialOperations. subst(Automaton a, char c, String s)Returns an automaton where all transitions of the given char are replaced by a string.static AutomatonSpecialOperations. subst(Automaton a, Map<Character,Set<Character>> map)Returns an automaton where all transition labels have been substituted.static AutomatonSpecialOperations. trim(Automaton a, String set, char c)Returns an automaton that accepts the trimmed language of the given automaton.static AutomatonBasicOperations. union(Automaton a1, Automaton a2)Returns an automaton that accepts the union of the languages of the given automata.Method parameters in org.apache.pinot.segment.local.utils.nativefst.automaton with type arguments of type Automaton Modifier and Type Method Description static AutomatonBasicOperations. concatenate(List<Automaton> l)Returns an automaton that accepts the concatenation of the languages of the given automata.static AutomatonBasicOperations. union(Collection<Automaton> l)Returns an automaton that accepts the union of the languages of the given automata.Constructors in org.apache.pinot.segment.local.utils.nativefst.automaton with parameters of type Automaton Constructor Description CharacterRunAutomaton(Automaton a)Constructor specifying determinizeWorkLimit.RunAutomaton(Automaton a)Constructs a newRunAutomatonfrom a deterministicAutomaton.RunAutomaton(Automaton a, boolean tableize)Constructs a newRunAutomatonfrom a deterministicAutomaton.
-