|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.deri.iris.KnowledgeBaseFactory
public class KnowledgeBaseFactory
The factory for creating a knowledge-base.
| Constructor Summary | |
|---|---|
KnowledgeBaseFactory()
|
|
| Method Summary | |
|---|---|
static IKnowledgeBase |
createKnowledgeBase(Map<IPredicate,IRelation> facts,
List<IRule> rules)
Create a knowledge base with default configuration. |
static IKnowledgeBase |
createKnowledgeBase(Map<IPredicate,IRelation> facts,
List<IRule> rules,
Configuration configuration)
Create a knowledge base with a custom configuration. |
static Configuration |
getDefaultConfiguration()
Create a new default configuration and return it. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KnowledgeBaseFactory()
| Method Detail |
|---|
public static IKnowledgeBase createKnowledgeBase(Map<IPredicate,IRelation> facts,
List<IRule> rules)
throws EvaluationException
facts - The starting facts.rules - The rules to use.
EvaluationException
public static IKnowledgeBase createKnowledgeBase(Map<IPredicate,IRelation> facts,
List<IRule> rules,
Configuration configuration)
throws EvaluationException
facts - The starting facts.rules - The rules to use.configuration - The configuration to use for the new knowledge-base.
EvaluationExceptionpublic static Configuration getDefaultConfiguration()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||