ubc.cs.JLog.Terms
Class jPredefined
java.lang.Object
ubc.cs.JLog.Terms.jPredefined
- Direct Known Subclasses:
- jPredefinedBuiltins, jPredefinedTerms
public abstract class jPredefined
- extends Object
Abstract class for creating any non-builtin predefined predicates needed by the
jKnowledgeBase and registering any operator and predicate entries with
their corresponding registries for use by the parser. The register method
for subclasses in a JLog library is automatically invoked, as neccessary.
- Version:
- %I%, %G%
- Author:
- Glendon Holst
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
jPredefined
public jPredefined(jPrologServices ps,
String lib)
register
public abstract void register()
getLibrary
public String getLibrary()
addPredicate
protected void addPredicate(pPredicateEntry pe)
addOperator
protected void addOperator(pOperatorEntry oe)
addRuleDefinitions
protected void addRuleDefinitions(jRuleDefinitions rds)
addRules
protected void addRules(jRule[] r)
consultDatabase
protected void consultDatabase()
Copyright © 2011. All Rights Reserved.