Crossfire JXClient, Trunk
|
Public Member Functions | |
CLSRule (String p, String d, String l, String r) | |
boolean | matches (StringBuffer sb, int pos) |
Package Attributes | |
String | lContext |
String | pred |
String | rContext |
String | succ |
A Context sensitive L-System production rule.
This class encapsulates a production rule for a Context sensitive L-System (pred, succ, lContext, rContext). The matches() method, however, does not (yet) verify the lContext and rContext parts of the rule.
Definition at line 469 of file CLSFractal.java.
CLSRule.CLSRule | ( | String | p, |
String | d, | ||
String | l, | ||
String | r | ||
) |
boolean CLSRule.matches | ( | StringBuffer | sb, |
int | pos | ||
) |
Definition at line 483 of file CLSFractal.java.
References pred.
Referenced by ContextLSystem.findRule().
|
package |
Definition at line 473 of file CLSFractal.java.
Referenced by CLSRule().
|
package |
Definition at line 471 of file CLSFractal.java.
Referenced by CLSRule(), ContextLSystem.generate(), and matches().
|
package |
Definition at line 474 of file CLSFractal.java.
Referenced by CLSRule().
|
package |
Definition at line 472 of file CLSFractal.java.
Referenced by CLSRule(), and ContextLSystem.generate().