vs.plotagent.inspiration
Class RuleBuilder

java.lang.Object
  extended by vs.plotagent.inspiration.RuleBuilder
Direct Known Subclasses:
BasicRuleBuilder

public abstract class RuleBuilder
extends java.lang.Object

RuleBuilder abstract class.

A RuleBuilder takes a Named Graph Set, containing case information, and uses the information contained in the Named Graph Set to build a set of rules that can be used to inspire the VST agents for further fabula development.

Author:
swartjes

Constructor Summary
RuleBuilder(de.fuberlin.wiwiss.ng4j.NamedGraphSet ngs)
          Constructor
 
Method Summary
abstract  java.util.Set<InspirationRule> build()
          Builds the rules, outputs them in Prolog format and returns them as a String.
 de.fuberlin.wiwiss.ng4j.NamedGraphSet getNamedGraph()
          Getter for the Named Graph Set
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleBuilder

public RuleBuilder(de.fuberlin.wiwiss.ng4j.NamedGraphSet ngs)
Constructor

Parameters:
ngs - the Named Graph Set containing the case fabula.
Method Detail

build

public abstract java.util.Set<InspirationRule> build()
Builds the rules, outputs them in Prolog format and returns them as a String.

Returns:
a String containing a collection of rules in Prolog format.

getNamedGraph

public de.fuberlin.wiwiss.ng4j.NamedGraphSet getNamedGraph()
Getter for the Named Graph Set

Returns:
the Named Graph Set containing the case fabula.