public class HaplotypeEdge extends Object
| Constructor and Description |
|---|
HaplotypeEdge(HaplotypeNode leftHapNode,
HaplotypeNode rightHapNode,
double edgeProbability)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
double |
edgeProbability()
Probability that the node to the right of this edge
rightHapNode() is the next HaplotypeNode when
traversing the graph from left to right. |
HaplotypeNode |
leftHapNode()
HaplotypeNode to the left of the current edge.
|
HaplotypeNode |
rightHapNode()
HaplotypeNode to the right of the current edge
|
String |
toString() |
public HaplotypeEdge(HaplotypeNode leftHapNode, HaplotypeNode rightHapNode, double edgeProbability)
leftHapNode - left noderightHapNode - right nodeedgeProbability - probability right node is next in sequence starting from left nodepublic HaplotypeNode leftHapNode()
public HaplotypeNode rightHapNode()
public double edgeProbability()
rightHapNode() is the next HaplotypeNode when
traversing the graph from left to right. This value has no biological meaning when traversing from right to
left.Copyright © 2018. All rights reserved.