Package ch.so.agi.mcp.constraint
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 Summary
ConstructorsConstructorDescriptionResult(boolean analyzed, int stateBudget, int examinedStates, List<ConstraintInteractionAnalysis.ContextResult> contexts, String scope, String limitation) Creates an instance of aResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionbooleananalyzed()Returns the value of theanalyzedrecord component.contexts()Returns the value of thecontextsrecord component.final booleanIndicates whether some other object is "equal to" this one.evidence()intReturns the value of theexaminedStatesrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of thelimitationrecord component.scope()Returns the value of thescoperecord component.intReturns the value of thestateBudgetrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Result
public Result(boolean analyzed, int stateBudget, int examinedStates, List<ConstraintInteractionAnalysis.ContextResult> contexts, String scope, String limitation) Creates an instance of aResultrecord class.- Parameters:
analyzed- the value for theanalyzedrecord componentstateBudget- the value for thestateBudgetrecord componentexaminedStates- the value for theexaminedStatesrecord componentcontexts- the value for thecontextsrecord componentscope- the value for thescoperecord componentlimitation- the value for thelimitationrecord component
-
-
Method Details
-
evidence
-
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 '=='. -
analyzed
public boolean analyzed()Returns the value of theanalyzedrecord component.- Returns:
- the value of the
analyzedrecord component
-
stateBudget
public int stateBudget()Returns the value of thestateBudgetrecord component.- Returns:
- the value of the
stateBudgetrecord component
-
examinedStates
public int examinedStates()Returns the value of theexaminedStatesrecord component.- Returns:
- the value of the
examinedStatesrecord component
-
contexts
Returns the value of thecontextsrecord component.- Returns:
- the value of the
contextsrecord component
-
scope
Returns the value of thescoperecord component.- Returns:
- the value of the
scoperecord component
-
limitation
Returns the value of thelimitationrecord component.- Returns:
- the value of the
limitationrecord component
-