Public Types | Public Member Functions | Public Attributes | List of all members
ML::HDBSCAN::FixConnectivitiesRedOp< value_idx, value_t > Struct Template Reference

#include <runner.h>

Collaboration diagram for ML::HDBSCAN::FixConnectivitiesRedOp< value_idx, value_t >:
Collaboration graph

Public Types

typedef raft::KeyValuePair< value_idx, value_t > KVP
 

Public Member Functions

DI FixConnectivitiesRedOp ()
 
 FixConnectivitiesRedOp (value_t *core_dists_, value_idx m_)
 
DI void operator() (value_idx rit, KVP *out, const KVP &other) const
 
DI KVP operator() (value_idx rit, const KVP &a, const KVP &b) const
 
DI void init (value_t *out, value_t maxVal) const
 
DI void init (KVP *out, value_t maxVal) const
 
DI void init_key (value_t &out, value_idx idx) const
 
DI void init_key (KVP &out, value_idx idx) const
 
DI value_t get_value (KVP &out) const
 
DI value_t get_value (value_t &out) const
 
void gather (const raft::resources &handle, value_idx *map)
 
void scatter (const raft::resources &handle, value_idx *map)
 

Public Attributes

value_t * core_dists
 
value_idx m
 

Detailed Description

template<typename value_idx, typename value_t>
struct ML::HDBSCAN::FixConnectivitiesRedOp< value_idx, value_t >

Functor with reduction ops for performing fused 1-nn computation and guaranteeing only cross-component neighbors are considered.

Template Parameters
value_idx
value_t

Member Typedef Documentation

◆ KVP

template<typename value_idx , typename value_t >
typedef raft::KeyValuePair<value_idx, value_t> ML::HDBSCAN::FixConnectivitiesRedOp< value_idx, value_t >::KVP

Constructor & Destructor Documentation

◆ FixConnectivitiesRedOp() [1/2]

template<typename value_idx , typename value_t >
DI ML::HDBSCAN::FixConnectivitiesRedOp< value_idx, value_t >::FixConnectivitiesRedOp ( )
inline

◆ FixConnectivitiesRedOp() [2/2]

template<typename value_idx , typename value_t >
ML::HDBSCAN::FixConnectivitiesRedOp< value_idx, value_t >::FixConnectivitiesRedOp ( value_t *  core_dists_,
value_idx  m_ 
)
inline

Member Function Documentation

◆ gather()

template<typename value_idx , typename value_t >
void ML::HDBSCAN::FixConnectivitiesRedOp< value_idx, value_t >::gather ( const raft::resources &  handle,
value_idx *  map 
)
inline

◆ get_value() [1/2]

template<typename value_idx , typename value_t >
DI value_t ML::HDBSCAN::FixConnectivitiesRedOp< value_idx, value_t >::get_value ( KVP out) const
inline

◆ get_value() [2/2]

template<typename value_idx , typename value_t >
DI value_t ML::HDBSCAN::FixConnectivitiesRedOp< value_idx, value_t >::get_value ( value_t &  out) const
inline

◆ init() [1/2]

template<typename value_idx , typename value_t >
DI void ML::HDBSCAN::FixConnectivitiesRedOp< value_idx, value_t >::init ( KVP out,
value_t  maxVal 
) const
inline

◆ init() [2/2]

template<typename value_idx , typename value_t >
DI void ML::HDBSCAN::FixConnectivitiesRedOp< value_idx, value_t >::init ( value_t *  out,
value_t  maxVal 
) const
inline

◆ init_key() [1/2]

template<typename value_idx , typename value_t >
DI void ML::HDBSCAN::FixConnectivitiesRedOp< value_idx, value_t >::init_key ( KVP out,
value_idx  idx 
) const
inline

◆ init_key() [2/2]

template<typename value_idx , typename value_t >
DI void ML::HDBSCAN::FixConnectivitiesRedOp< value_idx, value_t >::init_key ( value_t &  out,
value_idx  idx 
) const
inline

◆ operator()() [1/2]

template<typename value_idx , typename value_t >
DI KVP ML::HDBSCAN::FixConnectivitiesRedOp< value_idx, value_t >::operator() ( value_idx  rit,
const KVP a,
const KVP b 
) const
inline

◆ operator()() [2/2]

template<typename value_idx , typename value_t >
DI void ML::HDBSCAN::FixConnectivitiesRedOp< value_idx, value_t >::operator() ( value_idx  rit,
KVP out,
const KVP other 
) const
inline

◆ scatter()

template<typename value_idx , typename value_t >
void ML::HDBSCAN::FixConnectivitiesRedOp< value_idx, value_t >::scatter ( const raft::resources &  handle,
value_idx *  map 
)
inline

Member Data Documentation

◆ core_dists

template<typename value_idx , typename value_t >
value_t* ML::HDBSCAN::FixConnectivitiesRedOp< value_idx, value_t >::core_dists

◆ m

template<typename value_idx , typename value_t >
value_idx ML::HDBSCAN::FixConnectivitiesRedOp< value_idx, value_t >::m

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