Mercurial > pub > ImplabNet
comparison Implab/Formats/CharAlphabet.cs @ 192:f1da3afc3521 release v2.1
Слияние с v2
| author | cin |
|---|---|
| date | Fri, 22 Apr 2016 13:10:34 +0300 |
| parents | a0ff6a0e9c44 |
| children | 6fa235c5a760 |
comparison
equal
deleted
inserted
replaced
| 71:1714fd8678ef | 192:f1da3afc3521 |
|---|---|
| 1 using System.Collections.Generic; | |
| 2 using System.Linq; | |
| 3 using Implab.Automaton; | |
| 4 | |
| 5 namespace Implab.Formats { | |
| 6 public class CharAlphabet: IndexedAlphabetBase<char> { | |
| 7 | |
| 8 public override int GetSymbolIndex(char symbol) { | |
| 9 return symbol; | |
| 10 } | |
| 11 | |
| 12 public IEnumerable<char> InputSymbols { | |
| 13 get { return Enumerable.Range(char.MinValue, char.MaxValue).Cast<char>(); } | |
| 14 } | |
| 15 } | |
| 16 } |
