5 #ifndef _LEGACY_ANCESTRAL_STATES_RECONSTRUCTION_H_
6 #define _LEGACY_ANCESTRAL_STATES_RECONSTRUCTION_H_
Interface for ancestral states reconstruction methods.
virtual std::vector< size_t > getAncestralStatesForNode(int nodeId) const =0
Get ancestral states for a given node as a vector of int.
virtual std::unique_ptr< Sequence > getAncestralSequenceForNode(int nodeId) const =0
Get the ancestral sequence for a given node.
LegacyAncestralStateReconstruction()
virtual std::unique_ptr< SiteContainerInterface > 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.
virtual ~LegacyAncestralStateReconstruction()
Defines the basic types of data flow nodes.