abstract class CommonProofStats[T <: FileData] extends Serializable with CSVConvertible[String]
Statistical data for a gapt.proofs.resolution.ResolutionProof proof rp
- T
a subtype of FileData that represents the location and metadata of a TSTP file
- Annotations
- @SerialVersionUID()
- Source
- common.scala
- Alphabetic
- By Inheritance
- CommonProofStats
- CSVConvertible
- Serializable
- Serializable
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
CommonProofStats(name: T, dagSize: BigInt, treeSize: BigInt, depth: Int, rule_histogram: Map[RuleName, Int], clause_frequency: Map[ClauseId, Int], reused_axioms: Map[RuleName, (String, Int)], reused_derived: Map[RuleName, (String, Int)], clause_sizes: Statistic[Int], clause_weights: Statistic[Int])
- name
the name of the problem
- dagSize
the same as rp.dagSize
- treeSize
the same as rp.treeSize
- depth
the same as sketch.depth
- rule_histogram
map from a rule's name to how often the rule appears in the proof
- clause_frequency
a map from the clause id to how often the clause appears
- reused_axioms
the frequency of all leaf nodes that are used at least once
- reused_derived
the frequency of all inner nodes that are used at least once
- clause_sizes
statistics over the length of clauses in the proof
Abstract Value Members
-
abstract
def
csvHeader(): CSVRow[String]
Returns the csv header decribing the data
Returns the csv header decribing the data
- Definition Classes
- CSVConvertible
-
abstract
def
toCSV(): CSVRow[String]
Converts the data to a CSV row
Converts the data to a CSV row
- Definition Classes
- CSVConvertible
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from CommonProofStats[T] to any2stringadd[CommonProofStats[T]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (CommonProofStats[T], B)
- Implicit
- This member is added by an implicit conversion from CommonProofStats[T] to ArrowAssoc[CommonProofStats[T]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val clause_frequency: Map[ClauseId, Int]
- val clause_sizes: Statistic[Int]
- val clause_weights: Statistic[Int]
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate() @throws( ... )
- val dagSize: BigInt
-
def
dagSizeByDepth(): BigDecimal
Computes dagSize / depth
- val depth: Int
-
def
derived_statistics(): Option[Statistic[Int]]
Computes statistics how often derived axioms are reused
-
def
ensuring(cond: (CommonProofStats[T]) ⇒ Boolean, msg: ⇒ Any): CommonProofStats[T]
- Implicit
- This member is added by an implicit conversion from CommonProofStats[T] to Ensuring[CommonProofStats[T]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (CommonProofStats[T]) ⇒ Boolean): CommonProofStats[T]
- Implicit
- This member is added by an implicit conversion from CommonProofStats[T] to Ensuring[CommonProofStats[T]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): CommonProofStats[T]
- Implicit
- This member is added by an implicit conversion from CommonProofStats[T] to Ensuring[CommonProofStats[T]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): CommonProofStats[T]
- Implicit
- This member is added by an implicit conversion from CommonProofStats[T] to Ensuring[CommonProofStats[T]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from CommonProofStats[T] to StringFormat[CommonProofStats[T]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: T
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val reused_axioms: Map[RuleName, (String, Int)]
- val reused_derived: Map[RuleName, (String, Int)]
-
def
reused_statistics(): Option[Statistic[Int]]
Computes statistics how often axioms are reused
- val rule_histogram: Map[RuleName, Int]
-
def
sizeRatio(): BigDecimal
Computes treeSize / dagSize
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- val treeSize: BigInt
-
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( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
→[B](y: B): (CommonProofStats[T], B)
- Implicit
- This member is added by an implicit conversion from CommonProofStats[T] to ArrowAssoc[CommonProofStats[T]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
This is the API documentation for GAPT.
The main package is gapt.