Package org.apache.iotdb.commons.path.fa
Interface IFATransition
-
- All Known Implementing Classes:
DFAPreciseTransition,DFAWildcardTransition
public interface IFATransitionThis interface defines the behaviour of a FA(Finite Automation)'s transition.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetAcceptEvent()intgetIndex()booleanisMatch(java.lang.String event)
-
-
-
Method Detail
-
getAcceptEvent
java.lang.String getAcceptEvent()
- Returns:
- the value of this transition, which is used to match the events
-
isMatch
boolean isMatch(java.lang.String event)
- Parameters:
event- event happened on one of the source state of this transition and is trying to find the next state- Returns:
- whether this transition can match the event
-
getIndex
int getIndex()
-
-