Record Class PreparedSmtRule
java.lang.Object
java.lang.Record
tools.refinery.store.reasoning.smt.internal.PreparedSmtRule
public record PreparedSmtRule(RelationalQuery partialPrecondition, RelationalQuery candidatePrecondition, Term<TruthValue> assertedTerm, org.eclipse.collections.api.map.primitive.ObjectIntMap<NodeVariable> parameterMap, List<PreparedSmtRule.Influence> influences)
extends Record
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionPreparedSmtRule(RelationalQuery partialPrecondition, RelationalQuery candidatePrecondition, Term<TruthValue> assertedTerm, org.eclipse.collections.api.map.primitive.ObjectIntMap<NodeVariable> parameterMap, List<PreparedSmtRule.Influence> influences) Creates an instance of aPreparedSmtRulerecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theassertedTermrecord component.Returns the value of thecandidatePreconditionrecord component.final booleanIndicates whether some other object is "equal to" this one.getQuery(Concreteness concreteness) final inthashCode()Returns a hash code value for this object.Returns the value of theinfluencesrecord component.static PreparedSmtRuleof(TheoryRule rule) org.eclipse.collections.api.map.primitive.ObjectIntMap<NodeVariable> Returns the value of theparameterMaprecord component.Returns the value of thepartialPreconditionrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
PreparedSmtRule
public PreparedSmtRule(RelationalQuery partialPrecondition, RelationalQuery candidatePrecondition, Term<TruthValue> assertedTerm, org.eclipse.collections.api.map.primitive.ObjectIntMap<NodeVariable> parameterMap, List<PreparedSmtRule.Influence> influences) Creates an instance of aPreparedSmtRulerecord class.- Parameters:
partialPrecondition- the value for thepartialPreconditionrecord componentcandidatePrecondition- the value for thecandidatePreconditionrecord componentassertedTerm- the value for theassertedTermrecord componentparameterMap- the value for theparameterMaprecord componentinfluences- the value for theinfluencesrecord component
-
-
Method Details
-
of
-
getQuery
-
toString
-
hashCode
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
partialPrecondition
Returns the value of thepartialPreconditionrecord component.- Returns:
- the value of the
partialPreconditionrecord component
-
candidatePrecondition
Returns the value of thecandidatePreconditionrecord component.- Returns:
- the value of the
candidatePreconditionrecord component
-
assertedTerm
Returns the value of theassertedTermrecord component.- Returns:
- the value of the
assertedTermrecord component
-
parameterMap
Returns the value of theparameterMaprecord component.- Returns:
- the value of the
parameterMaprecord component
-
influences
Returns the value of theinfluencesrecord component.- Returns:
- the value of the
influencesrecord component
-