implement strategy design pattern for integration methods
Instead of having IPeakIntegrator
interface and all of the integrators deriving from ti, we could have concrete PeakIntegrator
that takes IIntegrationStrategy
as argument in its integrate
method. The strategy pattern may be suited for this. Moreover, the integration strategies should be stored in a factory so that we can query the integration modes and their parameters in the GUI