Class FailedElementDetails

java.lang.Object
net.ssehub.easy.reasoning.sseReasoner.functions.FailedElementDetails

public class FailedElementDetails extends Object
Class for storing Failed elements details.
Author:
Sizonenko
  • Field Details

    • problemPoints

      private Set<net.ssehub.easy.varModel.confModel.IDecisionVariable> problemPoints
    • problemConstraintPart

      private net.ssehub.easy.varModel.cst.ConstraintSyntaxTree problemConstraintPart
    • problemConstraint

      private net.ssehub.easy.varModel.model.Constraint problemConstraint
    • errorClassifier

      private Integer 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 of IDecisionVariables that may caused a constraint to fail.
      Parameters:
      problemPoints - Set of IDecisionVariables.
    • setProblemConstraintPart

      public void setProblemConstraintPart(net.ssehub.easy.varModel.cst.ConstraintSyntaxTree problemConstraintPart)
      Method for adding a part of failed Constraints ConstraintSyntaxTree.
      Parameters:
      problemConstraintPart - Part of failed constraint.
    • setProblemConstraint

      public void setProblemConstraint(net.ssehub.easy.varModel.model.Constraint problemConstraint)
      Method for adding the failed Constraints Constraint.
      Parameters:
      problemConstraint - The failed constraint.
    • setErrorClassifier

      public void setErrorClassifier(Integer classifier)
      Method for adding error classifier.
      Parameters:
      classifier - error classifier.
    • getProblemPoints

      public Set<net.ssehub.easy.varModel.confModel.IDecisionVariable> getProblemPoints()
      Method for returning a set of IDecisionVariables 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 Constraints ConstraintSyntaxTree.
      Returns:
      Part of failed constraint.
    • getProblemConstraint

      public net.ssehub.easy.varModel.model.Constraint getProblemConstraint()
      Method for returning the failed Constraint Constraint.
      Returns:
      The failed constraint.
    • getErrorClassifier

      public Integer getErrorClassifier()
      Method for returning error classifier.
      Returns:
      error classifier.