public abstract class SMModel extends Object
Modifier and Type | Field and Description |
---|---|
protected int[] |
charLenTable |
protected int |
classFactor |
protected PkgInt |
classTable |
static int |
ERROR |
static int |
ITSME |
protected String |
name |
static int |
START |
protected PkgInt |
stateTable |
Constructor and Description |
---|
SMModel(PkgInt classTable,
int classFactor,
PkgInt stateTable,
int[] charLenTable,
String name) |
Modifier and Type | Method and Description |
---|---|
int |
getCharLen(int cls) |
int |
getClass(byte b) |
String |
getName() |
int |
getNextState(int cls,
int currentState) |
public static final int START
public static final int ERROR
public static final int ITSME
protected PkgInt classTable
protected int classFactor
protected PkgInt stateTable
protected int[] charLenTable
protected String name
public int getClass(byte b)
public int getNextState(int cls, int currentState)
public int getCharLen(int cls)
public String getName()
Copyright © 2019. All rights reserved.