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 void
addConstrainParameterResult(MatchConstraintResult result)
void
addVaryParameterResult(MadxVaryResult result)
java.util.List<MatchConstraintResult>
getConstraintParameterResults()
double
getFinalPenalty()
ResultType
getResultType()
java.util.List<MadxVaryResult>
getVaryParameterResults()
boolean
isSuccessful()
void
setSuccessful(boolean successful)
-
-
-
Method Detail
-
addConstrainParameterResult
public void addConstrainParameterResult(MatchConstraintResult result)
-
getConstraintParameterResults
public java.util.List<MatchConstraintResult> getConstraintParameterResults()
- Specified by:
getConstraintParameterResults
in interfaceMatchResult
- Returns:
- the final Values (
MatchConstraintResult
s) of the Matching Job for the definedMatchConstraint
s
-
addVaryParameterResult
public void addVaryParameterResult(MadxVaryResult result)
-
getVaryParameterResults
public java.util.List<MadxVaryResult> getVaryParameterResults()
- Specified by:
getVaryParameterResults
in interfaceMatchResult
- Returns:
- the resulting Values (
MadxVaryResult
s) of the Matching Job for the definedMadxVaryParameter
s
-
isSuccessful
public boolean isSuccessful()
- Specified by:
isSuccessful
in interfaceMatchResult
- Returns:
true
if the matching Job reached the desired tolerance
-
setSuccessful
public void setSuccessful(boolean successful)
-
getResultType
public ResultType getResultType()
- Specified by:
getResultType
in interfaceResult
-
getFinalPenalty
public double getFinalPenalty()
- Specified by:
getFinalPenalty
in interfaceMatchResult
- Returns:
- the Value of the Final Penalty Function (TAR) which describes the reached tolerance during matching
-
-