Class QueryCacheSimple

java.lang.Object
jason.asSemantics.QueryCacheSimple

public class QueryCacheSimple
extends java.lang.Object
  • Field Summary

    Fields
    Modifier and Type Field Description
    private java.util.Map<Literal,​java.util.List<Unifier>> cache  
    protected java.util.logging.Logger logger  
    private QueryProfiling prof  
  • Constructor Summary

    Constructors
    Constructor Description
    QueryCacheSimple​(Agent ag, QueryProfiling p)  
  • Method Summary

    Modifier and Type Method Description
    java.util.Iterator<Unifier> getCache​(Literal f)  
    void queryFinished​(Literal f, java.util.List<Unifier> r)  
    void reset()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • prof

      private QueryProfiling prof
    • cache

      private java.util.Map<Literal,​java.util.List<Unifier>> cache
    • logger

      protected java.util.logging.Logger logger
  • Constructor Details

  • Method Details

    • reset

      public void reset()
    • getCache

      public java.util.Iterator<Unifier> getCache​(Literal f)
    • queryFinished

      public void queryFinished​(Literal f, java.util.List<Unifier> r)