TstpStatistics
Calculates sketch statistics (TstpProofStats) and replay statistics (RPProofStats) from a list of FileData files as well as errors. Provides serialization to a file.
Attributes
- Source
- TstpStatistics.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TstpStatistics.type
Members list
Value members
Concrete methods
Calculate sketch statistics (TstpProofStats) and replay statistics (RPProofStats) for a given file. If the sketch has a failure, the replay has one as well/
Calculate sketch statistics (TstpProofStats) and replay statistics (RPProofStats) for a given file. If the sketch has a failure, the replay has one as well/
Type parameters
- T
-
an instance of FileData describing the input file
Value parameters
- file
-
the file to parse
- print_statistics
-
print parsing statistics to stdout
Attributes
- 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
- Source
- TstpStatistics.scala
Apply TstpStatistics.apply to a list of files
Apply TstpStatistics.apply to a list of files
Type parameters
- T
-
an instance of FileData describing the input file
Value parameters
- pfiles
-
the files to parse
- print_statistics
-
print parsing statitics and progress to stdout (helpful for large batches of files)
Attributes
- Returns
-
a ResultBundle mapping files to the corresponding statistics or errors
- Source
- TstpStatistics.scala
Attributes
- Source
- TstpStatistics.scala
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
Type parameters
- S
-
an instance of CASCResult (which is an instance of FileData)
- T
-
the value type of the m
Value parameters
- m
-
a map from CASCResults to arbitrary data (intended for TstpProofStats / RPProofStats )
Attributes
- 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
- Source
- TstpStatistics.scala
Attributes
- Source
- TstpStatistics.scala
Remove non-existsing files from a list of FileDatas
Remove non-existsing files from a list of FileDatas
Type parameters
- T
-
the instance of FileData describing a file
Value parameters
- coll
-
a list of files
Attributes
- Returns
-
the filtered list
- Source
- TstpStatistics.scala
Calculates RPProofStats for a given resolution proof.
Calculates RPProofStats for a given resolution proof.
Type parameters
- T
-
the instance of FileData describing the file name
Value parameters
- name
-
the file containing rp
- rp
-
the replayed proof
Attributes
- Returns
-
proof statistic for rp
- Source
- TstpStatistics.scala
Calculates TstpProofStats for a given refutation sketch.
Calculates TstpProofStats for a given refutation sketch.
Type parameters
- T
-
the instance of FileData describing the file name
Value parameters
- name
-
the file containing the sketch
- rp
-
the proof sketch
Attributes
- Returns
-
proof statistic for rp
- Source
- TstpStatistics.scala
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
Type parameters
- T
-
the FileData instance used to describe files
Value parameters
- print_statistics
-
print statistics to stdout
- v
-
the file to parse
Attributes
- Returns
-
a tuple of either * two TstpErrors * a refutation sketch and a TstpError * a refutation sketch and a resolution proof.
- Source
- TstpStatistics.scala
Loads a sketch from a FileData file
Loads a sketch from a FileData file
Type parameters
- T
-
an instance of FileData to describe the input file
Value parameters
- print_statistics
-
print details about errors that occur
- v
-
the file to load
Attributes
- Returns
-
either a TstpError describing what failed or a refutation sketch.
- Source
- TstpStatistics.scala
Replays a sketch
Replays a sketch
Type parameters
- T
-
an instance of FileData to describe the input file
Value parameters
- print_statistics
-
print details about errors that occur
- tstp_sketch
-
the sketch to replay
- v
-
the source file of the sketch
Attributes
- Returns
-
either a TstpError describing what failed or a resolution proof.
- Source
- TstpStatistics.scala
Converts a list of RPProofStats to a CSV File
Converts a list of RPProofStats to a CSV File
Type parameters
- T
-
the FileData instance describing a TSTP file
Value parameters
- rpstats
-
the stats to convert
Attributes
- Returns
-
a CSV file with a row for each element in rpstats
- Source
- TstpStatistics.scala