Packages

c

edu.cmu.cs.ls.keymaerax.lemma

LemmaDBBase

abstract class LemmaDBBase extends LemmaDB

Common Lemma Database implemented from string-based storage primitives. Common logic shared by most lemma DB implementations. Most lemma DBs can (and should) be implemented by extending this class and implementing the abstract methods for basic storage operations.

Linear Supertypes
LemmaDB, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LemmaDBBase
  2. LemmaDB
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LemmaDBBase()

Type Members

  1. type LemmaID = String

    Identifies a lemma.

    Identifies a lemma.

    Definition Classes
    LemmaDB

Abstract Value Members

  1. abstract 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
    LemmaDB
  2. abstract def createLemma(): LemmaID

    Creates an identifier for a lemma, without any content.

    Creates an identifier for a lemma, without any content.

    Attributes
    protected
  3. abstract def deleteDatabase(): Unit

    Delete the whole lemma database

    Delete the whole lemma database

    Definition Classes
    LemmaDB
  4. abstract def readLemmas(ids: List[LemmaID]): Option[List[String]]

    Reads a list of lemmas with the given identifiers from the storage, giving back to-be-parsed lemmas.

    Reads a list of lemmas with the given identifiers from the storage, giving back to-be-parsed lemmas.

    Attributes
    protected
  5. abstract def remove(name: 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.

    name

    Identifies the lemma.

    Definition Classes
    LemmaDB
  6. abstract def removeAll(folder: String): Unit

    Removes all lemmas in folder.

    Removes all lemmas in folder.

    Definition Classes
    LemmaDB
  7. abstract def version(): String

    Returns the version of this lemma database.

    Returns the version of this lemma database.

    Definition Classes
    LemmaDB
  8. abstract def writeLemma(id: LemmaID, lemma: String): Unit

    Write the string representation lemma of a lemma under the name id.

    Write the string representation lemma of a lemma under the name id.

    Attributes
    protected

Concrete 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. 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
    LemmaDBBaseLemmaDB
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def flatOpt[T](l: List[Option[T]]): Option[List[T]]

    Turns a list of options into a list or to a None if any list element was None.

    Turns a list of options into a list or to a None if any list element was None. For convenience when implementing bulk get() from individual get()

    Attributes
    protected
  11. final def get(ids: 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.

    returns

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

    Definition Classes
    LemmaDBBaseLemmaDB
  12. 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
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from LemmaDB

Inherited from AnyRef

Inherited from Any

Ungrouped