Packages

c

gapt.formats.tptp.statistics

CommonProofStats

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
Linear Supertypes
CSVConvertible[String], Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CommonProofStats
  2. CSVConvertible
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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

  1. abstract def csvHeader(): CSVRow[String]

    Returns the csv header decribing the data

    Returns the csv header decribing the data

    Definition Classes
    CSVConvertible
  2. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. 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
  4. 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()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val clause_frequency: Map[ClauseId, Int]
  8. val clause_sizes: Statistic[Int]
  9. val clause_weights: Statistic[Int]
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  11. val dagSize: BigInt
  12. def dagSizeByDepth(): BigDecimal

    Computes dagSize / depth

  13. val depth: Int
  14. def derived_statistics(): Option[Statistic[Int]]

    Computes statistics how often derived axioms are reused

  15. 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
  16. 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
  17. 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
  18. 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
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  21. 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()
  22. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. val name: T
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. val reused_axioms: Map[RuleName, (String, Int)]
  30. val reused_derived: Map[RuleName, (String, Int)]
  31. def reused_statistics(): Option[Statistic[Int]]

    Computes statistics how often axioms are reused

  32. val rule_histogram: Map[RuleName, Int]
  33. def sizeRatio(): BigDecimal

    Computes treeSize / dagSize

  34. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String
    Definition Classes
    AnyRef → Any
  36. val treeSize: BigInt
  37. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  39. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. 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

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from CSVConvertible[String]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from CommonProofStats[T] to any2stringadd[CommonProofStats[T]]

Inherited by implicit conversion StringFormat from CommonProofStats[T] to StringFormat[CommonProofStats[T]]

Inherited by implicit conversion Ensuring from CommonProofStats[T] to Ensuring[CommonProofStats[T]]

Inherited by implicit conversion ArrowAssoc from CommonProofStats[T] to ArrowAssoc[CommonProofStats[T]]

Ungrouped