Пример #1
0
 public FiniteStateTable()     // default constructor initialising the Finite State table
 {
     FST = new cell_FST[0, 0]; // both finite state tables can be housed within a 3 x 3 2D array
     Console.WriteLine("Warning! This is a default Finite State Table with no array dimensions.");
 }
Пример #2
0
 //Constructors
 public FiniteStateTable(int x, int y) // user initialised constructor initialising the Finite State table
 {
     FST = new cell_FST[x, y];         // both finite state tables can be housed within a 3 x 3 2D array
     Console.WriteLine("User has defined a Finite State Table of total size of {0} by {1}!", FST.GetLength(0), FST.GetLength(1));
 }