|
rbmatlab 0.10.01
|
Data Tree element which can be filtered by time instants.
The children branches of this data tree node are all tagged with a time interval, either discrete (time steps) or continuous (time instants).
The branches can then be accessed via the nt argument of the get_index() method.
Definition at line 2 of file TpartNode.m.


Public Member Functions | |
| TpartNode ( tpart_map, initvalues, overlap) | |
| refiner = [];DefaultRefiner; constructor of initializing a TpartNode | |
| function tstop = | index_valid_till ( index) |
| returns the last valid time instance of a given entity in the tpart_map. | |
| function index = | get_index ( id, mu, nt) |
Obtains the leaf index vector that best fits the child description given by the three arguments. | |
| function
indices = | get_indices_in_region ( ids, mu_geo, tslice) |
| needs to be implemented... | |
| function tree = | create_tree ( creator, ids, mu_cube, tslice, basepath) |
Creates a new tree from a subtree specified by ids, parameter and time index regions. | |
| function | refine ( indices, midpoints) |
| % Other methods refines the T-Partitioning by refining the tpart_map. | |
Public Attributes | |
| XPartMap | tpart_map |
| an object holding the time intervals. | |
Static Public Attributes | |
| static const | data_node_type = "TPart" |
| Data node type identifier. | |
Protected Attributes | |
| invmap | |
| struct mapping between time instants and indices of children. (?) | |
| overlap = 0 | |
| an optional argument specifying whether the time slices overlap, and how much they do... | |
| DataTree.TpartNode.TpartNode | ( | tpart_map, | |
| initvalues, | |||
| overlap | |||
| ) |
refiner = [];DefaultRefiner; constructor of initializing a TpartNode
| tpart_map | tpart map |
| initvalues | initvalues |
| overlap | overlap |
siz — siz Definition at line 61 of file TpartNode.m.
| function tree = DataTree.TpartNode.create_tree | ( | creator, | |
| ids, | |||
| mu_cube, | |||
| tslice, | |||
| basepath | |||
| ) |
Creates a new tree from a subtree specified by ids, parameter and time index regions.
The method creates a new DataTree for all nodes tagged by an id in ids, lying in the time slice given by tslice and inside the parameter space region given by mu_rect. At each of these nodes a method from a creator is called to build the tree.
| creator | an object creating the new tree. |
| ids | a cell array of ids which shall be filtered. An empty cell array means that all ids are accepted. (default = []) |
| mu_cube | a 1x2-cell array of vectors { lower_left, upper_right } specifying the lower left and the upper right corner of a cube in the parameter space for filtering parameter vectors. An empty array disables the filtering (default = []). |
| tslice | a 2D vector specifying an interval of time step indices for time slicing. An empty vector disables the filtering (default = []) |
| basepath | a vector specifying the relation of the current node to the parent node at which the merge began. |
| tree | the newly created tree |
Calls DataTree.Creator.create_tpart_node() to build new elements.
Definition at line 155 of file TpartNode.m.
| function index = DataTree.TpartNode.get_index | ( | id, | |
| mu, | |||
| nt | |||
| ) | [virtual] |
Obtains the leaf index vector that best fits the child description given by the three arguments.
The leaf child description consists of an
| id | a string id filtered through an DataTree.IdMapNode in the tree hierarchy. |
| mu | a parameter vector filtered through a DataTree.PpartNode instance in the tree hierarchy. |
| nt | an integer corresponding to a time step index filtered through a DataTree.TpartNode instance in the tree hierarchy. |
| index | the most-specific (longest possible) index vector leading to a DataTree.ILeafNode element matching the child description. |
Reimplemented from DataTree.DefaultNode.
Definition at line 124 of file TpartNode.m.
| function indices = DataTree.TpartNode.get_indices_in_region | ( | ids, | |
| mu_geo, | |||
| tslice | |||
| ) |
needs to be implemented...
| ids | ids |
| mu_geo | mu geo |
| tslice | tslice |
| indices | indices |
Definition at line 142 of file TpartNode.m.
| function tstop = DataTree.TpartNode.index_valid_till | ( | index | ) |
returns the last valid time instance of a given entity in the tpart_map.
| index | index of the T-Partitioning interval. |
| tstop | time instance when the requested time interval ends. |
Reimplemented from DataTree.INode.
Definition at line 101 of file TpartNode.m.
| function DataTree.TpartNode.refine | ( | indices, | |
| midpoints | |||
| ) |
% Other methods refines the T-Partitioning by refining the tpart_map.
| indices | indices of partitioning intervals to be refined. |
| midpoints | optional parameter for the refinement method XPartMap.refine() specifying how the geometries shall be split. (default = []) |
Definition at line 204 of file TpartNode.m.
DataTree.TpartNode.data_node_type = "TPart" [static] |
DataTree.TpartNode.overlap = 0 [protected] |
an optional argument specifying whether the time slices overlap, and how much they do...
Default: 0
Definition at line 50 of file TpartNode.m.
an object holding the time intervals.
SetAccess = protected, GetAccess = public Definition at line 20 of file TpartNode.m.
1.7.4