Constructor
Add a State to the Automaton
State to be added
Add a Transition to the Automaton
Transition to be added
Return the State with the given name
Name of the State we're looking for
A State if there is a State with the given name, null otherwise
Return the Transitions which start from the given State
State from which the Transitions we are looking for must start
Transitions which start from the given State
Return the Transitions which arrives to the given State
State to which the Transitions we are looking for must arrive
Transitions which arrives to the given State
Return the Transitions which arrives to a final State
Transitions which arrives to a final State
Test if the State with the given name is a final State
Name of the tested State
True if the State is a final State, False otherwise
Test if the State with the given name is an initial State
Name of the tested State
True if the State is an initial State, False otherwise
Generated using TypeDoc
An Automaton is used to evaluate a SPARQL Property Path. SPARQL Property Paths are transformed into an equivalent Automaton which are used as a guide to navigate throught the Graph. When we reach a final state then we have found a Path in the Graph that matches the Property Path.