4 % This
class is used for tests and as a
leaf for the
DataTree.IdMapNode
8 % data stored in
leaf node
13 function dln = DummyLeafNode(value)
14 %
function dln = DummyLeafNode(value)
18 % value: data stored in
leaf node
22 function index = get_index(
this, dummy, dummy2, dummy3)
23 %
function index = get_index(
this, dummy, dummy2, dummy3)
31 function value =
get(
this, index)
32 %
function index =
get(
this, index)
36 % index: needs to be equal to
'1'.
39 % value: the data stored with
this leaf element
40 assert(isscalar(index) && index==1)
44 function this = set_values(this, value)
45 % function this = set_values(this, value)
46 % sets the value of the LeafNode
Interface for a leaf node of a data tree.
virtual function index = get_index(id, mu, nt)
Obtains the leaf index vector that best fits the child description given by the three arguments...
virtual function INode data = get(index)
Access to a child of the current node.