Package org.forester.phylogeny
Class PhylogenyBranch
java.lang.Object
org.forester.phylogeny.PhylogenyBranch
-
Constructor Summary
ConstructorDescriptionPhylogenyBranch
(PhylogenyNode first_node, PhylogenyNode second_node) PhylogenyBranch
(PhylogenyNode first_node, PhylogenyNode second_node, boolean direction_towards_first) -
Method Summary
-
Constructor Details
-
PhylogenyBranch
-
PhylogenyBranch
public PhylogenyBranch(PhylogenyNode first_node, PhylogenyNode second_node, boolean direction_towards_first)
-
-
Method Details
-
equals
-
getConnectedNode
- Throws:
IllegalArgumentException
-
getData
-
getFirstNode
-
getSecondNode
-
hashCode
public int hashCode() -
isDirected
public boolean isDirected() -
isDirectionTowards
- Throws:
RuntimeException
-
setDirectionTowards
-
toString
-