xapian-core  2.0.0
Public Member Functions | Private Attributes | List of all members
Xapian::LCDClusterer Class Reference

LCD clusterer: This clusterer implements the LCD clustering algorithm adapted from Modelling efficient novelty-based search result diversification in metric spaces Gil-Costa et al. More...

#include <cluster.h>

+ Inheritance diagram for Xapian::LCDClusterer:
+ Collaboration diagram for Xapian::LCDClusterer:

Public Member Functions

 LCDClusterer (unsigned int k_)
 Constructor specifying number of clusters. More...
 
ClusterSet cluster (const MSet &mset) override
 Implements the LCD clustering algorithm. More...
 
std::string get_description () const override
 Return a string describing this object. More...
 
- Public Member Functions inherited from Xapian::Clusterer
virtual ~Clusterer ()
 Destructor. More...
 
Clustererrelease ()
 Start reference counting this object. More...
 
const Clustererrelease () const
 Start reference counting this object. More...
 
- Public Member Functions inherited from Xapian::Internal::opt_intrusive_base
 opt_intrusive_base (const opt_intrusive_base &)
 
opt_intrusive_baseoperator= (const opt_intrusive_base &)
 
 opt_intrusive_base ()
 Construct object which is initially not reference counted. More...
 
virtual ~opt_intrusive_base ()
 
void ref () const
 
void unref () const
 

Private Attributes

unsigned int k
 Specifies that the clusterer needs to form 'k' clusters. More...
 

Additional Inherited Members

- Public Attributes inherited from Xapian::Internal::opt_intrusive_base
unsigned _refs
 Reference count. More...
 
- Protected Member Functions inherited from Xapian::Internal::opt_intrusive_base
void release () const
 Start reference counting. More...
 

Detailed Description

LCD clusterer: This clusterer implements the LCD clustering algorithm adapted from Modelling efficient novelty-based search result diversification in metric spaces Gil-Costa et al.

2013

Definition at line 662 of file cluster.h.

Constructor & Destructor Documentation

◆ LCDClusterer()

Xapian::LCDClusterer::LCDClusterer ( unsigned int  k_)
explicit

Constructor specifying number of clusters.

Parameters
k_Number of required clusters

Member Function Documentation

◆ cluster()

ClusterSet Xapian::LCDClusterer::cluster ( const MSet mset)
overridevirtual

Implements the LCD clustering algorithm.

Parameters
msetMSet object containing the documents that are to be clustered

Implements Xapian::Clusterer.

◆ get_description()

std::string Xapian::LCDClusterer::get_description ( ) const
overridevirtual

Return a string describing this object.

Implements Xapian::Clusterer.

Member Data Documentation

◆ k

unsigned int Xapian::LCDClusterer::k
private

Specifies that the clusterer needs to form 'k' clusters.

Definition at line 664 of file cluster.h.


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