Mercurial > pub > ImplabNet
view Implab/Automaton/IDFATableBuilder.cs @ 215:fe5101083150 v2
Fixed InteractiveListener to support OLE and clipboard.
Safe.Dispose methods made more convinent
author | cin |
---|---|
date | Fri, 21 Apr 2017 14:27:17 +0300 |
parents | 76e8f2ba12b8 |
children |
line wrap: on
line source
using System; using System.Collections.Generic; namespace Implab.Automaton { public interface IDFATableBuilder : IDFATable, ICollection<AutomatonTransition> { /// <summary> /// Marks the state as final. /// </summary> /// <param name="state">State.</param> void MarkFinalState(int state); void SetInitialState(int s); /// <summary> /// Increases if needed the input alphabet size to hold the specified symbol. /// </summary> /// <remarks> /// <code> /// AlphabetSize = Math.Max(AlphabetSize, symbol + 1) /// </code> /// </remarks> /// <param name="symbol">Symbol.</param> void AddSymbol(int symbol); } }