Class MatchResultImpl
- java.lang.Object
-
- cern.accsoft.steering.jmad.domain.result.match.MatchResultImpl
-
- All Implemented Interfaces:
MatchResult,Result
public class MatchResultImpl extends java.lang.Object implements MatchResult
-
-
Constructor Summary
Constructors Constructor Description MatchResultImpl(double finalPenalty)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddConstrainParameterResult(MatchConstraintResult result)voidaddVaryParameterResult(MadxVaryResult result)java.util.List<MatchConstraintResult>getConstraintParameterResults()doublegetFinalPenalty()ResultTypegetResultType()java.util.List<MadxVaryResult>getVaryParameterResults()booleanisSuccessful()voidsetSuccessful(boolean successful)
-
-
-
Method Detail
-
addConstrainParameterResult
public void addConstrainParameterResult(MatchConstraintResult result)
-
getConstraintParameterResults
public java.util.List<MatchConstraintResult> getConstraintParameterResults()
- Specified by:
getConstraintParameterResultsin interfaceMatchResult- Returns:
- the final Values (
MatchConstraintResults) of the Matching Job for the definedMatchConstraints
-
addVaryParameterResult
public void addVaryParameterResult(MadxVaryResult result)
-
getVaryParameterResults
public java.util.List<MadxVaryResult> getVaryParameterResults()
- Specified by:
getVaryParameterResultsin interfaceMatchResult- Returns:
- the resulting Values (
MadxVaryResults) of the Matching Job for the definedMadxVaryParameters
-
isSuccessful
public boolean isSuccessful()
- Specified by:
isSuccessfulin interfaceMatchResult- Returns:
trueif the matching Job reached the desired tolerance
-
setSuccessful
public void setSuccessful(boolean successful)
-
getResultType
public ResultType getResultType()
- Specified by:
getResultTypein interfaceResult
-
getFinalPenalty
public double getFinalPenalty()
- Specified by:
getFinalPenaltyin interfaceMatchResult- Returns:
- the Value of the Final Penalty Function (TAR) which describes the reached tolerance during matching
-
-