public static class EvaluationResult.EvaluationPair
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private net.ssehub.easy.varModel.model.Constraint |
constraint |
private EvaluationResult.ConstraintEvaluationResult |
result |
private net.ssehub.easy.varModel.model.values.Value |
value |
| Constructor and Description |
|---|
EvaluationPair(net.ssehub.easy.varModel.model.Constraint constraint)
Creates a pair with an unknown evaluation result.
|
EvaluationPair(net.ssehub.easy.varModel.model.Constraint constraint,
EvaluationResult.ConstraintEvaluationResult result)
Creates a pair with a given evaluation result.
|
EvaluationPair(net.ssehub.easy.varModel.model.Constraint constraint,
EvaluationResult.ConstraintEvaluationResult result,
net.ssehub.easy.varModel.model.values.Value value)
Creates a pair with a given evaluation result.
|
| Modifier and Type | Method and Description |
|---|---|
net.ssehub.easy.varModel.model.Constraint |
getConstraint()
Returns the constraint.
|
EvaluationResult.ConstraintEvaluationResult |
getResult()
Returns the evaluation result.
|
net.ssehub.easy.varModel.model.values.Value |
getValue()
Returns the evaluated value.
|
void |
setResult(EvaluationResult.ConstraintEvaluationResult result)
Changes the evaluation result.
|
private net.ssehub.easy.varModel.model.Constraint constraint
private EvaluationResult.ConstraintEvaluationResult result
private net.ssehub.easy.varModel.model.values.Value value
public EvaluationPair(net.ssehub.easy.varModel.model.Constraint constraint)
constraint - the constraintpublic EvaluationPair(net.ssehub.easy.varModel.model.Constraint constraint,
EvaluationResult.ConstraintEvaluationResult result)
constraint - the constraintresult - the evaluation resultpublic EvaluationPair(net.ssehub.easy.varModel.model.Constraint constraint,
EvaluationResult.ConstraintEvaluationResult result,
net.ssehub.easy.varModel.model.values.Value value)
constraint - the constraintresult - the evaluation resultvalue - the evaluated value (may be null)public void setResult(EvaluationResult.ConstraintEvaluationResult result)
result - the new evaluation resultpublic net.ssehub.easy.varModel.model.Constraint getConstraint()
public EvaluationResult.ConstraintEvaluationResult getResult()
public net.ssehub.easy.varModel.model.values.Value getValue()
Copyright © 2009 - 2018 SSE. All Rights Reserved.