xapian-core  2.0.0
Functions
orpostlist.cc File Reference

PostList class implementing Query::OP_OR. More...

#include <config.h>
#include "orpostlist.h"
#include "andmaybepostlist.h"
#include "andpostlist.h"
#include "min_non_zero.h"
#include "postlisttree.h"
#include <algorithm>
+ Include dependency graph for orpostlist.cc:

Go to the source code of this file.

Functions

template<typename T >
static void estimate_or_assuming_indep (double a, double b, double n, T &res)
 
template<typename T >
static void estimate_or_assuming_indep (double a, double af, double al, double b, double bf, double bl, T &res)
 

Detailed Description

PostList class implementing Query::OP_OR.

Definition in file orpostlist.cc.

Function Documentation

◆ estimate_or_assuming_indep() [1/2]

template<typename T >
static void estimate_or_assuming_indep ( double  a,
double  af,
double  al,
double  b,
double  bf,
double  bl,
T &  res 
)
static

Definition at line 44 of file orpostlist.cc.

References AssertRel.

◆ estimate_or_assuming_indep() [2/2]

template<typename T >
static void estimate_or_assuming_indep ( double  a,
double  b,
double  n,
T &  res 
)
static

Definition at line 36 of file orpostlist.cc.

References Assert.

Referenced by OrPostList::OrPostList().