public class IndexedClauses extends Object
Constructor and Description |
---|
IndexedClauses() |
IndexedClauses(IndexDescriptor indexDescriptor) |
IndexedClauses(List<IndexDescriptor> indexDescriptors) |
Modifier and Type | Method and Description |
---|---|
protected void |
addClause(Clause clause) |
Iterator<Clause> |
indexedClausesIterator(Term head)
This method answers an iterator of clauses which heads "may" unify with the parameter according to the existing indexes applicable to it.
|
void |
reset() |
void |
retract(Clause clause) |
public IndexedClauses()
public IndexedClauses(IndexDescriptor indexDescriptor)
public IndexedClauses(List<IndexDescriptor> indexDescriptors)
protected void addClause(Clause clause)
public void retract(Clause clause)
public void reset()
public Iterator<Clause> indexedClausesIterator(Term head)
head
- the term that may unify with the head of the clauses.Copyright © 2014. All rights reserved.