rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
CreatorDefault.m
2  % default implementation of the DataTree.ICreator interface
3  %
4  % This simply copies the t-partitioning, p-partitioning and ID-mapped nodes
5  % of a DataTree.
6  %
7  % The only function left to implement is the
8  % @ref DataTree.ICreator.create_leaf_node() "leaf creation" method.
9 
10  methods
11  function node = create_tpart_node(this, t_part_map, initvalues)
12  node = DataTree.TpartNode(t_part_map, initvalues);
13  end
14 
15  function node = create_idmap_node(this, id_map, initvalues)
16  node = DataTree.IdMapNode(id_map, initvalues);
17  end
18 
19  function node = create_ppart_node(this, p_part_map, initvalues)
20  node = DataTree.PpartNode(p_part_map, initvalues);
21  end
22 
23  end
24 end
Data Tree element which can be filtered by ids
Definition: IdMapNode.m:18
virtual function DataTree.ILeafNode node = create_leaf_node(DataTree.ILeafNode arg_node, basepath, mu_cube, tslice)
is called on leaf elements of a DataTree and returns a new leaf out of it.
interface for a class used to create a new (sub-)tree from an old one with the DataTree.INode.creat...
Definition: ICreator.m:18
default implementation of the DataTree.ICreator interface
Data Tree element which can be filtered by time instants.
Definition: TpartNode.m:18