5 % These objects should be automatically generated out of a detailed data
6 % strucuture by the .Greedy.User.ReducedData constructor.
9 function subset_reduced_data = extract_reduced_data_subset(reduced_data, rmodel)
10 %
function subset_reduced_data = extract_reduced_data_subset(reduced_data, rmodel)
11 % @copybrief .IReducedData.extract_reduced_data_subset()
13 % @copydetails .IReducedData.extract_reduced_data_subset()
16 % rmodel: of type .Greedy.User.IReducedModel
17 if needs_subset_copy(reduced_data, rmodel)
18 subset_reduced_data = rmodel.bg_descr.reduced_data_constructor(rmodel, reduced_data);
20 subset_reduced_data = reduced_data;
26 % function rdn = RbReducedData(rmodel)
32 % function yesno = needs_subset_copy(this, rmodel);
33 % returns whether the reduced data needs to be copied when a subset is
34 % demanded by a call of extract_reduced_data_subset().
40 % yesno:
boolean flag indicating whether it is necessary to copy the
42 yesno = needs_subset_copy(this, rmodel);
44 % conds = get_conds(this);
Interface for a leaf node of a data tree.
a default reduced data implementation which stores a data tree object copying the structure of a Gree...
Interface classes to be implemented by the Greedy.Algorithm user.
Customizable implementation of an abstract greedy algorithm.
interface specialization for a reduced model that can be used with the Greedy algorithm for basis gen...
Interface class for the generation and storage of offline matrices and vectors as described in Module...