bpp-phyl3  3.0.0
bpp::IOPhymlPairedSiteLikelihoods Class Referenceabstract

This class provides input for the Phyml paired-site likelihoods format. More...

#include <Bpp/Phyl/Legacy/Io/IoPairedSiteLikelihoods.h>

+ Inheritance diagram for bpp::IOPhymlPairedSiteLikelihoods:
+ Collaboration diagram for bpp::IOPhymlPairedSiteLikelihoods:

Public Member Functions

virtual const std::string getDataType () const=0
 
virtual const std::string getFormatName () const=0
 
virtual const std::string getFormatDescription () const=0
 

Static Public Member Functions

static std::vector< double > readPairedSiteLikelihoods (std::istream &is)
 Read paired-site likelihoods from a Phyml-formatted stream. More...
 
static std::vector< double > readPairedSiteLikelihoods (const std::string &path)
 Read Phyml paired-site likelihoods from a Phyml-formatted file. More...
 

Detailed Description

This class provides input for the Phyml paired-site likelihoods format.

Author
Nicolas Rochette

Definition at line 76 of file IoPairedSiteLikelihoods.h.

Member Function Documentation

◆ readPairedSiteLikelihoods() [1/2]

vector< double > IOPhymlPairedSiteLikelihoods::readPairedSiteLikelihoods ( const std::string &  path)
static

Read Phyml paired-site likelihoods from a Phyml-formatted file.

Exceptions
ExceptionIf the format is not recognized.

Definition at line 235 of file IoPairedSiteLikelihoods.cpp.

◆ readPairedSiteLikelihoods() [2/2]

vector< double > IOPhymlPairedSiteLikelihoods::readPairedSiteLikelihoods ( std::istream &  is)
static

Read paired-site likelihoods from a Phyml-formatted stream.

Exceptions
ExceptionIf the format is not recognized.

Definition at line 195 of file IoPairedSiteLikelihoods.cpp.

References bpp::numeric::log().


The documentation for this class was generated from the following files: