40 #ifndef _ANCESTRALSTATESRECONSTRUCTION_H_ 41 #define _ANCESTRALSTATESRECONSTRUCTION_H_ 44 #include <Bpp/Seq/Sequence.h> 45 #include <Bpp/Seq/Container/SiteContainer.h> 109 #endif // _ANCESTRALSTATESRECONSTRUCTION_H_ Interface for ancestral states reconstruction methods.
virtual Sequence * getAncestralSequenceForNode(int nodeId) const =0
Get the ancestral sequence for a given node.
virtual std::vector< size_t > getAncestralStatesForNode(int nodeId) const =0
Get ancestral states for a given node as a vector of int.
virtual SiteContainer * getAncestralSequences() const =0
Get all the ancestral sequences for all nodes.
virtual std::map< int, std::vector< size_t > > getAllAncestralStates() const =0
Get all ancestral states for all nodes.
The phylogenetic node class.
AncestralStateReconstruction()
virtual ~AncestralStateReconstruction()