Uses of Class
org.projog.core.predicate.PredicateKey
-
Packages that use PredicateKey Package Description org.projog.api Provides a programming interface for Java applications to interact with Projog.org.projog.core.event Provides a mechanism for objects to notify and be notified of events.org.projog.core.kb org.projog.core.math org.projog.core.parser Provides classes for constructingTermobjects from Prolog syntax.org.projog.core.predicate org.projog.core.predicate.builtin.classify Predicates for classifying terms.org.projog.core.predicate.builtin.clp Predicates to support constraint logic programming.org.projog.core.predicate.builtin.db Predicates to support working with the recorded database.org.projog.core.predicate.builtin.debug Predicates to aid the debugging of Prolog programs.org.projog.core.predicate.builtin.kb Predicates for inspecting, adding and retracting clauses.org.projog.core.predicate.udp Provides functionality to evaluate user defined predicates defined using Prolog syntax.org.projog.tools Provides entry points for accessing the core functionality of Projog. -
-
Uses of PredicateKey in org.projog.api
Fields in org.projog.api declared as PredicateKey Modifier and Type Field Description private PredicateKeyProjogStackTraceElement. keyMethods in org.projog.api that return PredicateKey Modifier and Type Method Description PredicateKeyProjogStackTraceElement. getPredicateKey()Represents the user defined predicate this stack trace element was generated for.Methods in org.projog.api with parameters of type PredicateKey Modifier and Type Method Description voidProjog. addArithmeticOperator(PredicateKey key, ArithmeticOperator operator)voidProjog. addPredicateFactory(PredicateKey key, PredicateFactory predicateFactory)Constructors in org.projog.api with parameters of type PredicateKey Constructor Description ProjogStackTraceElement(PredicateKey key, Term term) -
Uses of PredicateKey in org.projog.core.event
Fields in org.projog.core.event declared as PredicateKey Modifier and Type Field Description private PredicateKeySpyPoints.SpyPoint. keyprivate PredicateKeySpyPoints.SpyPointEvent. keyFields in org.projog.core.event with type parameters of type PredicateKey Modifier and Type Field Description private java.util.Map<PredicateKey,SpyPoints.SpyPoint>SpyPoints. spyPointsMethods in org.projog.core.event that return PredicateKey Modifier and Type Method Description PredicateKeySpyPoints.SpyPoint. getPredicateKey()PredicateKeySpyPoints.SpyPointEvent. getPredicateKey()Methods in org.projog.core.event that return types with arguments of type PredicateKey Modifier and Type Method Description java.util.Map<PredicateKey,SpyPoints.SpyPoint>SpyPoints. getSpyPoints()Methods in org.projog.core.event with parameters of type PredicateKey Modifier and Type Method Description private SpyPoints.SpyPointSpyPoints. createNewSpyPoint(PredicateKey key)SpyPoints.SpyPointSpyPoints. getSpyPoint(PredicateKey key)voidSpyPoints. setSpyPoint(PredicateKey key, boolean set)Constructors in org.projog.core.event with parameters of type PredicateKey Constructor Description SpyPoint(PredicateKey key)SpyPointEvent(PredicateKey key, Term[] args, java.lang.Object source)SpyPointExitEvent(PredicateKey key, Term[] args, java.lang.Object source, ClauseModel clauseModel) -
Uses of PredicateKey in org.projog.core.kb
Fields in org.projog.core.kb declared as PredicateKey Modifier and Type Field Description private static PredicateKeyKnowledgeBase. ADD_PREDICATE_KEYRepresents thepj_add_predicate/2predicate hard-coded in everyKnowledgeBase.Methods in org.projog.core.kb that return types with arguments of type PredicateKey Modifier and Type Method Description static java.util.List<PredicateKey>KnowledgeBaseUtils. getPredicateKeysByName(KnowledgeBase kb, java.lang.String predicateName)Returns list of all user defined predicates with the specified name. -
Uses of PredicateKey in org.projog.core.math
Fields in org.projog.core.math with type parameters of type PredicateKey Modifier and Type Field Description private java.util.Map<PredicateKey,java.lang.String>ArithmeticOperators. operatorClassNamesprivate java.util.Map<PredicateKey,ArithmeticOperator>ArithmeticOperators. operatorInstancesMethods in org.projog.core.math with parameters of type PredicateKey Modifier and Type Method Description voidArithmeticOperators. addArithmeticOperator(PredicateKey key, java.lang.String operatorClassName)Associates aArithmeticOperatorwith thisKnowledgeBase.voidArithmeticOperators. addArithmeticOperator(PredicateKey key, ArithmeticOperator operator)Associates aArithmeticOperatorwith thisKnowledgeBase.ArithmeticOperatorArithmeticOperators. getArithmeticOperator(PredicateKey key)private ArithmeticOperatorArithmeticOperators. getPreprocessedArithmeticOperator(PredicateKey key, Term argument)private ArithmeticOperatorArithmeticOperators. instantiateArithmeticOperator(PredicateKey key) -
Uses of PredicateKey in org.projog.core.parser
Fields in org.projog.core.parser with type parameters of type PredicateKey Modifier and Type Field Description private java.util.Map<PredicateKey,UserDefinedPredicateFactory>ProjogSourceReader. userDefinedPredicates -
Uses of PredicateKey in org.projog.core.predicate
Fields in org.projog.core.predicate declared as PredicateKey Modifier and Type Field Description private PredicateKeyUnknownPredicate. keyFields in org.projog.core.predicate with type parameters of type PredicateKey Modifier and Type Field Description private java.util.Map<PredicateKey,java.lang.String>Predicates. javaPredicateClassNamesThe class names of "built-in" Java predicates (i.e.private java.util.Map<PredicateKey,PredicateFactory>Predicates. javaPredicateInstancesThe instances of "built-in" Java predicates (i.e.private java.util.Map<PredicateKey,UserDefinedPredicateFactory>Predicates. userDefinedPredicatesThe user-defined predicates (i.e.Methods in org.projog.core.predicate that return PredicateKey Modifier and Type Method Description static PredicateKeyPredicateKey. createForTerm(Term t)Returns aPredicateKeyfor the specified term.static PredicateKeyPredicateKey. createFromNameAndArity(Term t)Methods in org.projog.core.predicate that return types with arguments of type PredicateKey Modifier and Type Method Description java.util.Set<PredicateKey>Predicates. getAllDefinedPredicateKeys()Returns details of all predicates, both user-defined and built-in predicates.java.util.Map<PredicateKey,UserDefinedPredicateFactory>Predicates. getUserDefinedPredicates()Returns details of all the user define predicates of this object.Methods in org.projog.core.predicate with parameters of type PredicateKey Modifier and Type Method Description voidPredicates. addPredicateFactory(PredicateKey key, java.lang.String predicateFactoryClassName)Associates aPredicateFactorywith thisKnowledgeBase.voidPredicates. addPredicateFactory(PredicateKey key, PredicateFactory predicateFactory)Associates aPredicateFactorywith thisKnowledgeBase.intPredicateKey. compareTo(PredicateKey o)Ordered on name or, if names identical, number of arguments.UserDefinedPredicateFactoryPredicates. createOrReturnUserDefinedPredicate(PredicateKey key)Returns theUserDefinedPredicateFactoryfor the specifiedPredicateKey.private PredicateFactoryPredicates. getExistingPredicateFactory(PredicateKey key)PredicateFactoryPredicates. getPredicateFactory(PredicateKey key)Returns thePredicateFactoryassociated with the specifiedPredicateKey.private PredicateFactoryPredicates. instantiatePredicateFactory(PredicateKey key)private booleanPredicates. isExistingJavaPredicate(PredicateKey key)private booleanPredicates. isExistingPredicate(PredicateKey key)private booleanPredicates. isExistingUserDefinedPredicate(PredicateKey key)private PredicateFactoryPredicates. unknownPredicate(PredicateKey key)private voidPredicates. updateExistingPredicate(PredicateKey key, UserDefinedPredicateFactory userDefinedPredicate)Constructors in org.projog.core.predicate with parameters of type PredicateKey Constructor Description UnknownPredicate(KnowledgeBase kb, PredicateKey key) -
Uses of PredicateKey in org.projog.core.predicate.builtin.classify
Fields in org.projog.core.predicate.builtin.classify with type parameters of type PredicateKey Modifier and Type Field Description private static java.util.Map<PredicateKey,CharType.Type>CharType. CHARACTER_TYPES_MAP -
Uses of PredicateKey in org.projog.core.predicate.builtin.clp
Fields in org.projog.core.predicate.builtin.clp with type parameters of type PredicateKey Modifier and Type Field Description private java.util.Map<PredicateKey,java.lang.String>ExpressionFactories. factoryClassNamesprivate java.util.Map<PredicateKey,ExpressionFactory>ExpressionFactories. factoryInstancesMethods in org.projog.core.predicate.builtin.clp with parameters of type PredicateKey Modifier and Type Method Description voidExpressionFactories. addExpressionFactory(PredicateKey key, java.lang.String operatorClassName)Associates aExpressionFactorywith thisKnowledgeBase.private ExpressionFactoryExpressionFactories. getExpressionFactory(PredicateKey key)private ExpressionFactoryExpressionFactories. instantiateExpressionFactory(PredicateKey key) -
Uses of PredicateKey in org.projog.core.predicate.builtin.db
Fields in org.projog.core.predicate.builtin.db declared as PredicateKey Modifier and Type Field Description private PredicateKeyRecord. key(package private) PredicateKeyRecordedDatabase.Chain. keyFields in org.projog.core.predicate.builtin.db with type parameters of type PredicateKey Modifier and Type Field Description private java.util.SortedMap<PredicateKey,RecordedDatabase.Chain>RecordedDatabase. chainsprivate java.util.List<PredicateKey>RecordedDatabase. keysMethods in org.projog.core.predicate.builtin.db with parameters of type PredicateKey Modifier and Type Method Description (package private) IntegerNumberRecordedDatabase. add(PredicateKey key, Term value, boolean addLast)Associates a value with a key.private RecordedDatabase.ChainRecordedDatabase. createChain(PredicateKey key)(package private) java.util.Iterator<Record>RecordedDatabase. getChain(PredicateKey key)private RecordedDatabase.ChainRecordedDatabase. getOrCreateChain(PredicateKey key)Constructors in org.projog.core.predicate.builtin.db with parameters of type PredicateKey Constructor Description Chain(PredicateKey key)Record(PredicateKey key, IntegerNumber reference, Term value) -
Uses of PredicateKey in org.projog.core.predicate.builtin.debug
Methods in org.projog.core.predicate.builtin.debug with parameters of type PredicateKey Modifier and Type Method Description private voidAlterSpyPoint. setSpyPoint(PredicateKey key)Method parameters in org.projog.core.predicate.builtin.debug with type arguments of type PredicateKey Modifier and Type Method Description private voidAlterSpyPoint. setSpyPoints(java.util.List<PredicateKey> keys) -
Uses of PredicateKey in org.projog.core.predicate.builtin.kb
Fields in org.projog.core.predicate.builtin.kb declared as PredicateKey Modifier and Type Field Description (package private) PredicateKeyAddUserDefinedArithmeticOperator.UserDefinedArithmeticOperator. keyFields in org.projog.core.predicate.builtin.kb with type parameters of type PredicateKey Modifier and Type Field Description private java.util.Map<PredicateKey,Numeric>Flag. flagsprivate java.util.Iterator<PredicateKey>CurrentPredicate.Retryable. iteratorMethods in org.projog.core.predicate.builtin.kb with parameters of type PredicateKey Modifier and Type Method Description private java.util.Iterator<ClauseModel>Listing. getClauses(PredicateKey key)private NumericFlag. getOrCreate(PredicateKey pk)private voidListing. listClauses(PredicateKey key)private voidFlag. put(PredicateKey pk, Term value)Constructors in org.projog.core.predicate.builtin.kb with parameters of type PredicateKey Constructor Description UserDefinedArithmeticOperator(Predicates p, PredicateKey originalKey)Constructor parameters in org.projog.core.predicate.builtin.kb with type arguments of type PredicateKey Constructor Description Retryable(Term arg, java.util.Set<PredicateKey> keys) -
Uses of PredicateKey in org.projog.core.predicate.udp
Fields in org.projog.core.predicate.udp declared as PredicateKey Modifier and Type Field Description private PredicateKeyStaticUserDefinedPredicateFactory. predicateKeyMethods in org.projog.core.predicate.udp that return PredicateKey Modifier and Type Method Description PredicateKeyClauseModel. getPredicateKey()PredicateKeyDynamicUserDefinedPredicateFactory. getPredicateKey()PredicateKeyStaticUserDefinedPredicateFactory. getPredicateKey()PredicateKeyUserDefinedPredicateFactory. getPredicateKey()Returns the key for the predicate this object representsConstructors in org.projog.core.predicate.udp with parameters of type PredicateKey Constructor Description DynamicUserDefinedPredicateFactory(KnowledgeBase kb, PredicateKey predicateKey)StaticUserDefinedPredicateFactory(KnowledgeBase kb, PredicateKey predicateKey) -
Uses of PredicateKey in org.projog.tools
Fields in org.projog.tools declared as PredicateKey Modifier and Type Field Description private static PredicateKeyProjogConsole. QUIT_COMMANDCommand user can enter to exit the console application.
-