Record Class ConstraintInteractionAnalysis.Result

java.lang.Object
java.lang.Record
ch.so.agi.mcp.constraint.ConstraintInteractionAnalysis.Result
Enclosing class:
ConstraintInteractionAnalysis

public static record ConstraintInteractionAnalysis.Result(boolean analyzed, int stateBudget, int examinedStates, List<ConstraintInteractionAnalysis.ContextResult> contexts, String scope, String limitation) extends Record
  • Constructor Details

    • Result

      public Result(boolean analyzed, int stateBudget, int examinedStates, List<ConstraintInteractionAnalysis.ContextResult> contexts, String scope, String limitation)
      Creates an instance of a Result record class.
      Parameters:
      analyzed - the value for the analyzed record component
      stateBudget - the value for the stateBudget record component
      examinedStates - the value for the examinedStates record component
      contexts - the value for the contexts record component
      scope - the value for the scope record component
      limitation - the value for the limitation record component
  • Method Details

    • evidence

      public EvidenceSummary.Check evidence()
    • 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.
    • analyzed

      public boolean analyzed()
      Returns the value of the analyzed record component.
      Returns:
      the value of the analyzed record component
    • stateBudget

      public int stateBudget()
      Returns the value of the stateBudget record component.
      Returns:
      the value of the stateBudget record component
    • examinedStates

      public int examinedStates()
      Returns the value of the examinedStates record component.
      Returns:
      the value of the examinedStates record component
    • contexts

      Returns the value of the contexts record component.
      Returns:
      the value of the contexts record component
    • scope

      public String scope()
      Returns the value of the scope record component.
      Returns:
      the value of the scope record component
    • limitation

      public String limitation()
      Returns the value of the limitation record component.
      Returns:
      the value of the limitation record component