public class NodeEdgeInfo extends java.lang.Object
JPhyloIOEventReader
s processing phylogenetic trees or networks to model nodes and edges.Constructor and Description |
---|
NodeEdgeInfo(java.lang.String id,
double length,
java.util.Collection<JPhyloIOEvent> nestedNodeEvents,
java.util.Collection<JPhyloIOEvent> nestedEdgeEvents) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getID() |
java.lang.String |
getLabel() |
double |
getLength() |
java.util.Collection<JPhyloIOEvent> |
getNestedEdgeEvents() |
java.util.Collection<JPhyloIOEvent> |
getNestedNodeEvents() |
java.lang.String |
getSource() |
java.lang.String |
getTarget() |
boolean |
isRoot() |
void |
setIsRoot(boolean isRoot) |
void |
setLabel(java.lang.String label) |
void |
setLength(double length) |
void |
setSource(java.lang.String source) |
void |
setTarget(java.lang.String target) |
public NodeEdgeInfo(java.lang.String id, double length, java.util.Collection<JPhyloIOEvent> nestedNodeEvents, java.util.Collection<JPhyloIOEvent> nestedEdgeEvents)
public java.lang.String getID()
public java.lang.String getLabel()
public void setLabel(java.lang.String label)
public boolean isRoot()
public void setIsRoot(boolean isRoot)
public java.lang.String getSource()
public void setSource(java.lang.String source)
public java.lang.String getTarget()
public void setTarget(java.lang.String target)
public double getLength()
public void setLength(double length)
public java.util.Collection<JPhyloIOEvent> getNestedNodeEvents()
public java.util.Collection<JPhyloIOEvent> getNestedEdgeEvents()