|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectTreeString
| Constructor Summary | |
TreeString()
Creates a new instance of TreeString |
|
| Method Summary | |
void |
addParameter(java.lang.String param)
Method to set the parameters of a parametric string |
void |
addRule(java.lang.String rule)
method to set the production rules |
java.lang.String |
generateParametricString()
Method to generate a parametric sting |
java.lang.String |
generateString()
method to generate the production string |
void |
printData()
method to print L-system details on the screen |
void |
setAxiom(java.lang.String omega)
,ethod to get the axim of the system |
void |
setDerivations(int derivations)
,ethod to get the derivations number from the user |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TreeString()
| Method Detail |
public void addParameter(java.lang.String param)
param - a parameter value of a parametric systempublic void addRule(java.lang.String rule)
rule - a production rule of the L-systempublic java.lang.String generateParametricString()
public java.lang.String generateString()
public void printData()
public void setAxiom(java.lang.String omega)
omega - the axiom of the L-Systempublic void setDerivations(int derivations)
derivations - the number of derivations
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||