#pragma once #include "function.h" #include "data.h" #include /* * Fitting interface for generic fitting algorithms * */ class fitter { public: // Static function to fit a data set d with the // underling function class. Return the best // fit (along with fitting information ?) // virtual bool fit_data(const data* d, function*& f) = 0 ; } ; Q_DECLARE_INTERFACE(fitter, "Fitter.Fitter")