Package | Description |
---|---|
org.apache.flink.streaming.examples.statemachine.dfa | |
org.apache.flink.streaming.examples.statemachine.event |
Modifier and Type | Field and Description |
---|---|
EventType |
EventTypeAndState.eventType |
Modifier and Type | Method and Description |
---|---|
EventType |
Transition.eventType() |
EventType |
State.randomInvalidTransition(Random rnd)
Returns an event type that, if applied as a transition on this state, will result
in an illegal state transition.
|
Modifier and Type | Method and Description |
---|---|
State |
State.transition(EventType evt)
Gets the state after transitioning from this state based on the given event.
|
Constructor and Description |
---|
EventTypeAndState(EventType eventType,
State state) |
Transition(EventType eventType,
State targetState,
float prob)
Creates a new transition.
|
Modifier and Type | Method and Description |
---|---|
EventType |
Alert.transition() |
EventType |
Event.type()
Gets the event's type.
|
static EventType |
EventType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventType[] |
EventType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
Alert(int address,
State state,
EventType transition)
Creates a new alert.
|
Event(EventType type,
int sourceAddress)
Creates a new event.
|
Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.