Interface ErrorPropagationStrategy<V>
-
- Type Parameters:
V
- the type of the values
- All Superinterfaces:
ManipulationOption
,Option<ManipulationOption>
- All Known Implementing Classes:
UncorrelatedErrorPropagationStrategy
public interface ErrorPropagationStrategy<V> extends ManipulationOption
Instances of this class define, how the errors have to be propagated in different situations.Currently, this is a simplification. For different assumtions (e.g. uncorrelated errors), the error for product and division will not be the same. Therefore, this for sure will require some refactorings. (An abstraction to Field operations might have to be considered)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.common.base.Optional<V>
errorForProductAndDivision(ErronousValue<V> left, ErronousValue<V> right)
com.google.common.base.Optional<V>
errorForSumAndDifference(ErronousValue<V> left, ErronousValue<V> right)
-
Methods inherited from interface org.tensorics.core.commons.options.Option
getMarkerInterface
-
-
-
-
Method Detail
-
errorForSumAndDifference
com.google.common.base.Optional<V> errorForSumAndDifference(ErronousValue<V> left, ErronousValue<V> right)
-
errorForProductAndDivision
com.google.common.base.Optional<V> errorForProductAndDivision(ErronousValue<V> left, ErronousValue<V> right)
-
-