Packages

c

edu.cmu.cs.ls.keymaerax.lemma

CachedLemmaDB

class CachedLemmaDB extends LemmaDB with Logging

Extends an arbitrary LemmaDB with caching functionality to reduce the cost of repeated accesses to the same Lemma within a given KeYmaeraX session.

Created by bbohrer on 8/3/16.

Linear Supertypes
Logging, LazyLogging, LoggerHolder, LemmaDB, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CachedLemmaDB
  2. Logging
  3. LazyLogging
  4. LoggerHolder
  5. LemmaDB
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CachedLemmaDB(db: LemmaDB)

Type Members

  1. type LemmaID = String

    Identifies a lemma.

    Identifies a lemma.

    Definition Classes
    LemmaDB

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def add(lemma: Lemma): LemmaID

    Adds a new lemma to this lemma DB, with a unique name or None, which will automatically assign a name.

    Adds a new lemma to this lemma DB, with a unique name or None, which will automatically assign a name.

    lemma

    The lemma whose Provable will be inserted under its name.

    returns

    Internal lemma identifier.

    Definition Classes
    CachedLemmaDBLemmaDB
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. final def clearCache(): Unit

    Clears the cache.

  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. final def contains(lemmaID: LemmaID): Boolean

    Indicates whether or not this lemma DB contains a lemma with the specified ID.

    Indicates whether or not this lemma DB contains a lemma with the specified ID.

    lemmaID

    Identifies the lemma.

    returns

    True, if this lemma DB contains a lemma with the specified ID; false otherwise.

    Definition Classes
    CachedLemmaDBLemmaDB
  9. final def deleteDatabase(): Unit

    Delete the whole lemma database

    Delete the whole lemma database

    Definition Classes
    CachedLemmaDBLemmaDB
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def get(lemmaIDs: List[LemmaID]): Option[List[Lemma]]

    Returns the lemmas with IDs lemmaIDs or None if any of the lemmaIDs does not exist.

    Returns the lemmas with IDs lemmaIDs or None if any of the lemmaIDs does not exist.

    lemmaIDs

    Identifies the lemmas.

    returns

    The list of lemmas, if all lemmaIDs exist. None otherwise.

    Definition Classes
    CachedLemmaDBLemmaDB
  14. def get(lemmaID: LemmaID): Option[Lemma]

    Returns the lemma with the given name or None if non-existent.

    Returns the lemma with the given name or None if non-existent.

    lemmaID

    Identifies the lemma.

    returns

    The lemma, if found under the given lemma ID. None otherwise.

    Definition Classes
    LemmaDB
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. lazy val logger: Logger
    Attributes
    protected
    Definition Classes
    LazyLogging → LoggerHolder
  19. final val loggerName: String
    Attributes
    protected
    Definition Classes
    LoggerHolder
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def remove(id: LemmaID): Unit

    Delete the lemma of the given identifier, throwing exceptions if that was unsuccessful.

    Delete the lemma of the given identifier, throwing exceptions if that was unsuccessful.

    Definition Classes
    CachedLemmaDBLemmaDB
  24. final def removeAll(folderName: LemmaID): Unit

    Removes all lemmas in folder.

    Removes all lemmas in folder.

    Definition Classes
    CachedLemmaDBLemmaDB
  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def version(): String

    Returns the version of this lemma database.

    Returns the version of this lemma database.

    Definition Classes
    CachedLemmaDBLemmaDB
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Logging

Inherited from LazyLogging

Inherited from LoggerHolder

Inherited from LemmaDB

Inherited from AnyRef

Inherited from Any

Ungrouped