#include <pruner.h>

Public Member Functions

 PruningParams ()
 

Static Public Member Functions

static PruningParams LinearPruningParams (int block_size, int level)
 

Data Fields

double gh_factor
 
std::vector< double > coefficients
 
double expectation
 
PrunerMetric metric
 
std::vector< double > detailed_cost
 

Detailed Description

Pruning parameters for one radius (expressed as a ratio to the Gaussian heuristic)

Constructor & Destructor Documentation

◆ PruningParams()

PruningParams::PruningParams ( )
inline

The default constructor means no pruning.

Member Function Documentation

◆ LinearPruningParams()

FPLLL_BEGIN_NAMESPACE PruningParams PruningParams::LinearPruningParams ( int  block_size,
int  level 
)
static

Set all pruning coefficients to 1, except the last <level> coefficients, these will be linearly with slope -1 / block_size.

Parameters
levelnumber of levels in linear descent

Field Documentation

◆ coefficients

std::vector<double> PruningParams::coefficients

◆ detailed_cost

std::vector<double> PruningParams::detailed_cost

◆ expectation

double PruningParams::expectation

◆ gh_factor

double PruningParams::gh_factor

◆ metric

PrunerMetric PruningParams::metric

metric used for optimisation (success probability or number of solutions)


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