bpp-phyl3
3.0.0
|
Interface for agglomerative distance methods. More...
#include <Bpp/Phyl/Distance/DistanceMethod.h>
Public Member Functions | |
AgglomerativeDistanceMethodInterface () | |
virtual | ~AgglomerativeDistanceMethodInterface () |
virtual AgglomerativeDistanceMethodInterface * | clone () const override=0 |
virtual void | setDistanceMatrix (const DistanceMatrix &matrix)=0 |
Set the distance matrix to use. More... | |
virtual void | computeTree ()=0 |
Perform the clustering. More... | |
virtual bool | hasTree () const =0 |
virtual const Tree & | tree () const =0 |
virtual std::string | getName () const =0 |
virtual void | setVerbose (bool yn)=0 |
virtual bool | isVerbose () const =0 |
Interface for agglomerative distance methods.
This interface does not contain any specific method and is there only for "ontology" purposes. Specific methods might be added later.
Definition at line 81 of file DistanceMethod.h.
|
inline |
Definition at line 85 of file DistanceMethod.h.
|
inlinevirtual |
Definition at line 86 of file DistanceMethod.h.
|
overridepure virtual |
Implements bpp::DistanceMethodInterface.
Implemented in bpp::PGMA, bpp::NeighborJoining, bpp::HierarchicalClustering, and bpp::BioNJ.
|
pure virtualinherited |
Perform the clustering.
Implemented in bpp::AbstractAgglomerativeDistanceMethod, and bpp::BioNJ.
Referenced by bpp::OptimizationTools::buildDistanceTree().
|
pure virtualinherited |
Implemented in bpp::PGMA, bpp::NeighborJoining, bpp::HierarchicalClustering, and bpp::BioNJ.
|
pure virtualinherited |
Implemented in bpp::AbstractAgglomerativeDistanceMethod.
|
pure virtualinherited |
Implemented in bpp::AbstractAgglomerativeDistanceMethod.
|
pure virtualinherited |
Set the distance matrix to use.
matrix | The matrix to use. |
Exception | In case an incorrect matrix is provided (eg smaller than 3). |
Implemented in bpp::AbstractAgglomerativeDistanceMethod, bpp::PGMA, bpp::NeighborJoining, and bpp::BioNJ.
Referenced by bpp::OptimizationTools::buildDistanceTree().
|
pure virtualinherited |
yn | Enable/Disable verbose mode. |
Implemented in bpp::AbstractAgglomerativeDistanceMethod.
|
pure virtualinherited |
Implemented in bpp::AbstractAgglomerativeDistanceMethod.
Referenced by bpp::OptimizationTools::buildDistanceTree().