KerMor  0.9
Model order reduction for nonlinear dynamical systems and nonlinear approximation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
BinTreeNode.m
Go to the documentation of this file.
1 
2 
3 /* (Autoinserted by mtoc++)
4  * This source code has been filtered by the mtoc++ executable,
5  * which generates code that can be processed by the doxygen documentation tool.
6  *
7  * On the other hand, it can neither be interpreted by MATLAB, nor can it be compiled with a C++ compiler.
8  * Except for the comments, the function bodies of your M-file functions are untouched.
9  * Consequently, the FILTER_SOURCE_FILES doxygen switch (default in our Doxyfile.template) will produce
10  * attached source files that are highly readable by humans.
11  *
12  * Additionally, links in the doxygen generated documentation to the source code of functions and class members refer to
13  * the correct locations in the source code browser.
14  * However, the line numbers most likely do not correspond to the line numbers in the original MATLAB source files.
15  */
16 
18  :public handle {
39  public:
40 
41  Key = NaN;
42 
43  Value = NaN;
44 
45  left = "[]";
46 
47  right = "[]";
48 
49  height = 0;
50 
51 
52  public:
53 
54  BinTreeNode(key,value) {
55  if nargin == 2
56  this.Key= key;
57  this.Value= value;
58  end
59  }
60 
61 
62 
63 #if 0 //mtoc++: 'set.left'
64 function left(value) {
65  if ~isempty(value) && ~isa(value," BinTreeNode ")
66  error(" Left property must be a BinTreeNode ");
67  end
68  this.left= value;
69  }
70 
71 #endif
72 
73 
74 
75 #if 0 //mtoc++: 'set.right'
76 function right(value) {
77  if ~isempty(value) && ~isa(value," BinTreeNode ")
78  error(" Right property must be a BinTreeNode ");
79  end
80  this.right= value;
81  }
82 
83 #endif
84 
85 
95 };
96 
Matlab's base handle class (documentation generation substitute)
BinTreeNode(key, value)
Definition: BinTreeNode.m:54
BinTreeNode:
Definition: BinTreeNode.m:17