Interface IStateMachineNode<TState, TInput, TResult>
- Namespace
- LfrlAnvil.Computable.Automata
- Assembly
- LfrlAnvil.Computable.Automata.dll
Represents a single node of IStateMachine<TState, TInput, TResult>.
public interface IStateMachineNode<TState, TInput, TResult> where TState : notnull where TInput : notnull
Type Parameters
TState
State type.
TInput
Input type.
TResult
Result type.
- Extension Methods
Properties
Transitions
Dictionary of available transitions from this state.
IReadOnlyDictionary<TInput, IStateMachineTransition<TState, TInput, TResult>> Transitions { get; }
Property Value
- IReadOnlyDictionary<TInput, IStateMachineTransition<TState, TInput, TResult>>
Type
Type of this state.
StateMachineNodeType Type { get; }
Property Value
Value
Value of this state.
TState Value { get; }
Property Value
- TState