annotate Implab/Automaton/IDFATableBuilder.cs @ 165:e227e78d72e4 ref20160224

DFA refactoring
author cin
date Mon, 29 Feb 2016 02:02:17 +0300
parents
children 96681e9d0cea
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
165
e227e78d72e4 DFA refactoring
cin
parents:
diff changeset
1 using System;
e227e78d72e4 DFA refactoring
cin
parents:
diff changeset
2
e227e78d72e4 DFA refactoring
cin
parents:
diff changeset
3 namespace Implab.Automaton {
e227e78d72e4 DFA refactoring
cin
parents:
diff changeset
4 public interface IDFATableBuilder : IDFATable {
e227e78d72e4 DFA refactoring
cin
parents:
diff changeset
5 /// <summary>
e227e78d72e4 DFA refactoring
cin
parents:
diff changeset
6 /// Marks the state as final.
e227e78d72e4 DFA refactoring
cin
parents:
diff changeset
7 /// </summary>
e227e78d72e4 DFA refactoring
cin
parents:
diff changeset
8 /// <param name="state">State.</param>
e227e78d72e4 DFA refactoring
cin
parents:
diff changeset
9 void MarkFinalState(int state);
e227e78d72e4 DFA refactoring
cin
parents:
diff changeset
10
e227e78d72e4 DFA refactoring
cin
parents:
diff changeset
11 /// <summary>
e227e78d72e4 DFA refactoring
cin
parents:
diff changeset
12 /// Defines the transition from <paramref name="s1"/> to
e227e78d72e4 DFA refactoring
cin
parents:
diff changeset
13 /// <paramref name="s2"/> with input <paramref name="symbol"/>.
e227e78d72e4 DFA refactoring
cin
parents:
diff changeset
14 /// </summary>
e227e78d72e4 DFA refactoring
cin
parents:
diff changeset
15 /// <param name="s1">S1.</param>
e227e78d72e4 DFA refactoring
cin
parents:
diff changeset
16 /// <param name="s2">S2.</param>
e227e78d72e4 DFA refactoring
cin
parents:
diff changeset
17 /// <param name="symbol">Symbol.</param>
e227e78d72e4 DFA refactoring
cin
parents:
diff changeset
18 void DefineTransition(int s1, int s2, int symbol);
e227e78d72e4 DFA refactoring
cin
parents:
diff changeset
19
e227e78d72e4 DFA refactoring
cin
parents:
diff changeset
20 void SetInitialState(int s);
e227e78d72e4 DFA refactoring
cin
parents:
diff changeset
21
e227e78d72e4 DFA refactoring
cin
parents:
diff changeset
22 }
e227e78d72e4 DFA refactoring
cin
parents:
diff changeset
23 }
e227e78d72e4 DFA refactoring
cin
parents:
diff changeset
24