I am very sorry that I can not input Chinese(Zhong Wen) first.My question is following:1. input: one context free grammarstartshape trunkrule trunk
{
SQUARE{}
trunk{y .4 size .99}
}rule trunk .01
{
SQUARE{}
branch {rotate 25}
trunk{y .4 size .99}
}rule trunk .01
{
SQUARE{}
branch {rotate -25}
trunk{y .4 size .99}
}rule branch
{
SQUARE{}
trunk {y .4 size .99}
}2. output: draw a graph according to such grammar
output for the above example will be a increasing Tree.
I wonder if some guys can help me out by this afternoon, then I will give all my scores to you.THanks
{
SQUARE{}
trunk{y .4 size .99}
}rule trunk .01
{
SQUARE{}
branch {rotate 25}
trunk{y .4 size .99}
}rule trunk .01
{
SQUARE{}
branch {rotate -25}
trunk{y .4 size .99}
}rule branch
{
SQUARE{}
trunk {y .4 size .99}
}2. output: draw a graph according to such grammar
output for the above example will be a increasing Tree.
I wonder if some guys can help me out by this afternoon, then I will give all my scores to you.THanks
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货