public static class PdaUtil.CyclicStackTraverser<S,P> extends java.lang.Object implements Traverser<Pda<S,P>,S,PdaUtil.CyclicStackItem<P>>
Constructor and Description |
---|
PdaUtil.CyclicStackTraverser() |
Modifier and Type | Method and Description |
---|---|
PdaUtil.CyclicStackItem<P> |
enter(Pda<S,P> pda,
S state,
PdaUtil.CyclicStackItem<P> previous) |
boolean |
isSolution(PdaUtil.CyclicStackItem<P> result) |
public PdaUtil.CyclicStackItem<P> enter(Pda<S,P> pda, S state, PdaUtil.CyclicStackItem<P> previous)
public boolean isSolution(PdaUtil.CyclicStackItem<P> result)
isSolution
in interface Traverser<Pda<S,P>,S,PdaUtil.CyclicStackItem<P>>