Index: Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/OvertoppingOutput.cs
===================================================================
diff -u -r66be5752b65c01e7e994de08c8fefe3194d433a5 -r6306f61e82936c6bb6db70c4a185243cb07f00af
--- Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/OvertoppingOutput.cs (.../OvertoppingOutput.cs) (revision 66be5752b65c01e7e994de08c8fefe3194d433a5)
+++ Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/OvertoppingOutput.cs (.../OvertoppingOutput.cs) (revision 6306f61e82936c6bb6db70c4a185243cb07f00af)
@@ -36,17 +36,21 @@
///
/// The calculated wave height.
/// The value indicating whether overtopping was dominant in the calculation.
+ /// The reliability of the calculation.
/// The probabilistic assessment output.
/// The general result of this output with the fault tree
/// illustration points.
- public OvertoppingOutput(double waveHeight, bool isOvertoppingDominant, ProbabilityAssessmentOutput probabilityAssessmentOutput,
+ public OvertoppingOutput(double waveHeight, bool isOvertoppingDominant, double reliability,
+ ProbabilityAssessmentOutput probabilityAssessmentOutput,
GeneralResult generalResult)
{
if (probabilityAssessmentOutput == null)
{
throw new ArgumentNullException(nameof(probabilityAssessmentOutput));
}
+
IsOvertoppingDominant = isOvertoppingDominant;
+ Reliability = reliability;
WaveHeight = new RoundedDouble(2, waveHeight);
ProbabilityAssessmentOutput = probabilityAssessmentOutput;
GeneralResult = generalResult;
@@ -64,6 +68,11 @@
public bool IsOvertoppingDominant { get; }
///
+ /// Gets the reliability of the calculation.
+ ///
+ public double Reliability { get; }
+
+ ///
/// Gets the probabilistic assessment output.
///
public ProbabilityAssessmentOutput ProbabilityAssessmentOutput { get; private set; }