Class SMModel

    • Constructor Summary

      Constructors 
      Constructor Description
      SMModel​(PkgInt classTable, int classFactor, PkgInt stateTable, int[] charLenTable, java.lang.String name)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getCharLen​(int cls)  
      int getClass​(byte b)  
      java.lang.String getName()  
      int getNextState​(int cls, int currentState)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • classTable

        protected PkgInt classTable
      • classFactor

        protected int classFactor
      • stateTable

        protected PkgInt stateTable
      • charLenTable

        protected int[] charLenTable
      • name

        protected java.lang.String name
    • Constructor Detail

      • SMModel

        public SMModel​(PkgInt classTable,
                       int classFactor,
                       PkgInt stateTable,
                       int[] charLenTable,
                       java.lang.String name)
    • Method Detail

      • getClass

        public int getClass​(byte b)
      • getNextState

        public int getNextState​(int cls,
                                int currentState)
      • getCharLen

        public int getCharLen​(int cls)
      • getName

        public java.lang.String getName()