|
A library for working with phylogenetic and population genetic data.
v0.32.0
|
|
Go to the documentation of this file. 1 #ifndef GENESIS_PLACEMENT_PQUERY_PLACEMENT_H_
2 #define GENESIS_PLACEMENT_PQUERY_PLACEMENT_H_
52 class PlacementEdgeData;
53 class PlacementNodeData;
232 #endif // include guard
PlacementTreeEdge const & edge() const
Get the PlacementTreeEdge where this PqueryPlacement is placed.
PlacementTreeEdge & edge()
Get the PlacementTreeEdge where this PqueryPlacement is placed.
PqueryPlacement & operator=(PqueryPlacement const &)=default
~PqueryPlacement()=default
Data class for PlacementTreeEdges. Stores the branch length of the edge, and the edge_num,...
double like_weight_ratio
Likelihood weight ratio of this placement.
PqueryPlacement(PlacementTreeEdge &edge)
Constructor that takes the edge where this placement is being placed at.
Container namespace for all symbols of genesis in order to keep them separate when used as a library.
tree::TreeEdge PlacementTreeEdge
Alias for tree::TreeEdge used in a PlacementTree. See PlacementEdgeData for the data stored on the ed...
double likelihood
Total likelihood of the tree with this placement attached to it.
PqueryPlacement()
Default constructor. Sets all values to 0.
One placement position of a Pquery on a Tree.
void reset_edge(PlacementTreeEdge &edge)
Set the PlacementTreeEdge at which this PqueryPlacement is placed.
PlacementEdgeData::EdgeNumType edge_num() const
Get the edge_num where this PqueryPlacement is placed.
int EdgeNumType
Data type used for the edge_num() property of the edges in a PlacementTree.
double proximal_length
Distance of this placement to the next node towards the root.
double pendant_length
Length of the attached branch of this placement.