public void setInterpolation <Interpolator>(Interpolator i) where Interpolator : IInterpolationFactory2D, new () { varianceSurface_ = i.interpolate(times_, times_.Count, strikes_, strikes_.Count, variances_); varianceSurface_.update(); notifyObservers(); }