1 classdef GammaCalculatorInterface < handle
2 % BASE Basis
class for the preparation and calculation of gamma
3 % Any subclass should also overwrite the
7 % This
function is called by the basis generation algorithm and
8 % should be used to calculate all high dimensional quantities
9 % that are required
for the fast online calculation of $\gamma$.
10 data = gen_detailed_data(rmodel, model_data, detailed_data);
13 % The
return value of
this function should be a
function handle
14 % that has the following form
15 % rb_gamma = fn(rmodel, reduced_data, sim)
16 fn = gen_reduced_data(model, detailed_data, reduced_data);
20 function g = gamma(model, model_data, sim)
21 % GAMMA This function should be implemented when this method
22 % allows the calculation of the true gamma value
23 error('Implement the function gamma(model, model_data, sim)');
26 function s = name(this)
27 % This function should return the name of the gamma calculation
28 % method. By default its just the class name!
29 error('Implement this function!')