Package net.maswag.falcaun.verification
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 learnerhypothesisStates- 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 availableeqEvaluations- 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 Summary
FieldsModifier and TypeFieldDescriptionprivate final OptionalIntThe field for theeqEvaluationsrecord component.private final intThe field for thehypothesisStatesrecord component.private final intThe field for thelearningRoundsrecord component.private final OptionalDoubleThe field for thesimulationTimeSecondsrecord component.private final OptionalIntThe field for thesutExecutionsrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionStatistics(int learningRounds, int hypothesisStates) Statistics without the information on the SUL executions.Statistics(int learningRounds, int hypothesisStates, OptionalInt sutExecutions, OptionalInt eqEvaluations, OptionalDouble simulationTimeSeconds) Creates an instance of aStatisticsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theeqEvaluationsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thehypothesisStatesrecord component.intReturns the value of thelearningRoundsrecord component.Returns the value of thesimulationTimeSecondsrecord component.Returns the value of thesutExecutionsrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
learningRounds
private final int learningRoundsThe field for thelearningRoundsrecord component. -
hypothesisStates
private final int hypothesisStatesThe field for thehypothesisStatesrecord component. -
sutExecutions
The field for thesutExecutionsrecord component. -
eqEvaluations
The field for theeqEvaluationsrecord component. -
simulationTimeSeconds
The field for thesimulationTimeSecondsrecord component.
-
-
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 aStatisticsrecord class.- Parameters:
learningRounds- the value for thelearningRoundsrecord componenthypothesisStates- the value for thehypothesisStatesrecord componentsutExecutions- the value for thesutExecutionsrecord componenteqEvaluations- the value for theeqEvaluationsrecord componentsimulationTimeSeconds- the value for thesimulationTimeSecondsrecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
learningRounds
public int learningRounds()Returns the value of thelearningRoundsrecord component.- Returns:
- the value of the
learningRoundsrecord component
-
hypothesisStates
public int hypothesisStates()Returns the value of thehypothesisStatesrecord component.- Returns:
- the value of the
hypothesisStatesrecord component
-
sutExecutions
Returns the value of thesutExecutionsrecord component.- Returns:
- the value of the
sutExecutionsrecord component
-
eqEvaluations
Returns the value of theeqEvaluationsrecord component.- Returns:
- the value of the
eqEvaluationsrecord component
-
simulationTimeSeconds
Returns the value of thesimulationTimeSecondsrecord component.- Returns:
- the value of the
simulationTimeSecondsrecord component
-