Skip to content

Misbehaviour in non-deterministic PDA in step-by-step simulation #1

@trylimits

Description

@trylimits

I faced an issue in the step-by-step simulation of a non-deterministic PDA.

After choosing the desired transition (the a-transition at state z0 in the below SSCCE) the word stack is not pushed down, respectively the stack pointer is not increased, even though the transition defines a read operation. This misbehaviour also affects the correctness of the overall results, i.e. the PDA does not accept words which it technically should and vice versa.

Example

I already dug into the source code (branch trunk) and from what I can tell the method AbstractStateMachine#nextSymbol(Transition) is missing a this.word.nextSymbol() somewhere. Unfortunately, I faced some problems to get the project built properly and therefore I cannot send you a patch or PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions