MCPcopy Create free account

hub / github.com/cs-au-dk/dk.brics.automaton / functions

Functions324 in github.com/cs-au-dk/dk.brics.automaton

↓ 1 callersMethodprojectChars
Returns an automaton with projected alphabet. The new automaton accepts all strings that are projections of strings accepted by the given automaton on
src/dk/brics/automaton/SpecialOperations.java:365
↓ 1 callersMethodreferenceEquals
Compare two lists of objects for reference-equality.
src/dk/brics/automaton/StringUnionOperations.java:215
↓ 1 callersMethodreplaceLastChild
Replace the last added outgoing transition's target state with the given state.
src/dk/brics/automaton/StringUnionOperations.java:188
↓ 1 callersMethodreplaceWhitespace
Constructs automaton that accepts 0x20, 0x9, 0xa, and 0xd in place of each 0x20 transition in the given automaton. @param a automaton @return automato
src/dk/brics/automaton/SpecialOperations.java:592
↓ 1 callersMethodrun
See {@link BasicOperations#run(Automaton, String)}.
src/dk/brics/automaton/Automaton.java:957
↓ 1 callersMethodsetAlphabet
Sets alphabet table for optimal run performance.
src/dk/brics/automaton/RunAutomaton.java:59
↓ 1 callersMethodsetDeterministic
Sets deterministic flag for this automaton. This method should (only) be used if automata are constructed manually. @param deterministic true if the a
src/dk/brics/automaton/Automaton.java:247
↓ 1 callersMethodsetPrevious
Copy <code>current</code> into an internal buffer.
src/dk/brics/automaton/StringUnionOperations.java:322
↓ 1 callersMethodshuffle
Returns an automaton that accepts the shuffle (interleaving) of the languages of the given automata. As a side-effect, both automata are determinized,
src/dk/brics/automaton/ShuffleOperations.java:59
↓ 1 callersMethodshuffleSubsetOf
Returns a string that is an interleaving of strings that are accepted by <code>ca</code> but not by <code>a</code>. If no such string exists, null is
src/dk/brics/automaton/ShuffleOperations.java:117
↓ 1 callersMethodsingleChars
Returns an automaton that accepts the single chars that occur in strings that are accepted by the given automaton. Never modifies the input automaton.
src/dk/brics/automaton/SpecialOperations.java:104
↓ 1 callersMethodsplitTransitions
(Set<State> states)
src/dk/brics/automaton/MinimizationOperations.java:487
↓ 1 callersMethodstatesAgree
(Transition[][] transitions, boolean[][] mark, int n1, int n2)
src/dk/brics/automaton/MinimizationOperations.java:71
↓ 1 callersMethodstore
(String name, Automaton a)
src/dk/brics/automaton/Datatypes.java:494
↓ 1 callersMethodstore
Writes this <code>MatchOnlyRunAutomaton</code> to the given stream. @param stream output stream for serialized automaton @exception IOException if inp
src/dk/brics/automaton/MatchOnlyRunAutomaton.java:122
↓ 1 callersMethodsubsetOf
Returns true if the language of <code>a1</code> is a subset of the language of <code>a2</code>. As a side-effect, <code>a2</code> is determinized if n
src/dk/brics/automaton/BasicOperations.java:342
↓ 1 callersMethodtoStringBuilder
(StringBuilder b)
src/dk/brics/automaton/RegExp.java:423
↓ 1 callersMethodtransition
For normal operation, simply return the transitioned to state. If the transition is to an accepted state and an override value is provided, then retur
src/dk/brics/automaton/RunAutomaton.java:250
↓ 1 callersMethodtrim
Returns an automaton that accepts the trimmed language of the given automaton. The resulting automaton is constructed as follows: 1) Whenever a <code>
src/dk/brics/automaton/SpecialOperations.java:132
MethodAutomaton
Constructs a new automaton that accepts the empty language. Using this constructor, automata can be constructed manually from {@link State} and {@link
src/dk/brics/automaton/Automaton.java:139
MethodAutomatonMatcher
(final CharSequence chars, final RunAutomaton automaton)
src/dk/brics/automaton/AutomatonMatcher.java:44
MethodBasicAutomata
()
src/dk/brics/automaton/BasicAutomata.java:43
MethodBasicOperations
()
src/dk/brics/automaton/BasicOperations.java:47
MethodDatatypes
()
src/dk/brics/automaton/Datatypes.java:241
MethodDatatypesAutomatonProvider
Constructs a new automaton provider that recognizes all names from {@link Datatypes#get(String)}.
src/dk/brics/automaton/DatatypesAutomatonProvider.java:43
MethodIntPair
(int n1, int n2)
src/dk/brics/automaton/MinimizationOperations.java:523
MethodLabelComparator
(IntPair[] labels)
src/dk/brics/automaton/MinimizationOperations.java:644
MethodMatchOnlyRunAutomaton
(final Automaton a)
src/dk/brics/automaton/MatchOnlyRunAutomaton.java:29
MethodMinimizationOperations
()
src/dk/brics/automaton/MinimizationOperations.java:46
MethodPartition
(int size)
src/dk/brics/automaton/MinimizationOperations.java:586
MethodRegExp
()
src/dk/brics/automaton/RegExp.java:180
MethodRunAutomaton
()
src/dk/brics/automaton/RunAutomaton.java:140
MethodShuffleConfiguration
()
src/dk/brics/automaton/ShuffleOperations.java:276
MethodShuffleOperations
()
src/dk/brics/automaton/ShuffleOperations.java:46
MethodSpecialOperations
()
src/dk/brics/automaton/SpecialOperations.java:44
MethodState
Constructs a new state. Initially, the new state is a reject state.
src/dk/brics/automaton/State.java:58
MethodStateListNode
(State q, StateList sl)
src/dk/brics/automaton/MinimizationOperations.java:548
MethodStatePair
(State s, State s1, State s2)
src/dk/brics/automaton/StatePair.java:41
MethodTransition
Constructs a new singleton interval transition. @param c transition character @param to destination state
src/dk/brics/automaton/Transition.java:59
MethodTransitionComparator
(boolean to_first)
src/dk/brics/automaton/TransitionComparator.java:41
Methodboolean_matches_as_expected
(final int posStart, final int posEnd, final RegExp regex, final String input)
test/java/dk/brics/automaton/RunAutomatonTest.java:19
Methodclone
Clones this transition. @return clone with same character interval and destination state
src/dk/brics/automaton/Transition.java:126
Methodcompare
(Integer i, Integer j)
src/dk/brics/automaton/MinimizationOperations.java:648
Methodcompare
Compares by (min, reverse max, to) or (to, min, reverse max).
src/dk/brics/automaton/TransitionComparator.java:48
Methodcompress
See {@link SpecialOperations#compress(Automaton, String, char)}.
src/dk/brics/automaton/Automaton.java:1001
Methodend
Returns the offset after the last character matched. @return The offset after the last character matched. @throws IllegalStateException if there has
src/dk/brics/automaton/AutomatonMatcher.java:149
Methodequals
Checks for equality. @param obj object to compare with @return true if <code>obj</code> represents the same pair of states as this pair
src/dk/brics/automaton/StatePair.java:78
Methodequals
(Object obj)
src/dk/brics/automaton/ShuffleOperations.java:311
Methodequals
Checks for equality. @param obj object to compare with @return true if <code>obj</code> is a transition with same character interval and desti
src/dk/brics/automaton/Transition.java:103
Methodequals
Returns true if the language of this automaton is equal to the language of the given automaton. Implemented using <code>hashCode</code> and <code>subs
src/dk/brics/automaton/Automaton.java:529
Methodequals
Two states are equal if: <ul> <li>they have an identical number of outgoing transitions, labeled with the same labels</li> <li>corresponding outgoing
src/dk/brics/automaton/StringUnionOperations.java:100
Methodexists
Checks whether a given automaton is available. @param name automaton name @return true if the automaton is available
src/dk/brics/automaton/Datatypes.java:470
MethodgetAllowMutate
Returns the state of the allow mutate flag. If this flag is set, then all automata operations may modify automata given as input; otherwise, operation
src/dk/brics/automaton/Automaton.java:191
MethodgetAutomaton
(String name)
src/dk/brics/automaton/DatatypesAutomatonProvider.java:60
MethodgetCharIntervals
Returns array of character class interval start points. The array should not be modified by the caller.
src/dk/brics/automaton/RunAutomaton.java:129
MethodgetCommonPrefix
See {@link SpecialOperations#getCommonPrefix(Automaton)}.
src/dk/brics/automaton/Automaton.java:1064
MethodgetFiniteStrings
See {@link SpecialOperations#getFiniteStrings(Automaton)}.
src/dk/brics/automaton/Automaton.java:1050
MethodgetFirstState
Returns first component of this pair. @return first state
src/dk/brics/automaton/StatePair.java:61
MethodgetIdentifiers
Returns set of automaton identifiers that occur in this regular expression.
src/dk/brics/automaton/RegExp.java:522
MethodgetInfo
Returns extra information associated with this automaton. @return extra information @see #setInfo(Object)
src/dk/brics/automaton/Automaton.java:264
MethodgetInitialState
Returns initial state.
src/dk/brics/automaton/RunAutomaton.java:121
MethodgetMax
Returns maximum of this transition interval.
src/dk/brics/automaton/Transition.java:88
MethodgetMin
Returns minimum of this transition interval.
src/dk/brics/automaton/Transition.java:83
MethodgetSecondState
Returns second component of this pair. @return second state
src/dk/brics/automaton/StatePair.java:69
MethodgetShortestExample
See {@link BasicOperations#getShortestExample(Automaton, boolean)}.
src/dk/brics/automaton/Automaton.java:950
MethodgetSingleton
Returns the singleton string for this automaton. An automaton that accepts exactly one string <i>may</i> be represented in singleton mode. In that cas
src/dk/brics/automaton/Automaton.java:210
MethodgetSize
Returns number of states in automaton.
src/dk/brics/automaton/RunAutomaton.java:107
MethodgetStates
Returns an array of outgoing transitions from this state. The returned array must not be changed.
src/dk/brics/automaton/StringUnionOperations.java:87
MethodgetStrings
See {@link SpecialOperations#getStrings(Automaton, int)}.
src/dk/brics/automaton/Automaton.java:1043
MethodgetTransitionLabels
Returns an array of outgoing transition labels. The array is sorted in lexicographic order and indexes correspond to states returned from {@link #getS
src/dk/brics/automaton/StringUnionOperations.java:79
Methodgroup
Returns the subsequence of the input found by the previous match. @return The subsequence of the input found by the previous match. @throws IllegalSt
src/dk/brics/automaton/AutomatonMatcher.java:181
MethodgroupCount
Returns the number of capturing groups in the underlying automaton. <br> Note that because the automaton does not support capturing groups this method
src/dk/brics/automaton/AutomatonMatcher.java:215
Methodhandles_invalid_inputs
()
test/java/dk/brics/automaton/MatchOnlyRunAutomatonTest.java:56
MethodhashCode
Returns hash code. @return hash code
src/dk/brics/automaton/StatePair.java:92
MethodhashCode
Returns hash code. The hash code is based on the character interval (not the destination state). @return hash code
src/dk/brics/automaton/Transition.java:117
MethodhashCode
Compute the hash code of the <i>current</i> status of this state.
src/dk/brics/automaton/StringUnionOperations.java:126
MethodhashCode
See {@link java.lang.Object#hashCode()}.
src/dk/brics/automaton/State.java:187
MethodhexCases
See {@link SpecialOperations#hexCases(Automaton)}.
src/dk/brics/automaton/Automaton.java:1078
Methodhomomorph
See {@link SpecialOperations#homomorph(Automaton, char[], char[])}.
src/dk/brics/automaton/Automaton.java:1022
MethodisAccept
Returns acceptance status for given state.
src/dk/brics/automaton/RunAutomaton.java:114
MethodisEmptyString
See {@link BasicOperations#isEmptyString(Automaton)}.
src/dk/brics/automaton/Automaton.java:929
MethodisFinal
Is this state a final state in the automaton?
src/dk/brics/automaton/StringUnionOperations.java:119
MethodisFinite
See {@link SpecialOperations#isFinite(Automaton)}.
src/dk/brics/automaton/Automaton.java:1036
MethodisTotal
See {@link BasicOperations#isTotal(Automaton)}.
src/dk/brics/automaton/Automaton.java:943
Methodload
Retrieves a serialized <code>RunAutomaton</code> located by a URL. @param url URL of serialized automaton @exception IOException if input/output relat
src/dk/brics/automaton/RunAutomaton.java:159
Methodmain
Invoke during compilation to pre-build automata. Automata are stored in the directory specified by the system property <code>dk.brics.automaton.dataty
src/dk/brics/automaton/Datatypes.java:248
MethodmakeAnyChar
See {@link BasicAutomata#makeAnyChar()}.
src/dk/brics/automaton/Automaton.java:733
MethodmakeAnyString
See {@link BasicAutomata#makeAnyString()}.
src/dk/brics/automaton/Automaton.java:726
MethodmakeDecimalValue
See {@link BasicAutomata#makeDecimalValue(String)}.
src/dk/brics/automaton/Automaton.java:817
MethodmakeEmpty
See {@link BasicAutomata#makeEmpty()}.
src/dk/brics/automaton/Automaton.java:712
MethodmakeEmptyString
See {@link BasicAutomata#makeEmptyString()}.
src/dk/brics/automaton/Automaton.java:719
MethodmakeFractionDigits
See {@link BasicAutomata#makeFractionDigits(int)}.
src/dk/brics/automaton/Automaton.java:803
MethodmakeIntegerValue
See {@link BasicAutomata#makeIntegerValue(String)}.
src/dk/brics/automaton/Automaton.java:810
MethodmakeInterval
See {@link BasicAutomata#makeInterval(int, int, int)}.
src/dk/brics/automaton/Automaton.java:761
MethodmakeMinInteger
See {@link BasicAutomata#makeMinInteger(String)}.
src/dk/brics/automaton/Automaton.java:789
MethodmakeStringMatcher
See {@link BasicAutomata#makeStringMatcher(String)}.
src/dk/brics/automaton/Automaton.java:824
MethodmakeStringUnion
See {@link BasicAutomata#makeStringUnion(CharSequence...)}.
src/dk/brics/automaton/Automaton.java:775
MethodmakeTotalDigits
See {@link BasicAutomata#makeTotalDigits(int)}.
src/dk/brics/automaton/Automaton.java:796
Methodmatches_substring_as_expected
(final int posStart, final int posEnd, final RegExp regex, final String input)
test/java/dk/brics/automaton/MatchOnlyRunAutomatonTest.java:28
Methodoverlap
See {@link SpecialOperations#overlap(Automaton, Automaton)}.
src/dk/brics/automaton/Automaton.java:980
← previousnext →201–300 of 324, ranked by callers