public FiniteAutomataTransitionAbstract(IFiniteAutomataState statestart, IFiniteAutomataState stateend) : base() { if (statestart.Automata != stateend.Automata) { new FiniteAutomataException(); }; _statestart = statestart; _stateend = stateend; _automata = statestart.Automata; Automata.Transitions.addObject(this); }
public void Init(IFiniteAutomataState state) { _state = state; }
public static IFiniteAutomataTransition GenerateAutomataTransition(IFiniteAutomataState statestart, IFiniteAutomataState stateend) { return new FiniteAutomataTransitionBasic(statestart, stateend); }
public FiniteAutomataTransitionBasic(IFiniteAutomataState statestart, IFiniteAutomataState stateend) : base(statestart, stateend) { }