|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IInspirationModule
The inspiration module is an implementation of the Narrative Inspiration idea. It should deliver suggestions based on given fabula and rule base.
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 caseFileURL)
Generates a file containing the rules, generated from a fabula case |
java.util.Set<Suggestion> |
getSuggestions()
Retrieves a set containing suggestions given the current state of the fabula |
void |
loadRules(java.lang.String filename)
Loads a rule file into memory |
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 interface vs.IAgentModule |
---|
getAgent |
Method Detail |
---|
void addUsedSuggestion(Suggestion s)
java.util.Set<InspirationRule> generateRules(java.lang.String caseFileURL)
caseFileURL
- the input file containing the fabula
java.util.Set<Suggestion> getSuggestions()
void loadRules(java.lang.String filename)
filename
- the name of the rule filejava.util.Set<OperationalizedSuggestion> operationalizeSuggestions(java.util.Set<Suggestion> suggestions)
suggestions
- the suggestions to operationalize
void writeRules(java.util.Set<InspirationRule> rules, java.lang.String ruleFileURL)
rules
- 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 |