Class FailedElementDetails
- java.lang.Object
-
- net.ssehub.easy.reasoning.sseReasoner.functions.FailedElementDetails
-
public class FailedElementDetails extends java.lang.ObjectClass for storing Failed elements details.- Author:
- Sizonenko
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.IntegererrorClassifierprivate ConstraintproblemConstraintprivate ConstraintSyntaxTreeproblemConstraintPartprivate java.util.Set<IDecisionVariable>problemPoints
-
Constructor Summary
Constructors Constructor Description FailedElementDetails()Main constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.IntegergetErrorClassifier()Method for returning error classifier.ConstraintgetProblemConstraint()Method for returning the failed ConstraintConstraint.ConstraintSyntaxTreegetProblemConstraintPart()Method for returning a part of failed ConstraintsConstraintSyntaxTree.java.util.Set<IDecisionVariable>getProblemPoints()Method for returning a set ofIDecisionVariables that may caused a constraint to fail.voidsetErrorClassifier(java.lang.Integer classifier)Method for adding error classifier.voidsetProblemConstraint(Constraint problemConstraint)Method for adding the failed ConstraintsConstraint.voidsetProblemConstraintPart(ConstraintSyntaxTree problemConstraintPart)Method for adding a part of failed ConstraintsConstraintSyntaxTree.voidsetProblemPoints(java.util.Set<IDecisionVariable> problemPoints)Method for adding a set ofIDecisionVariables that may caused a constraint to fail.
-
-
-
Field Detail
-
problemPoints
private java.util.Set<IDecisionVariable> problemPoints
-
problemConstraintPart
private ConstraintSyntaxTree problemConstraintPart
-
problemConstraint
private Constraint problemConstraint
-
errorClassifier
private java.lang.Integer errorClassifier
-
-
Method Detail
-
setProblemPoints
public void setProblemPoints(java.util.Set<IDecisionVariable> problemPoints)
Method for adding a set ofIDecisionVariables that may caused a constraint to fail.- Parameters:
problemPoints- Set ofIDecisionVariables.
-
setProblemConstraintPart
public void setProblemConstraintPart(ConstraintSyntaxTree problemConstraintPart)
Method for adding a part of failed ConstraintsConstraintSyntaxTree.- Parameters:
problemConstraintPart- Part of failed constraint.
-
setProblemConstraint
public void setProblemConstraint(Constraint problemConstraint)
Method for adding the failed ConstraintsConstraint.- Parameters:
problemConstraint- The failed constraint.
-
setErrorClassifier
public void setErrorClassifier(java.lang.Integer classifier)
Method for adding error classifier.- Parameters:
classifier- error classifier.
-
getProblemPoints
public java.util.Set<IDecisionVariable> getProblemPoints()
Method for returning a set ofIDecisionVariables that may caused a constraint to fail.- Returns:
- problemPoints Set of
IDecisionVariables.
-
getProblemConstraintPart
public ConstraintSyntaxTree getProblemConstraintPart()
Method for returning a part of failed ConstraintsConstraintSyntaxTree.- Returns:
- Part of failed constraint.
-
getProblemConstraint
public Constraint getProblemConstraint()
Method for returning the failed ConstraintConstraint.- Returns:
- The failed constraint.
-
getErrorClassifier
public java.lang.Integer getErrorClassifier()
Method for returning error classifier.- Returns:
- error classifier.
-
-