-
- All Implemented Interfaces:
public class HaplotypeEdge
-
-
Constructor Summary
Constructors Constructor Description HaplotypeEdge(HaplotypeNode leftHapNode, HaplotypeNode rightHapNode, double edgeProbability)
Constructor
-
Method Summary
Modifier and Type Method Description HaplotypeNode
leftHapNode()
HaplotypeNode to the left of the current edge. HaplotypeNode
rightHapNode()
HaplotypeNode to the right of the current edge 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. String
toString()
-
-
Constructor Detail
-
HaplotypeEdge
HaplotypeEdge(HaplotypeNode leftHapNode, HaplotypeNode rightHapNode, double edgeProbability)
Constructor- Parameters:
leftHapNode
- left noderightHapNode
- right nodeedgeProbability
- probability right node is next in sequence starting from left node
-
-
Method Detail
-
leftHapNode
HaplotypeNode leftHapNode()
HaplotypeNode to the left of the current edge.
-
rightHapNode
HaplotypeNode rightHapNode()
HaplotypeNode to the right of the current edge
-
edgeProbability
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. This value has no biological meaning when traversing from right to left.
-
-
-
-