Uses of Class
org.projog.core.kb.KnowledgeBase
Packages that use KnowledgeBase
Package
Description
Provides a programming interface for Java applications to interact with Projog.
Provides a mechanism for objects to notify and be notified of events.
Provides arithmetic operators.
Provides classes for constructing
Term objects from Prolog syntax.Predicates to support constraint logic programming.
Predicates for comparing terms, including specific predicates for comparing numeric values.
Predicates for the construction of compound/complex sentences.
Predicates to support working with the recorded database.
Predicates for inspecting, adding and retracting clauses.
Predicates for working with list data structures.
Provides functionality to evaluate user defined predicates defined using Prolog syntax.
-
Uses of KnowledgeBase in org.projog.api
Methods in org.projog.api that return KnowledgeBaseModifier and TypeMethodDescriptionProjog.getKnowledgeBase()Returns theKnowledgeBaseassociated with this object. -
Uses of KnowledgeBase in org.projog.core.event
Constructors in org.projog.core.event with parameters of type KnowledgeBase -
Uses of KnowledgeBase in org.projog.core.kb
Methods in org.projog.core.kb that return KnowledgeBaseModifier and TypeMethodDescriptionstatic KnowledgeBaseKnowledgeBaseUtils.createKnowledgeBase()Constructs a newKnowledgeBaseobject usingProjogDefaultPropertiesstatic KnowledgeBaseKnowledgeBaseUtils.createKnowledgeBase(ProjogProperties projogProperties) Constructs a newKnowledgeBaseobject using the specifiedProjogPropertiesMethods in org.projog.core.kb with parameters of type KnowledgeBaseModifier and TypeMethodDescriptionstatic voidKnowledgeBaseUtils.bootstrap(KnowledgeBase kb) Consults theProjogProperties.getBootstrapScript()for theKnowledgeBase.static List<PredicateKey> KnowledgeBaseUtils.getPredicateKeysByName(KnowledgeBase kb, String predicateName) Returns list of all user defined predicates with the specified name.static KnowledgeBaseServiceLocatorKnowledgeBaseServiceLocator.getServiceLocator(KnowledgeBase kb) Returns theKnowledgeBaseServiceLocatorassociated with the specifiedKnowledgeBase.static <T> TKnowledgeBaseUtils.instantiate(KnowledgeBase kb, String input) Returns a new object created using reflection.static booleanKnowledgeBaseUtils.isSingleAnswer(KnowledgeBase kb, Term term) Returnstrueif the predicate represented by the specifiedTermnever succeeds on re-evaluation.static ObjectKnowledgeBaseUtils.newInstance(KnowledgeBase kb, Class<?> c) Returns a new instance of the specified class.voidKnowledgeBaseConsumer.setKnowledgeBase(KnowledgeBase knowledgeBase) Provides a reference to aKnowledgeBase. -
Uses of KnowledgeBase in org.projog.core.math
Methods in org.projog.core.math with parameters of type KnowledgeBaseModifier and TypeMethodDescriptionfinal voidAbstractArithmeticOperator.setKnowledgeBase(KnowledgeBase kb) Provides a reference to aKnowledgeBase.Constructors in org.projog.core.math with parameters of type KnowledgeBase -
Uses of KnowledgeBase in org.projog.core.math.builtin
Methods in org.projog.core.math.builtin with parameters of type KnowledgeBase -
Uses of KnowledgeBase in org.projog.core.parser
Methods in org.projog.core.parser with parameters of type KnowledgeBaseModifier and TypeMethodDescriptionstatic voidProjogSourceReader.parseFile(KnowledgeBase kb, File prologSourceFile) Populates the KnowledgeBase with clauses defined in the file.static voidProjogSourceReader.parseReader(KnowledgeBase kb, Reader reader) Populates the KnowledgeBase with clauses read from the Reader.static voidProjogSourceReader.parseResource(KnowledgeBase kb, String prologSourceResourceName) Populates the KnowledgeBase with clauses defined in the specified resource. -
Uses of KnowledgeBase in org.projog.core.predicate
Methods in org.projog.core.predicate that return KnowledgeBaseModifier and TypeMethodDescriptionprotected final KnowledgeBaseAbstractPredicateFactory.getKnowledgeBase()Deprecated.protected final KnowledgeBaseAbstractSingleResultPredicate.getKnowledgeBase()Methods in org.projog.core.predicate with parameters of type KnowledgeBaseModifier and TypeMethodDescriptionfinal voidAbstractPredicateFactory.setKnowledgeBase(KnowledgeBase knowledgeBase) Deprecated.final voidAbstractSingleResultPredicate.setKnowledgeBase(KnowledgeBase knowledgeBase) Constructors in org.projog.core.predicate with parameters of type KnowledgeBase -
Uses of KnowledgeBase in org.projog.core.predicate.builtin.clp
Methods in org.projog.core.predicate.builtin.clp with parameters of type KnowledgeBaseModifier and TypeMethodDescriptionvoidBooleanConstraintPredicate.setKnowledgeBase(KnowledgeBase knowledgeBase) Constructors in org.projog.core.predicate.builtin.clp with parameters of type KnowledgeBase -
Uses of KnowledgeBase in org.projog.core.predicate.builtin.compare
Constructors in org.projog.core.predicate.builtin.compare with parameters of type KnowledgeBase -
Uses of KnowledgeBase in org.projog.core.predicate.builtin.compound
Methods in org.projog.core.predicate.builtin.compound with parameters of type KnowledgeBaseConstructors in org.projog.core.predicate.builtin.compound with parameters of type KnowledgeBaseModifierConstructorDescriptionBagOf(KnowledgeBase kb) FindAll(KnowledgeBase kb) IfThen(KnowledgeBase kb) Limit(KnowledgeBase kb) Not(KnowledgeBase kb) Once(KnowledgeBase kb) SetOf(KnowledgeBase kb) -
Uses of KnowledgeBase in org.projog.core.predicate.builtin.db
Constructors in org.projog.core.predicate.builtin.db with parameters of type KnowledgeBase -
Uses of KnowledgeBase in org.projog.core.predicate.builtin.kb
Methods in org.projog.core.predicate.builtin.kb with parameters of type KnowledgeBaseModifier and TypeMethodDescriptionstatic InspectInspect.inspectClause(KnowledgeBase kb) static InspectInspect.retract(KnowledgeBase kb) Constructors in org.projog.core.predicate.builtin.kb with parameters of type KnowledgeBaseModifierConstructorDescription -
Uses of KnowledgeBase in org.projog.core.predicate.builtin.list
Constructors in org.projog.core.predicate.builtin.list with parameters of type KnowledgeBaseModifierConstructorDescriptionFold(KnowledgeBase kb) MapList(KnowledgeBase kb) SubList(KnowledgeBase kb) -
Uses of KnowledgeBase in org.projog.core.predicate.udp
Methods in org.projog.core.predicate.udp with parameters of type KnowledgeBaseModifier and TypeMethodDescriptionTailRecursivePredicateMetaData.create(KnowledgeBase kb, List<ClauseModel> clauses) Returns a newTailRecursivePredicateMetaDatarepresenting the user defined predicate defined by the specified clauses ornullif the predicate is not tail recursive.Constructors in org.projog.core.predicate.udp with parameters of type KnowledgeBaseModifierConstructorDescriptionDynamicUserDefinedPredicateFactory(KnowledgeBase kb, PredicateKey predicateKey) StaticUserDefinedPredicateFactory(KnowledgeBase kb, PredicateKey predicateKey) TabledUserDefinedPredicateFactory(KnowledgeBase kb, PredicateKey predicateKey)