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
- Alphabetic
- By Inheritance
- TstpStatistics
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
-
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bagErrors[T <: FileData](errors: Iterable[TstpError[T]]): ErrorBags[T]
-
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
- def clauseWeight(s: HOLSequent): Int
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
filterExisting[T <: FileData](coll: Iterable[T]): Iterable[T]
Remove non-existsing files from a list of FileDatas
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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
-
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
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
-
def
loadSketch[T <: FileData](v: T, print_statistics: Boolean = false): Either[TstpError[T], RefutationSketch]
Loads a sketch from a FileData file
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
replaySketch[T <: FileData](v: T, tstp_sketch: Either[TstpError[T], RefutationSketch], print_statistics: Boolean = false): Either[TstpError[T], ResolutionProof]
Replays a sketch
-
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
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
This is the API documentation for GAPT.
The main package is gapt.