Package com.saxonica.ee.schema.fsa
Class DeterminizedState
java.lang.Object
com.saxonica.ee.schema.fsa.AutomatonState
com.saxonica.ee.schema.fsa.DeterminizedState
- All Implemented Interfaces:
State
A state in a determinized finite state machine
-
Field Summary
Fields inherited from class com.saxonica.ee.schema.fsa.AutomatonState
EMPTY_EDGE_ARRAY, wildcardEdges
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the provenance of a state in a determinized finite state machine.void
setProvenance
(IntSet provenance) Set the provenance of a state in a determinized finite state machine.Methods inherited from class com.saxonica.ee.schema.fsa.AutomatonState
addSpecificTransition, addWildcardTransition, display, displayLambdaTransitions, displayState, getEdges, getMaxTransition, getStateNumber, getTransition, getWildcardEdges, isConditionallyFinalState, isFinalState, listAllowedElements, requiresCounter, serialize, setFinalState, setLimits, setMaxTransition
-
Constructor Details
-
DeterminizedState
Create a new state- Parameters:
machine
- the finite state machine to which this state belongs
-
-
Method Details
-
setProvenance
Set the provenance of a state in a determinized finite state machine. This is the set of corresponding states in the non-determinized FSA- Parameters:
provenance
- the set of states in the non-deterministic FSA to which this state in the deterministic FSA corresponds. May be set to null when the information is no longer needed (specifically, once construction is complete).
-
getProvenance
Get the provenance of a state in a determinized finite state machine. This is the set of corresponding states in the non-determinized FSA- Returns:
- the set of states in the non-deterministic FSA to which this state in the may be null is ininitially null indicating unknown or not relevant.
-