Buddha
March 1, 2008 19:07:14
Premise: A
Rule1: A>B=F
and nothing happens (string is not rewritten).
Any ideas?
(In fact I need signal propagation from main branch to children. Rules above are just a trivial example of that.)
Allegro
March 1, 2008 19:50:57
I don't understand what you're trying to do…
that does not look like a valid lsystem rule to me
You are not defining either A or B… so… the Premise will have no idea what to do.
You need something like
Premise: A
Rule 1: A=FA
to simply draw lines over and over. Does this help?
Buddha
March 2, 2008 08:50:55
I mean that this is context sensitive l-system.
It works without brackets in the premise and doesn't with brackets.
This is the exact problem.
Note that it isn't an example of really useful l-system. It is for clearing problem only.
The rules should just draw one edge. And final string should be F.
Allegro
March 2, 2008 11:28:33
Interesting
I have never used context sensitive l-systems before, so sorry that i didn't understand what your rule was doing.
It would appear to be a bug. It seems to only recognize the context sensitivity when there is nothing else separating the two symbols. ie: having a [ disrupts the sensitivity.
Buddha
March 2, 2008 12:35:44
In fact all symbols (+,/, etc.) except can be ignored with help of Context Ignore field in the Rules tab.
Allegro
March 2, 2008 12:47:37
Yup, you're right, [ doesn't work, but { and everything else I've tested does work.
I filed a bug