40 #ifndef BPP_SEQ_CONTAINER_ORDEREDVALUESCONTAINER_H
41 #define BPP_SEQ_CONTAINER_ORDEREDVALUESCONTAINER_H
81 virtual std::string
toString(
size_t sequenceIndex)
const = 0;
92 virtual const std::string&
getName(
size_t sequenceIndex)
const = 0;
113 virtual double getStateValueAt(
size_t siteIndex,
size_t sequenceIndex,
int state)
const = 0;
115 virtual double operator()(
size_t siteIndex,
size_t sequenceIndex,
int state)
const = 0;
The Container of Ordered Values interface.
virtual double operator()(size_t siteIndex, size_t sequenceIndex, int state) const =0
virtual size_t getSequencePosition(const std::string &name) const =0
Get the position of a sequence in sequence container from its name.
virtual const std::string & getName(size_t sequenceIndex) const =0
Get the name of a particular row of the alignement (aka sequence).
virtual void setComments(size_t sequenceIndex, const Comments &comments)=0
virtual std::string toString(size_t sequenceIndex) const =0
virtual double getStateValueAt(size_t siteIndex, size_t sequenceIndex, int state) const =0
virtual ~OrderedValuesContainer()
virtual const Comments & getComments(size_t sequenceIndex) const =0
OrderedValuesContainer * clone() const =0
virtual void setComments(const std::string &name, const Comments &comments)=0
Set the comments of a particular sequence.
virtual const Comments & getComments(const std::string &name) const =0
Get comments of a particular sequence.
virtual std::string toString(const std::string &name) const =0
Convert a particular sequence to a string.
virtual double getStateValueAt(size_t siteIndex, const std::string &sequenceName, int state) const =0
get value of a state in a position
This alphabet is used to deal NumericAlphabet.
std::vector< std::string > Comments
Declaration of Comments type.