From ff56e45332b70b6ae9028053c106b819d614b147 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Dulski?= Date: Thu, 9 May 2019 10:24:23 +0000 Subject: [PATCH] Update 'populus_nigra_italica.lpy' --- populus_nigra_italica.lpy | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) diff --git a/populus_nigra_italica.lpy b/populus_nigra_italica.lpy index ea2d5d5..d1bc59f 100644 --- a/populus_nigra_italica.lpy +++ b/populus_nigra_italica.lpy @@ -3,7 +3,6 @@ def Start(): pass Axiom: _(0.3)@GsG(1)A(1) - derivation length: 20 production: A(x) : @@ -16,36 +15,18 @@ A(x) : elif x == 3: produce [&(30)F(1)E(1)]F(1)A(x+1) B(x): - if x <= 1: - 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) - elif x <= 2: - 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) - elif x <= 4: + 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 <= 1: - 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) - elif x <= 2: - 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) - elif x <= 4: + 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 <= 1: - 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) - elif x <= 2: - 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) - elif x <= 4: + 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 <= 1: - 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) - elif x <= 2: - 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) - elif x <= 4: + 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) Leaf(x): produce ~l(1) interpretation: - - endlsystem \ No newline at end of file