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.predicate | |
org.projog.core.predicate.builtin.clp |
Predicates to support constraint logic programming.
|
org.projog.core.predicate.udp |
Provides functionality to evaluate user defined predicates defined using Prolog syntax.
|
Modifier and Type | Method and Description |
---|---|
PredicateKey |
ProjogStackTraceElement.getPredicateKey()
Represents the user defined predicate this stack trace element was generated for.
|
Modifier and Type | Method and Description |
---|---|
void |
Projog.addArithmeticOperator(PredicateKey key,
ArithmeticOperator operator)
|
void |
Projog.addPredicateFactory(PredicateKey key,
PredicateFactory predicateFactory)
|
Modifier and Type | Method and Description |
---|---|
PredicateKey |
SpyPoints.SpyPoint.getPredicateKey() |
PredicateKey |
SpyPoints.SpyPointEvent.getPredicateKey() |
Modifier and Type | Method and Description |
---|---|
Map<PredicateKey,SpyPoints.SpyPoint> |
SpyPoints.getSpyPoints() |
Modifier and Type | Method and Description |
---|---|
SpyPoints.SpyPoint |
SpyPoints.getSpyPoint(PredicateKey key) |
void |
SpyPoints.setSpyPoint(PredicateKey key,
boolean set) |
Modifier and Type | Method and Description |
---|---|
static List<PredicateKey> |
KnowledgeBaseUtils.getPredicateKeysByName(KnowledgeBase kb,
String predicateName)
Returns list of all user defined predicates with the specified name.
|
Modifier and Type | Method and Description |
---|---|
void |
ArithmeticOperators.addArithmeticOperator(PredicateKey key,
ArithmeticOperator operator)
Associates a
ArithmeticOperator with this KnowledgeBase . |
void |
ArithmeticOperators.addArithmeticOperator(PredicateKey key,
String operatorClassName)
Associates a
ArithmeticOperator with this KnowledgeBase . |
ArithmeticOperator |
ArithmeticOperators.getArithmeticOperator(PredicateKey key) |
Modifier and Type | Method and Description |
---|---|
static PredicateKey |
PredicateKey.createForTerm(Term t)
Returns a
PredicateKey for the specified term. |
static PredicateKey |
PredicateKey.createFromNameAndArity(Term t) |
Modifier and Type | Method and Description |
---|---|
Set<PredicateKey> |
Predicates.getAllDefinedPredicateKeys()
Returns details of all predicates, both user-defined and built-in predicates.
|
Map<PredicateKey,UserDefinedPredicateFactory> |
Predicates.getUserDefinedPredicates()
Returns details of all the user define predicates of this object.
|
Modifier and Type | Method and Description |
---|---|
void |
Predicates.addPredicateFactory(PredicateKey key,
PredicateFactory predicateFactory)
Associates a
PredicateFactory with this KnowledgeBase . |
void |
Predicates.addPredicateFactory(PredicateKey key,
String predicateFactoryClassName)
Associates a
PredicateFactory with this KnowledgeBase . |
int |
PredicateKey.compareTo(PredicateKey o)
Ordered on name or, if names identical, number of arguments.
|
UserDefinedPredicateFactory |
Predicates.createOrReturnUserDefinedPredicate(PredicateKey key)
Returns the
UserDefinedPredicateFactory for the specified PredicateKey . |
PredicateFactory |
Predicates.getPredicateFactory(PredicateKey key)
Returns the
PredicateFactory associated with the specified PredicateKey . |
Constructor and Description |
---|
UnknownPredicate(KnowledgeBase kb,
PredicateKey key) |
Modifier and Type | Method and Description |
---|---|
void |
ExpressionFactories.addExpressionFactory(PredicateKey key,
String operatorClassName)
Associates a
ExpressionFactory with this KnowledgeBase . |
Modifier and Type | Method and Description |
---|---|
PredicateKey |
UserDefinedPredicateFactory.getPredicateKey()
Returns the key for the predicate this object represents
|
PredicateKey |
StaticUserDefinedPredicateFactory.getPredicateKey() |
PredicateKey |
DynamicUserDefinedPredicateFactory.getPredicateKey() |
PredicateKey |
ClauseModel.getPredicateKey() |
Constructor and Description |
---|
DynamicUserDefinedPredicateFactory(KnowledgeBase kb,
PredicateKey predicateKey) |
StaticUserDefinedPredicateFactory(KnowledgeBase kb,
PredicateKey predicateKey) |
Copyright © 2024. All rights reserved.