public class RuleGenerator extends AbstractRuleGenerator
| Constructor and Description |
|---|
RuleGenerator(SLDescription sl,
ElapsedCpuTimer time)
This is an evolutionary rule generator
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[][] |
generateRules(SLDescription sl,
ElapsedCpuTimer time)
Generates the rules using evolution
|
getSpriteSetStructurepublic RuleGenerator(SLDescription sl, ElapsedCpuTimer time)
sl - contains information about sprites and current leveltime - amount of time allowed to generatepublic java.lang.String[][] generateRules(SLDescription sl, ElapsedCpuTimer time)
generateRules in class AbstractRuleGeneratorsl - the SL descriptiontime - the time allowed for the generator to loop