Class PhysicsConstraintValidator.ConstraintViolation
java.lang.Object
neqsim.process.ml.surrogate.PhysicsConstraintValidator.ConstraintViolation
- All Implemented Interfaces:
Serializable
- Enclosing class:
PhysicsConstraintValidator
public static class PhysicsConstraintValidator.ConstraintViolation
extends Object
implements Serializable
Details of a constraint violation.
- Version:
- 1.0
- Author:
- ESOL
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstraintViolation(String constraintName, String variable, double value, String message) Constructor for a constraint violation. -
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
constraintName
-
variable
-
value
private final double value -
message
-
-
Constructor Details
-
ConstraintViolation
Constructor for a constraint violation.- Parameters:
constraintName- name of the violated constraintvariable- the variable that violated the constraintvalue- the value of the variablemessage- explanation of the violation
-
-
Method Details
-
getConstraintName
-
getVariable
-
getValue
public double getValue() -
getMessage
-
toString
-