Interface ConceptCache

  • All Superinterfaces:
    java.util.Map<openllet.aterm.ATermAppl,​CachedNode>
    All Known Implementing Classes:
    AbstractConceptCache, ConceptCacheLRU

    public interface ConceptCache
    extends java.util.Map<openllet.aterm.ATermAppl,​CachedNode>

    Title: Concept Cache

    Copyright: Copyright (c) 2007

    Company: Clark & Parsia, LLC.

    Author:
    Ron Alford
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface java.util.Map

        java.util.Map.Entry<K extends java.lang.Object,​V extends java.lang.Object>
    • Method Detail

      • getMaxSize

        int getMaxSize()
        Returns:
        the maximum number of non-primitive concepts allowed in the _cache
      • setMaxSize

        void setMaxSize​(int maxSize)
        Set the maximum number of non-primitive concepts allowed in the cache
        Parameters:
        maxSize -
      • getSat

        Bool getSat​(openllet.aterm.ATermAppl c)
        Parameters:
        c - is the concept
        Returns:
        the satisfiability status of a concept as a three-value boolean.
      • putSat

        boolean putSat​(openllet.aterm.ATermAppl c,
                       boolean isSatisfiable)
        Put an incomplete
        Parameters:
        c -
        isSatisfiable -
        Returns:
        true if put is success
      • getSafety

        CacheSafety getSafety()
        Returns safety checker that tells which concepts are safe to _cache.
        Returns:
        safety checker