matlab-tree icon indicating copy to clipboard operation
matlab-tree copied to clipboard

A MATLAB class to represent the tree data structure.

Results 8 matlab-tree issues
Sort by recently updated
recently updated
newest added

Hello, matlab-tree looks very useful for a project I am working on. Thanks! My data in each node will be a non-builtin class and I found matlab-tree didn't play well...

t = tree('root'); [ t node1 ] = t.addnode(1, 'Node 1'); %% attach to root % node1 now contains the index of the first node. [ t node2 ] =...

Hi! I have been using your great `@tree` class for a while and I recently committed a small fix and new commodity method. (Sorry that I put them in the...

t = tree('root'); [ t node1 ] = t.addnode(1, 'Node 1'); %% attach to root % node1 now contains the index of the first node. [ t node2 ] =...

For a 600 element tree generated in 0.04 s disp(ans.tostring) takes 0.4 s for example, it makes 7523 tree.tree > tree.get calls and 3600 to tree.depthfirstiterator>recurse

If one calls t.conditioniterator(n, condition) and node n does not satisfy the condition, it will still get added to the returned list of IDs, because of the following code: ```...

Hi, While using your library, I came across the need to have treefun return multiple values for a given tree (similar to how `cellfun` or `arrayfun` work). An example of...