public class PFSAContinuation extends Continuation
pointer_state, pointer_string
Constructor and Description |
---|
PFSAContinuation(int pe,
int pg,
java.util.Vector<Transition> tr,
java.util.Vector[] streg)
Create a new PFSA Continuation
|
Modifier and Type | Method and Description |
---|---|
Continuation |
cloneWithoutTransition()
Clone this continuation without the transitions
|
java.util.Vector[] |
copyStReg() |
boolean |
equalWithoutTransition(Continuation c)
Check if this transition is equal to c without checking the transitions
|
java.util.Vector[] |
getStReg() |
containTransition, getPointerState, getPointerString, getTransition, setTransition
public PFSAContinuation(int pe, int pg, java.util.Vector<Transition> tr, java.util.Vector[] streg)
pe
- a pointer to a state of the automatonpg
- a pointer to the string in inputtr
- the allowed transitionsstreg
- the stack and registerspublic java.util.Vector[] getStReg()
public java.util.Vector[] copyStReg()
public Continuation cloneWithoutTransition()
cloneWithoutTransition
in class Continuation
public boolean equalWithoutTransition(Continuation c)
equalWithoutTransition
in class Continuation
c
- a continuation to be checked