-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
185f257
commit 7190c6e
Showing
11 changed files
with
336 additions
and
189 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
# Getting tree attributes | ||
|
||
### Methods on TreeSets | ||
```@docs | ||
ntrees | ||
gettrees | ||
nroots | ||
getroots | ||
gettreenames | ||
getonetree | ||
``` | ||
|
||
### Methods on Trees | ||
```@docs | ||
mrca | ||
nodedepths | ||
getleafnames | ||
getleaves | ||
nleaves | ||
nnodes | ||
nbranches | ||
``` | ||
|
||
### Methods on Nodes | ||
```@docs | ||
isleaf | ||
isroot | ||
isinternal | ||
isunattached | ||
indegree | ||
outdegree | ||
hasinbound | ||
getinbound | ||
getoutbounds | ||
hasoutboundspace | ||
hasinboundspace | ||
getleafinfo | ||
setleafinfo! | ||
leafinfotype | ||
getnodedata | ||
setnodedata! | ||
hasheight | ||
getheight | ||
setheight! | ||
hasparent | ||
getparent | ||
getancestors | ||
haschildren | ||
getchildren | ||
getdescendants | ||
``` | ||
|
||
### Methods on Branches | ||
```@docs | ||
src | ||
dst | ||
getlength | ||
hasrootheight | ||
getrootheight | ||
setrootheight! | ||
clearrootheight! | ||
getbranchdata | ||
setbranchdata! | ||
getrootdistance | ||
``` | ||
|
||
|
||
|
||
```@docs | ||
getroot | ||
treenametype | ||
gettreename | ||
roottype | ||
nodetype | ||
nodedatatype | ||
nodenametype | ||
branchtype | ||
branchdatatype | ||
branchnametype | ||
getnodenames | ||
getnodename | ||
hasnode | ||
getnode | ||
getnodes | ||
getbranchnames | ||
getbranchname | ||
hasbranch | ||
getbranch | ||
getbranches | ||
hasrootheight | ||
getrootheight | ||
setrootheight! | ||
validate! | ||
branchdims | ||
``` | ||
|
||
|
Oops, something went wrong.