Search Toolkit Book for CClusterer::CSingleCluster
Single cluster. More...
#include <algo/cobalt/clusterer.hpp>
Single cluster.
Definition at line 74 of file clusterer.hpp.
◆ const_iterator ◆ iterator ◆ CSingleCluster() CClusterer::CSingleCluster::CSingleCluster ( void ) inline ◆ AddElement() void CClusterer::CSingleCluster::AddElement ( int el ) inline ◆ begin() [1/2] ◆ begin() [2/2] ◆ clear() void CClusterer::CSingleCluster::clear ( void ) inline ◆ end() [1/2] ◆ end() [2/2] ◆ FindCenterElement()Find element that is closest to the center of the cluster.
Definition at line 1184 of file clusterer.cpp.
References i, and NCBI_THROW.
Referenced by BOOST_AUTO_TEST_CASE().
◆ GetElements() const vector<int>& CClusterer::CSingleCluster::GetElements ( void ) const inlineGet list of cluster elements.
Definition at line 130 of file clusterer.hpp.
◆ GetMaxDistance() double CClusterer::CSingleCluster::GetMaxDistance ( void ) const inlineGet maximum distance in cluster.
Definition at line 113 of file clusterer.hpp.
◆ GetPrototype() int CClusterer::CSingleCluster::GetPrototype ( void ) const inline ◆ operator[]() int CClusterer::CSingleCluster::operator[] ( size_t index ) const ◆ SetMaxDistance() void CClusterer::CSingleCluster::SetMaxDistance ( double dist ) inline ◆ SetPrototype() void CClusterer::CSingleCluster::SetPrototype ( int el ) inlineSet cluster prototype.
Prototype does not have to belong to the cluster
Definition at line 98 of file clusterer.hpp.
◆ size() size_t CClusterer::CSingleCluster::size ( void ) const inlineGet cluster size.
Definition at line 118 of file clusterer.hpp.
Referenced by BOOST_AUTO_TEST_CASE(), CClusterer::ComputeClustersFromLinks(), CClusterer::GetClusterDistMatrix(), s_FindDistAsMax(), s_FindDistAsMean(), s_FindMaxDistFromElem(), s_FindSumDistFromElem(), s_MakeTwoLeafTree(), s_SetLeafIds(), s_TestClusterTree(), CMultiAligner::x_ComputeClusterTrees(), CMultiAligner::x_FindQueryClusters(), CClusterer::x_JoinClusters(), and CMultiAligner::x_MakeClusterResidueFrequencies().
◆ m_Diameter double CClusterer::CSingleCluster::m_Diameter protected ◆ m_DistToRoot vector<double> CClusterer::CSingleCluster::m_DistToRoot ◆ m_Elements vector<int> CClusterer::CSingleCluster::m_Elements protected ◆ m_Prototype int CClusterer::CSingleCluster::m_Prototype protectedIndex of cluster representative element.
Definition at line 146 of file clusterer.hpp.
◆ m_TreeThe documentation for this class was generated from the following files:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4