Packages

object TstpStatistics

Calculates sketch statistics (TstpProofStats) and replay statistics (RPProofStats) from a list of FileData files as well as errors. Provides serialization to a file.

Source
TstpStatistics.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TstpStatistics
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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 apply[T <: FileData](file: T, print_statistics: Boolean = false): (Either[TstpError[T], TstpProofStats[T]], Either[TstpError[T], RPProofStats[T]])

    Calculate sketch statistics (TstpProofStats) and replay statistics (RPProofStats) for a given file.

    Calculate sketch statistics (TstpProofStats) and replay statistics (RPProofStats) for a given file. If the sketch has a failure, the replay has one as well/

    T

    an instance of FileData describing the input file

    file

    the file to parse

    print_statistics

    print parsing statistics to stdout

    returns

    either: * a tuple of errors * a tuple of a proof sketch statistic and a replay error * a tuple of a proof sketch statistic and a replay statistic

  5. def applyAll[T <: FileData](pfiles: Iterable[T], print_statistics: Boolean = false): ResultBundle[T]

    Apply TstpStatistics.apply to a list of files

    Apply TstpStatistics.apply to a list of files

    T

    an instance of FileData describing the input file

    pfiles

    the files to parse

    print_statistics

    print parsing statitics and progress to stdout (helpful for large batches of files)

    returns

    a ResultBundle mapping files to the corresponding statistics or errors

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def bagErrors[T <: FileData](errors: Iterable[TstpError[T]]): ErrorBags[T]
  8. def bagResults[S <: CASCResult, T](m: Map[S, T]): (Map[Prover, Set[T]], Map[Problem, Set[T]], Map[Problem, Set[T]])

    Divide a maping of CASCResults into submaps for each prover, each problem and those that were solved by all provers

    Divide a maping of CASCResults into submaps for each prover, each problem and those that were solved by all provers

    S

    an instance of CASCResult (which is an instance of FileData)

    T

    the value type of the m

    m

    a map from CASCResults to arbitrary data (intended for TstpProofStats / RPProofStats )

    returns

    a triple of maps, grouping the vakyes of m ... 1) by prover 2) by problem 3) the subset of 1) that has been solved by all provers

  9. def clauseWeight(s: HOLSequent): Int
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  13. def filterExisting[T <: FileData](coll: Iterable[T]): Iterable[T]

    Remove non-existsing files from a list of FileDatas

    Remove non-existsing files from a list of FileDatas

    T

    the instance of FileData describing a file

    coll

    a list of files

    returns

    the filtered list

  14. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def getRPStats[T <: FileData](name: T, rp: ResolutionProof): RPProofStats[T]

    Calculates RPProofStats for a given resolution proof.

    Calculates RPProofStats for a given resolution proof.

    T

    the instance of FileData describing the file name

    name

    the file containing rp

    rp

    the replayed proof

    returns

    proof statistic for rp

  17. def getTSTPStats[T <: FileData](name: T, rp: RefutationSketch): TstpProofStats[T]

    Calculates TstpProofStats for a given refutation sketch.

    Calculates TstpProofStats for a given refutation sketch.

    T

    the instance of FileData describing the file name

    name

    the file containing the sketch

    rp

    the proof sketch

    returns

    proof statistic for rp

  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def loadFile[T <: FileData](v: T, print_statistics: Boolean = false): (Either[TstpError[T], RefutationSketch], Either[TstpError[T], ResolutionProof])

    Load a proof sketch and a replayed proof from a file, if possible

    Load a proof sketch and a replayed proof from a file, if possible

    T

    the FileData instance used to describe files

    v

    the file to parse

    print_statistics

    print statistics to stdout

    returns

    a tuple of either * two TstpErrors * a refutation sketch and a TstpError * a refutation sketch and a resolution proof.

  21. def loadSketch[T <: FileData](v: T, print_statistics: Boolean = false): Either[TstpError[T], RefutationSketch]

    Loads a sketch from a FileData file

    Loads a sketch from a FileData file

    T

    an instance of FileData to describe the input file

    v

    the file to load

    print_statistics

    print details about errors that occur

    returns

    either a TstpError describing what failed or a refutation sketch.

  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def replaySketch[T <: FileData](v: T, tstp_sketch: Either[TstpError[T], RefutationSketch], print_statistics: Boolean = false): Either[TstpError[T], ResolutionProof]

    Replays a sketch

    Replays a sketch

    T

    an instance of FileData to describe the input file

    v

    the source file of the sketch

    tstp_sketch

    the sketch to replay

    print_statistics

    print details about errors that occur

    returns

    either a TstpError describing what failed or a resolution proof.

  26. def resultToCSV[T <: FileData](rpstats: Iterable[RPProofStats[T]]): CSVFile[String]

    Converts a list of RPProofStats to a CSV File

    Converts a list of RPProofStats to a CSV File

    T

    the FileData instance describing a TSTP file

    rpstats

    the stats to convert

    returns

    a CSV file with a row for each element in rpstats

  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped