rbmatlab  1.16.09
 All Classes Namespaces Files Functions Variables Modules Pages
List of all members | Public Member Functions
DataTree.ICreator Class Referenceabstract

Detailed Description

interface for a class used to create a new (sub-)tree from an old one with the DataTree.INode.create_tree() method.

Sub-tree definition

The copied tree can be defined as a sub-tree of the original by restricting it to certain

This can be useful if you want to reorder your tree. For the computation of a single trajectory of an instationary problem for example, you are interested in the reduced basis spaces for all time instants, but a specific parameter only.

All three restrictions can be optionally added as arguments to the DataTree.INode.create_tree() method.

Definition at line 18 of file ICreator.m.

Inheritance diagram for DataTree.ICreator:
Inheritance graph
[legend]
Collaboration diagram for DataTree.ICreator:
Collaboration graph
[legend]

Public Member Functions

virtual function DataTree.PpartNode node = create_tpart_node (t_part_map, initvalues)
 is called on DataTree.PpartNode elements of a DataTree and returns a new p-part node out of it. More...
 
virtual function DataTree.IdMapNode node = create_idmap_node (id_map, initvalues)
 is called on DataTree.IdMapNode elements of a DataTree and returns a new ID mapped node out of it. More...
 
virtual function DataTree.PpartNode node = create_ppart_node (p_part_map, initvalues)
 is called on DataTree.PpartNode elements of a DataTree and returns a new p-part node out of it. More...
 
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. More...
 

Member Function Documentation

function DataTree.IdMapNode node = DataTree.ICreator.create_idmap_node (   id_map,
  initvalues 
)
pure virtual

is called on DataTree.IdMapNode elements of a DataTree and returns a new ID mapped node out of it.

Parameters
id_mapthe ID map of the original node. Optionally this map can be restricted by a cell array of restricted IDs as described in Sub-tree definition.
initvaluesthe children vector of the original node. Optionally this map can be restricted by a cell array of restricted IDs as described in Sub-tree definition.
Return values
nodethe freshly generated p-part element

Implemented in DataTree.LeafDescription, and DataTree.CreatorDefault.

function DataTree.ILeafNode node = DataTree.ICreator.create_leaf_node ( DataTree.ILeafNode  arg_node,
  basepath,
  mu_cube,
  tslice 
)
pure virtual

is called on leaf elements of a DataTree and returns a new leaf out of it.

Parameters
arg_nodeoriginal leaf which shall be used as basis for the creation of a new one.
basepathpath from the root element to the current leaf.
mu_cuberestriction of the parameter as described in Sub-tree definition
tslicerestriction of the time domain as described in Sub-tree definition
Return values
nodethe freshly generated leaf element
function DataTree.PpartNode node = DataTree.ICreator.create_ppart_node (   p_part_map,
  initvalues 
)
pure virtual

is called on DataTree.PpartNode elements of a DataTree and returns a new p-part node out of it.

Parameters
p_part_mapthe DataTree.PpartNode.ppart_map of the original p-part node. Optionally this map can be restricted by a parameter cube as described in Sub-tree definition.
initvaluesthe children vector of the original p-part node. Optionally this map can be restricted by a parameter cube as described in Sub-tree definition.
Return values
nodethe freshly generated p-part element

Implemented in DataTree.LeafDescription, and DataTree.CreatorDefault.

function DataTree.PpartNode node = DataTree.ICreator.create_tpart_node (   t_part_map,
  initvalues 
)
pure virtual

is called on DataTree.PpartNode elements of a DataTree and returns a new p-part node out of it.

Parameters
t_part_mapthe DataTree.TpartNode.tpart_map of the original t-part node. Optionally this map can be restricted by a time interval as described in Sub-tree definition.
initvaluesthe children vector of the original t-part node. Optionally this map can be restricted by a time interval as described in Sub-tree definition.
Return values
nodethe freshly generated p-part element

Implemented in DataTree.CreatorDefault, and DataTree.LeafDescription.


The documentation for this class was generated from the following file: