5 #ifndef BPP_PHYL_ANCESTRALSTATERECONSTRUCTION_H
6 #define BPP_PHYL_ANCESTRALSTATERECONSTRUCTION_H
Interface for ancestral states reconstruction methods.
AncestralStateReconstruction()
virtual std::unique_ptr< Sequence > getAncestralSequenceForNode(uint nodeId) const =0
Get the ancestral sequence for a given node.
virtual std::vector< size_t > getAncestralStatesForNode(uint nodeId) const =0
Get ancestral states for a given node as a vector of int.
virtual ~AncestralStateReconstruction()
virtual std::map< uint, std::vector< size_t > > getAllAncestralStates() const =0
Get all ancestral states for all nodes.
virtual std::unique_ptr< AlignedSequenceContainer > getAncestralSequences() const =0
Get all the ancestral sequences for all nodes.
Defines the basic types of data flow nodes.