bpp-popgen  2.2.0
bpp::DataSetTools Class Reference

A set of tools for DataSet. More...

#include <Bpp/PopGen/DataSetTools.h>

Static Public Member Functions

static std::auto_ptr< DataSetbuildDataSet (const OrderedSequenceContainer &osc) throw (Exception)
 General method to build a DataSet from an OrderedSequenceContainer. More...
 
static std::auto_ptr< DataSetbuildDataSet (const PolymorphismSequenceContainer &psc) throw (Exception)
 Specific methode to build a DataSet from a PolymorphismSequenceContainer. More...
 

Detailed Description

A set of tools for DataSet.

Author
Sylvain Gaillard

Definition at line 64 of file DataSetTools.h.

Member Function Documentation

◆ buildDataSet() [1/2]

std::auto_ptr< DataSet > DataSetTools::buildDataSet ( const OrderedSequenceContainer &  osc)
throw (Exception
)
static

General method to build a DataSet from an OrderedSequenceContainer.

Definition at line 45 of file DataSetTools.cpp.

References bpp::DataSet::addEmptyGroup(), bpp::DataSet::addEmptyIndividualToGroup(), and bpp::DataSet::addIndividualSequenceInGroup().

◆ buildDataSet() [2/2]

std::auto_ptr< DataSet > DataSetTools::buildDataSet ( const PolymorphismSequenceContainer psc)
throw (Exception
)
static

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