7 properties (Access = protected)
13 function iddni = IInjectableNode(ext_info, model_data, injection)
14 iddni = iddni@
Greedy.
DataTree.Detailed.INode(ext_info, model_data, injection);
15 iddni.injection_name = injection;
16 ext_info.child = find_active_info(this, '
Greedy.Info.POD');
21 function RB = get.RB(this)
22 active_child = get(this, this.active);
26 function this = set.RB(this, RB)
27 active_child = get(this, this.active);
31 function this = set.active(this, value)
34 this.ext_info.child = find_active_info(this, '
Greedy.
Info.POD');
37 function ext_info = find_active_info(this, infoclass)
38 if isa(this.ext_info, infoclass)
39 ext_info = this.ext_info;
41 ext_info = find_active_info(get(this, this.active), infoclass);
45 function propagate_info(this, info, prop_names, params)
48 if isempty(prop_names)
49 prop_names = properties(info);
51 props = intersect(properties(this.info), prop_names);
54 for i = 1:length(props)
55 this.info.(props{i}) = info.(props{i});
58 props = intersect(properties(this.ext_info), prop_names);
61 for i = 1:length(props)
62 this.ext_info.(props{i}) = info.(props{i});
65 if successful && isequal(params,
'first')
68 propagate_info(get(this, this.active), info, prop_names, params);
73 methods (Access = protected)
74 function auto_propagate_ext_info(this)
75 active_child = get(this, this.active);
76 propagate_info(active_child, this.ext_info.child, [], 'first');
DataTree implementation for generated detailed and reduced data
DataTree specialization for detailed data generated by a Greedy algorithm instance.
Interface class for general data tree nodes storing detailed data returned by Greedy.Interface.gen_detailed_data()
Customizable implementation of an abstract greedy algorithm.
a DataTree.INode extension for data nodes that can store information on their generation process...