Mercurial > pub > ImplabNet
annotate Implab/Automaton/ByteAlphabet.cs @ 163:419aa51b04fd ref20160224
JSON moved to Formats namespace
Working in RegularDFA
author | cin |
---|---|
date | Wed, 24 Feb 2016 20:12:52 +0300 |
parents | 0526412bbb26 |
children |
rev | line source |
---|---|
162 | 1 using System; |
2 | |
3 namespace Implab.Automaton { | |
4 public class ByteAlphabet : IndexedAlphabetBase<byte> { | |
5 public ByteAlphabet() : base(byte.MaxValue + 1){ | |
6 } | |
7 | |
8 #region implemented abstract members of IndexedAlphabetBase | |
9 | |
10 public override int GetSymbolIndex(byte symbol) { | |
11 return (int)symbol; | |
12 } | |
13 | |
14 public override System.Collections.Generic.IEnumerable<byte> InputSymbols { | |
15 get { | |
16 throw new NotImplementedException(); | |
17 } | |
18 } | |
19 | |
20 #endregion | |
21 } | |
22 } | |
23 |