Class FailedElementDetails
java.lang.Object
net.ssehub.easy.reasoning.sseReasoner.functions.FailedElementDetails
Class for storing Failed elements details.
- Author:
- Sizonenko
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionMethod for returning error classifier.net.ssehub.easy.varModel.model.ConstraintMethod for returning the failed ConstraintConstraint.net.ssehub.easy.varModel.cst.ConstraintSyntaxTreeMethod for returning a part of failed ConstraintsConstraintSyntaxTree.Set<net.ssehub.easy.varModel.confModel.IDecisionVariable> Method for returning a set ofIDecisionVariables that may caused a constraint to fail.voidsetErrorClassifier(Integer classifier) Method for adding error classifier.voidsetProblemConstraint(net.ssehub.easy.varModel.model.Constraint problemConstraint) Method for adding the failed ConstraintsConstraint.voidsetProblemConstraintPart(net.ssehub.easy.varModel.cst.ConstraintSyntaxTree problemConstraintPart) Method for adding a part of failed ConstraintsConstraintSyntaxTree.voidsetProblemPoints(Set<net.ssehub.easy.varModel.confModel.IDecisionVariable> problemPoints) Method for adding a set ofIDecisionVariables that may caused a constraint to fail.
-
Field Details
-
problemPoints
-
problemConstraintPart
private net.ssehub.easy.varModel.cst.ConstraintSyntaxTree problemConstraintPart -
problemConstraint
private net.ssehub.easy.varModel.model.Constraint problemConstraint -
errorClassifier
-
-
Constructor Details
-
FailedElementDetails
public FailedElementDetails()Main constructor.
-
-
Method Details
-
setProblemPoints
public void setProblemPoints(Set<net.ssehub.easy.varModel.confModel.IDecisionVariable> problemPoints) Method for adding a set ofIDecisionVariables that may caused a constraint to fail.- Parameters:
problemPoints- Set ofIDecisionVariables.
-
setProblemConstraintPart
public void setProblemConstraintPart(net.ssehub.easy.varModel.cst.ConstraintSyntaxTree problemConstraintPart) Method for adding a part of failed ConstraintsConstraintSyntaxTree.- Parameters:
problemConstraintPart- Part of failed constraint.
-
setProblemConstraint
public void setProblemConstraint(net.ssehub.easy.varModel.model.Constraint problemConstraint) Method for adding the failed ConstraintsConstraint.- Parameters:
problemConstraint- The failed constraint.
-
setErrorClassifier
Method for adding error classifier.- Parameters:
classifier- error classifier.
-
getProblemPoints
Method for returning a set ofIDecisionVariables that may caused a constraint to fail.- Returns:
- problemPoints Set of
IDecisionVariables.
-
getProblemConstraintPart
public net.ssehub.easy.varModel.cst.ConstraintSyntaxTree getProblemConstraintPart()Method for returning a part of failed ConstraintsConstraintSyntaxTree.- Returns:
- Part of failed constraint.
-
getProblemConstraint
public net.ssehub.easy.varModel.model.Constraint getProblemConstraint()Method for returning the failed ConstraintConstraint.- Returns:
- The failed constraint.
-
getErrorClassifier
Method for returning error classifier.- Returns:
- error classifier.
-