コード例 #1
0
 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);
 }
コード例 #2
0
 public void Init(IFiniteAutomataState state)
 {
     _state = state;
 }
コード例 #3
0
 public static IFiniteAutomataTransition GenerateAutomataTransition(IFiniteAutomataState statestart, IFiniteAutomataState stateend)
 {
     return new FiniteAutomataTransitionBasic(statestart, stateend);
 }
コード例 #4
0
 public FiniteAutomataTransitionBasic(IFiniteAutomataState statestart, IFiniteAutomataState stateend)
     : base(statestart, stateend)
 {
 }