public class BricsNFA extends AbstractBricsAutomaton implements NFA<State,Character>
NFA.
 
 This adapter is backed by the Brics automaton, so changes to the Automaton
 are reflected.
 
 As a DFA can be regarded as a special case of an NFA, using this class on a Brics
 Automaton will always work. However, determining successor states for input
 characters might be much less efficient than when using a BricsDFA.
automatonSTATE_PROPERTIES, TRANSITION_PROPERTIES| Constructor and Description | 
|---|
| BricsNFA(Automaton automaton)Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | accepts(Iterable<Character> input)Determines whether the given input word is accepted by this acceptor. | 
| boolean | isAccepting(Collection<? extends State> states) | 
createDynamicNodeMapping, createStaticNodeMapping, getBricsAutomaton, getEdgeProperty, getGraphDOTHelper, getInitialStates, getNodeProperty, getNodes, getOutgoingEdges, getStates, getTarget, getTransitions, isAccepting, nodeIDscomputeOutput, computeOutput, computeSuffixOutput, computeSuffixOutput, getStateProperty, getStateProperty, getSuccessor, getSuccessor, getTransitionProperty, getTransitionPropertyiterator, iterator, size, size, stateIDs, stateIDscreateDynamicStateMapping, createDynamicStateMapping, createStaticStateMapping, createStaticStateMapping, getStates, getStates, getSuccessors, getSuccessors, getSuccessors, getSuccessors, getSuccessors, getSuccessors, powersetView, powersetViewclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisAcceptinggetStates, size, stateIDsforEach, iterator, spliteratorgetStateProperty, getTransitionPropertygetSuccessor, getTransitions, powersetViewcreateDynamicStateMapping, createStaticStateMapping, getInitialStates, getStates, getSuccessors, getSuccessors, getSuccessorscomputeSuffixOutputcomputeOutputpublic boolean accepts(Iterable<Character> input)
AcceptorTSaccepts in interface AcceptorTS<State,Character>input - the input word.true if the input word is accepted,
 false otherwise.public boolean isAccepting(Collection<? extends State> states)
isAccepting in interface NFA<State,Character>Copyright © 2015. All Rights Reserved.