public abstract class AbstractStore extends AbstractAtomSet implements Store
Constructor and Description |
---|
AbstractStore() |
Modifier and Type | Method and Description |
---|---|
BatchProcessor |
createBatchProcessor() |
int |
getDomainSize()
Returns the numbers of different terms referenced by atoms in this store
or a greater estimation of it.
|
int |
size(Predicate p)
Returns the number of atoms related to the specified predicate or a
greater estimation of it.
|
addAll, addAll, constantsIterator, contains, equals, equals, getConstants, getLiterals, getPredicates, getTerms, getTerms, getVariables, isEmpty, isSubSetOf, literalsIterator, removeAll, removeAll, toString, variablesIterator
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
atomsByPredicate, close, isWriteable, iterator, match, predicatesIterator, termsByPredicatePosition, termsIterator, termsIterator
add, addAll, addAll, clear, constantsIterator, contains, getConstants, getFreshSymbolGenerator, getLiterals, getPredicates, getTerms, getTerms, getVariables, isEmpty, isSubSetOf, literalsIterator, remove, removeAll, removeAll, variablesIterator
public BatchProcessor createBatchProcessor() throws AtomSetException
createBatchProcessor
in interface Store
AtomSetException
public int size(Predicate p)
Store
Integer.MAX_VALUE
.public int getDomainSize()
Store
Integer.MAX_VALUE
.getDomainSize
in interface Store
Copyright © 2014–2018 GraphIK (INRIA - LIRMM). All rights reserved.