Package org.apache.iotdb.commons.path.fa
Interface IFAState
-
- All Known Implementing Classes:
DFAState
public interface IFAStateThis interface defines the behaviour of a FA(Finite Automation)'s states.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetIndex()booleanisFinal()booleanisInitial()
-
-
-
Method Detail
-
isInitial
boolean isInitial()
- Returns:
- whether this state is the initial state of the belonged FA
-
isFinal
boolean isFinal()
- Returns:
- whether this state is one of the final state of the belonged FA
-
getIndex
int getIndex()
- Returns:
- the index of this state, used for uniquely identifying states in FA
-
-