|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpal.tree.SimpleTree
pal.tree.ReadTree
public class ReadTree
constructs a tree reading in a New Hampshire treefile, taking care for internal labels and branch lengths and binary/nonbinary and rooted/unrooted trees
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface pal.tree.Tree |
|---|
Tree.TreeBase |
| Nested classes/interfaces inherited from interface pal.misc.IdGroup |
|---|
IdGroup.Utils |
| Field Summary |
|---|
| Fields inherited from interface pal.misc.Units |
|---|
DAYS, EXPECTED_SUBSTITUTIONS, GENERATIONS, MONTHS, SAMPLE, SHORT_UNIT_NAMES, UNIT_NAMES, UNKNOWN, YEARS |
| Constructor Summary | |
|---|---|
ReadTree(java.io.PushbackReader input)
read tree from input stream |
|
ReadTree(java.lang.String file)
read tree from file |
|
| Method Summary |
|---|
| Methods inherited from class pal.tree.SimpleTree |
|---|
createNodeList, findNode, getAttribute, getCopy, getExternalNode, getExternalNodeCount, getIdCount, getIdentifier, getInternalNode, getInternalNodeCount, getRoot, getUnits, report, reroot, reroot, setAttribute, setIdentifier, setRoot, setUnits, toString, whichIdNumber |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ReadTree(java.io.PushbackReader input)
throws TreeParseException
input - input stream
TreeParseException
public ReadTree(java.lang.String file)
throws TreeParseException,
java.io.IOException
file - name of file
TreeParseException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||