Index: Ringtoets/HydraRing/src/Ringtoets.HydraRing.Calculation/Calculator/IDesignWaterLevelCalculator.cs =================================================================== diff -u -r64d60335b1deab4bafd37f78f3514660cc4afb27 -r78815b3a2e147742759aedddf28c0ada6fb76152 --- Ringtoets/HydraRing/src/Ringtoets.HydraRing.Calculation/Calculator/IDesignWaterLevelCalculator.cs (.../IDesignWaterLevelCalculator.cs) (revision 64d60335b1deab4bafd37f78f3514660cc4afb27) +++ Ringtoets/HydraRing/src/Ringtoets.HydraRing.Calculation/Calculator/IDesignWaterLevelCalculator.cs (.../IDesignWaterLevelCalculator.cs) (revision 78815b3a2e147742759aedddf28c0ada6fb76152) @@ -21,12 +21,13 @@ using Ringtoets.HydraRing.Calculation.Data.Input.Hydraulics; using Ringtoets.HydraRing.Calculation.Exceptions; +using Ringtoets.HydraRing.Calculation.Parsers.IllustrationPoints; namespace Ringtoets.HydraRing.Calculation.Calculator { /// - /// Interface for a calculator which calculates the water level associated to the result of iterating towards a - /// probability of failure given a norm. + /// Interface for a calculator which calculates the water level associated to the result of + /// iterating towards a probability of failure given a norm. /// public interface IDesignWaterLevelCalculator { @@ -41,6 +42,11 @@ double ReliabilityIndex { get; } /// + /// Gets the result of parsing the illustration points in the Hydra-Ring database. + /// + GeneralResult IllustrationPointsResult { get; } + + /// /// Gets the value indicating whether the calculation converged. /// bool? Converged { get; } @@ -64,6 +70,15 @@ void Calculate(AssessmentLevelCalculationInput input); /// + /// Performs the actual calculation by running the Hydra-Ring executable. + /// Afterwards, sets the . + /// + /// The which contains all the necessary input + /// for the calculation. + /// Thrown when an error occurs while performing the calculation. + void CalculateWithIllustrationPoints(AssessmentLevelCalculationInput input); + + /// /// Cancels any currently running Hydra-Ring calculation. /// void Cancel();