|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvs.plotagent.BasicInspirationModule
public class BasicInspirationModule
| Constructor Summary | |
|---|---|
BasicInspirationModule(IPlotAgent ownerAgent)
Constructor |
|
| Method Summary | |
|---|---|
void |
addUsedSuggestion(Suggestion s)
Mark a suggestion as having been used (the module should decide whether that means not to use it again) |
java.util.Set<InspirationRule> |
generateRules(java.lang.String fabulaCaseURL)
Generates a file containing the rules, generated from a fabula case |
IPlotAgent |
getAgent()
To get the Agent |
java.util.Set<Suggestion> |
getSuggestions()
Retrieves a set containing suggestions given the current state of the fabula |
void |
loadRules(java.lang.String filename)
Deprecated. |
java.util.Set<OperationalizedSuggestion> |
operationalizeSuggestions(java.util.Set<Suggestion> suggestions)
Operationalizes given suggestions, meaning: make them ready for use. |
void |
writeRules(java.util.Set<InspirationRule> rules,
java.lang.String ruleFileURL)
Generates a file containing the given rules. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BasicInspirationModule(IPlotAgent ownerAgent)
ownerAgent - the agent owning this module| Method Detail |
|---|
public void addUsedSuggestion(Suggestion s)
IInspirationModule
addUsedSuggestion in interface IInspirationModulepublic java.util.Set<InspirationRule> generateRules(java.lang.String fabulaCaseURL)
IInspirationModule
generateRules in interface IInspirationModulefabulaCaseURL - the input file containing the fabula
public IPlotAgent getAgent()
IAgentModule
getAgent in interface IAgentModulepublic java.util.Set<Suggestion> getSuggestions()
IInspirationModule
getSuggestions in interface IInspirationModule@Deprecated public void loadRules(java.lang.String filename)
IInspirationModule
loadRules in interface IInspirationModulefilename - the name of the rule filepublic java.util.Set<OperationalizedSuggestion> operationalizeSuggestions(java.util.Set<Suggestion> suggestions)
IInspirationModule
operationalizeSuggestions in interface IInspirationModulesuggestions - the suggestions to operationalize
public void writeRules(java.util.Set<InspirationRule> rules,
java.lang.String ruleFileURL)
IInspirationModule
writeRules in interface IInspirationModulerules - the rules to outputruleFileURL - the output file containing the rules
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||