DFA
Properties
Functions
Link copied to clipboard
fun checkedChangeStateProperty(state: State, name: Int? = null, isStart: Boolean? = null, isAcceptingState: Boolean? = null)
Same as changeStateProperty but throws an IllegalStateException if the property could not be changed.
Link copied to clipboard
Associates the start state with a cpgNode.
Link copied to clipboard
Checks if the transition with operator op is possible from the current state of the FSM. If so, it updates the state of the FSM and returns true
. If no transition is possible, returns false
. Collects the old state, the edge and the cpgNode in the executionTrace in a Trace and appends it to the executionTrace
Link copied to clipboard
Link copied to clipboard
Generates the string representing this FSM in DOT format. This allows a simple visualization of the resulting automaton.