Record Class VerificationResult.Statistics

java.lang.Object
java.lang.Record
net.maswag.falcaun.verification.VerificationResult.Statistics
Record Components:
learningRounds - the number of the learning rounds, i.e., the hypotheses constructed by the learner
hypothesisStates - the number of the states of the final learned Mealy machine (0 if not available)
sutExecutions - the number of the executions of the SUL if available
eqEvaluations - the number of the evaluations of input words by the equivalence oracles if available. This is not necessarily the number of the SUL executions because an evaluation may be answered by a cache.
simulationTimeSeconds - the time spent for the executions of the SUL if available
Enclosing class:
VerificationResult<I>

public static record VerificationResult.Statistics(int learningRounds, int hypothesisStates, OptionalInt sutExecutions, OptionalInt eqEvaluations, OptionalDouble simulationTimeSeconds) extends Record
Statistics of black-box checking.
  • Field Details

  • Constructor Details

    • Statistics

      public Statistics(int learningRounds, int hypothesisStates)
      Statistics without the information on the SUL executions.
    • Statistics

      public Statistics(int learningRounds, int hypothesisStates, OptionalInt sutExecutions, OptionalInt eqEvaluations, OptionalDouble simulationTimeSeconds)
      Creates an instance of a Statistics record class.
      Parameters:
      learningRounds - the value for the learningRounds record component
      hypothesisStates - the value for the hypothesisStates record component
      sutExecutions - the value for the sutExecutions record component
      eqEvaluations - the value for the eqEvaluations record component
      simulationTimeSeconds - the value for the simulationTimeSeconds record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • learningRounds

      public int learningRounds()
      Returns the value of the learningRounds record component.
      Returns:
      the value of the learningRounds record component
    • hypothesisStates

      public int hypothesisStates()
      Returns the value of the hypothesisStates record component.
      Returns:
      the value of the hypothesisStates record component
    • sutExecutions

      public OptionalInt sutExecutions()
      Returns the value of the sutExecutions record component.
      Returns:
      the value of the sutExecutions record component
    • eqEvaluations

      public OptionalInt eqEvaluations()
      Returns the value of the eqEvaluations record component.
      Returns:
      the value of the eqEvaluations record component
    • simulationTimeSeconds

      public OptionalDouble simulationTimeSeconds()
      Returns the value of the simulationTimeSeconds record component.
      Returns:
      the value of the simulationTimeSeconds record component