NCBI C++ ToolKit
Macros | Functions
ncbi_lb.c File Reference
#include "ncbi_lb.h"
#include "ncbi_priv.h"
#include <stdlib.h>
+ Include dependency graph for ncbi_lb.c:

Go to the source code of this file.

Go to the SVN repository for this file.

Macros

#define NCBI_USE_ERRCODE_X   Connect_LBSM
 

Functions

static double s_Preference (double pref, double gap, size_t n)
 
size_t LB_Select (SERV_ITER iter, void *data, FGetCandidate get_candidate, double bonus)
 

Macro Definition Documentation

◆ NCBI_USE_ERRCODE_X

#define NCBI_USE_ERRCODE_X   Connect_LBSM

Definition at line 36 of file ncbi_lb.c.

Function Documentation

◆ LB_Select()

size_t LB_Select ( SERV_ITER  iter,
void *  data,
FGetCandidate  get_candidate,
double  bonus 
)

◆ s_Preference()

static double s_Preference ( double  pref,
double  gap,
size_t  n 
)
static

Definition at line 46 of file ncbi_lb.c.

References assert, and n.

Referenced by LB_Select().

Modified on Fri Sep 20 14:57:03 2024 by modify_doxy.py rev. 669887