Update 'populus_nigra_italica.lpy'

This commit is contained in:
Michał Dulski 2019-05-09 10:44:23 +00:00
parent ff56e45332
commit 0345e094e6

View File

@ -2,30 +2,16 @@ def Start():
#random.seed(150)
pass
Axiom: _(0.3)@GsG(1)A(1)
derivation length: 20
Axiom: _(0.3)@GsG(0.5)A(1)
derivation length: 30
production:
A(x) :
if x == 1:
produce[-(30)F(1)B(1)]F(1)A(x+1)
if x == 2:
produce [^(30)F(1)C(1)]F(1)A(x+1)
elif x == 4:
produce [+(30)F(1)D(1)]F(1)A(1)
elif x == 3:
produce [&(30)F(1)E(1)]F(1)A(x+1)
produce[-(30)F(1)B(1)]/(75)F(0.5)A(x+1)
B(x):
if x <= 4:
produce [^(30)F(1,0.05+0.25/x)Leaf(1)][&(30)F(1,0.05+0.25/x)Leaf(1)]+(5)F(1,0.05+0.25/x)B(x+1)
C(x):
if x <= 4:
produce [+(30)F(1,0.05+0.25/x)Leaf(1)][-(30)F(1,0.05+0.25/x)Leaf(1)]&(5)F(1,0.05+0.25/x)C(x+1)
D(x):
if x <= 4:
produce [&(30)F(1,0.05+0.25/x)Leaf(1)][^(30)F(1,0.05+0.25/x)Leaf(1)]-(5)F(1,0.05+0.25/x)D(x+1)
E(x):
if x <= 4:
produce [+(30)F(1,0.05+0.25/x)Leaf(1)][-(30)F(1,0.05+0.25/x)Leaf(1)]^(5)F(1,0.05+0.25/x)E(x+1)
if x <= 5:
produce [^(30)F(1,0.05+0.25/x)Leaf(1)][&(30)F(1,0.05+0.25/x)Leaf(1)]F(1,0.05+0.25/x)B(x+1)
Leaf(x):
produce ~l(1)
interpretation: