Class FactIndexerFactory

java.lang.Object
edu.harvard.seas.pl.abcdatalog.util.datastructures.FactIndexerFactory

public final class FactIndexerFactory extends Object
A factory for creating some useful fact indexers.
  • Method Details

    • createConcurrentSetFactIndexer

      public static ConcurrentFactIndexer<Set<PositiveAtom>> createConcurrentSetFactIndexer()
      Creates a fact indexer that uses concurrent sets for the base container.
      Returns:
      the fact indexer
    • createConcurrentQueueFactIndexer

      public static ConcurrentFactIndexer<Queue<PositiveAtom>> createConcurrentQueueFactIndexer()
      Creates a fact indexer that uses concurrent queues for the base container.
      Returns:
      the fact indexer