Class FactIndexerFactory
java.lang.Object
edu.harvard.seas.pl.abcdatalog.util.datastructures.FactIndexerFactory
A factory for creating some useful fact indexers.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ConcurrentFactIndexer
<Queue<PositiveAtom>> Creates a fact indexer that uses concurrent queues for the base container.static ConcurrentFactIndexer
<Set<PositiveAtom>> Creates a fact indexer that uses concurrent sets for the base container.
-
Method Details
-
createConcurrentSetFactIndexer
Creates a fact indexer that uses concurrent sets for the base container.- Returns:
- the fact indexer
-
createConcurrentQueueFactIndexer
Creates a fact indexer that uses concurrent queues for the base container.- Returns:
- the fact indexer
-