Class Transition
java.lang.Object
org.apache.flink.streaming.examples.statemachine.dfa.Transition
- All Implemented Interfaces:
Serializable
A possible transition on a given event into a target state. The transition belongs to its
originating state and has an associated probability that is used to generate random transition
events.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTransition(EventType eventType, State targetState, float prob) Creates a new transition. -
Method Summary
-
Constructor Details
-
Transition
Creates a new transition.- Parameters:
eventType- The event that triggers the transition.targetState- The target state after the transition.prob- The probability of the transition.
-
-
Method Details