Package | Description |
---|---|
org.projog.core |
Provides a Java based implementation of the Prolog logic programming language.
|
org.projog.core.event |
Provides a mechanism for objects to notify and be notified of events.
|
org.projog.core.predicate.udp |
Provides functionality to evaluate user defined predicates defined using Prolog syntax.
|
Modifier and Type | Method and Description |
---|---|
List<ClauseModel> |
ProjogException.getClauses() |
Modifier and Type | Method and Description |
---|---|
void |
ProjogException.addClause(ClauseModel clause) |
Modifier and Type | Method and Description |
---|---|
ClauseModel |
SpyPoints.SpyPointExitEvent.getClauseModel() |
Modifier and Type | Method and Description |
---|---|
void |
SpyPoints.SpyPoint.logExit(Object source,
Term[] args,
ClauseModel clause)
Notifies listeners of that an attempt to evaluate a goal has succeeded.
|
Modifier and Type | Method and Description |
---|---|
ClauseModel |
ClauseModel.copy() |
static ClauseModel |
ClauseModel.createClauseModel(Term original) |
ClauseModel |
UserDefinedPredicateFactory.getClauseModel(int index)
Returns the clause at the specified position in this predicate's list of clauses.
|
ClauseModel |
StaticUserDefinedPredicateFactory.getClauseModel(int index) |
ClauseModel |
DynamicUserDefinedPredicateFactory.getClauseModel(int index) |
ClauseModel |
TailRecursivePredicateMetaData.getFirstClause() |
ClauseModel |
ClauseAction.getModel() |
ClauseModel |
TailRecursivePredicateMetaData.getSecondClause() |
Modifier and Type | Method and Description |
---|---|
Iterator<ClauseModel> |
UserDefinedPredicateFactory.getImplications()
Returns an iterator over the clauses in the predicate in proper sequence.
|
Iterator<ClauseModel> |
StaticUserDefinedPredicateFactory.getImplications()
Returns an iterator over the clauses of this user defined predicate.
|
Iterator<ClauseModel> |
DynamicUserDefinedPredicateFactory.getImplications()
Returns an iterator over the clauses of this user defined predicate.
|
Modifier and Type | Method and Description |
---|---|
void |
UserDefinedPredicateFactory.addFirst(ClauseModel clauseModel)
Adds a clause to the beginning of the predicate's list of clauses.
|
void |
StaticUserDefinedPredicateFactory.addFirst(ClauseModel clauseModel)
Not supported.
|
void |
DynamicUserDefinedPredicateFactory.addFirst(ClauseModel clauseModel) |
void |
UserDefinedPredicateFactory.addLast(ClauseModel clauseModel)
Adds a clause to the end of the predicate's list of clauses.
|
void |
StaticUserDefinedPredicateFactory.addLast(ClauseModel clauseModel)
Adds new clause to list of clauses for this predicate.
|
void |
DynamicUserDefinedPredicateFactory.addLast(ClauseModel clauseModel) |
Modifier and Type | Method and Description |
---|---|
static TailRecursivePredicateMetaData |
TailRecursivePredicateMetaData.create(KnowledgeBase kb,
List<ClauseModel> clauses)
Returns a new
TailRecursivePredicateMetaData representing the user defined predicate defined by the
specified clauses or null if the predicate is not tail recursive. |
Copyright © 2024. All rights reserved.