RDKit
Open-source cheminformatics and machine learning.
Loading...
Searching...
No Matches
RDPickers::LeaderPickerState< T > Struct Template Reference

#include <LeaderPicker.h>

Public Member Functions

 LeaderPickerState (unsigned int count, int)
 
bool empty ()
 
unsigned int compact (int *dst, int *src, unsigned int len)
 
void compact (int pick)
 
int compact_next ()
 

Public Attributes

std::vector< int > v
 
unsigned int left
 
double threshold
 
int query
 
T * func
 

Detailed Description

template<typename T>
struct RDPickers::LeaderPickerState< T >

Definition at line 351 of file LeaderPicker.h.

Constructor & Destructor Documentation

◆ LeaderPickerState()

template<typename T >
RDPickers::LeaderPickerState< T >::LeaderPickerState ( unsigned int  count,
int   
)
inline

Definition at line 358 of file LeaderPicker.h.

References RDPickers::LeaderPickerState< T >::v.

Member Function Documentation

◆ compact() [1/2]

template<typename T >
unsigned int RDPickers::LeaderPickerState< T >::compact ( int *  dst,
int *  src,
unsigned int  len 
)
inline

◆ compact() [2/2]

◆ compact_next()

◆ empty()

template<typename T >
bool RDPickers::LeaderPickerState< T >::empty ( )
inline

Definition at line 366 of file LeaderPicker.h.

References RDPickers::LeaderPickerState< T >::left.

Member Data Documentation

◆ func

template<typename T >
T* RDPickers::LeaderPickerState< T >::func

Definition at line 356 of file LeaderPicker.h.

◆ left

◆ query

◆ threshold

template<typename T >
double RDPickers::LeaderPickerState< T >::threshold

Definition at line 354 of file LeaderPicker.h.

Referenced by RDPickers::LeaderPickerState< T >::compact().

◆ v


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