public class RuleGenerator extends AbstractRuleGenerator
| Constructor and Description |
|---|
RuleGenerator(SLDescription sl,
ElapsedCpuTimer time)
Constructor that initialize the constructive algorithm
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[][] |
generateRules(SLDescription sl,
ElapsedCpuTimer time)
get the generated interaction rules and termination rules
|
java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> |
getSpriteSetStructure()
Return a list of all supersets
|
public RuleGenerator(SLDescription sl, ElapsedCpuTimer time)
sl - SLDescription object contains information about the
current game and leveltime - the amount of time allowed for initializationpublic java.lang.String[][] generateRules(SLDescription sl, ElapsedCpuTimer time)
generateRules in class AbstractRuleGeneratorsl - SLDescription object contain information about the game
sprites and the current leveltime - the amount of time allowed for the rule generatorpublic java.util.HashMap<java.lang.String,java.util.ArrayList<java.lang.String>> getSpriteSetStructure()
AbstractRuleGeneratorgetSpriteSetStructure in class AbstractRuleGenerator