Mercurial > pub > ImplabNet
diff Implab/Automaton/IDFATableBuilder.cs @ 167:96681e9d0cea ref20160224
sync
author | cin |
---|---|
date | Wed, 02 Mar 2016 00:20:48 +0300 |
parents | e227e78d72e4 |
children | 8fb9c9507a26 |
line wrap: on
line diff
--- a/Implab/Automaton/IDFATableBuilder.cs Mon Feb 29 18:41:01 2016 +0300 +++ b/Implab/Automaton/IDFATableBuilder.cs Wed Mar 02 00:20:48 2016 +0300 @@ -1,22 +1,14 @@ using System; +using System.Collections.Generic; namespace Implab.Automaton { - public interface IDFATableBuilder : IDFATable { + public interface IDFATableBuilder : IDFATable, ICollection<AutomatonTransition> { /// <summary> /// Marks the state as final. /// </summary> /// <param name="state">State.</param> void MarkFinalState(int state); - /// <summary> - /// Defines the transition from <paramref name="s1"/> to - /// <paramref name="s2"/> with input <paramref name="symbol"/>. - /// </summary> - /// <param name="s1">S1.</param> - /// <param name="s2">S2.</param> - /// <param name="symbol">Symbol.</param> - void DefineTransition(int s1, int s2, int symbol); - void SetInitialState(int s); }