Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pattern matching problems #11

Open
GoogleCodeExporter opened this issue Mar 19, 2015 · 0 comments
Open

Pattern matching problems #11

GoogleCodeExporter opened this issue Mar 19, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

Species: R(l,l!1,Y~0).L(r!1,r!2).R(l!2,l!3,Y~1).L(r!3,r!4).R(l!4,l,Y~1)
Observable: Molecules Five L(r!1).R(l!1).R(Y~1)

In BNG, the observable evaluates to 5 when applied to the species. In NFsim, it 
evaluates to 4. I suspect that the root of the problem is that the last R 
molecule in the pattern isn't bound to anything. When starting from the 
left-most L molecule in the species, I suspect that NFsim isn't walking past 
the R(l!2,l!3,Y~1) molecule to find the match at R(l!4,l,Y~1). 

Original issue reported on code.google.com by [email protected] on 12 Mar 2015 at 8:39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant