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
|
getSpriteSetStructure
public 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 AbstractRuleGenerator
sl
- the SL descriptiontime
- the time allowed for the generator to loop