#include <bkz_param.h>

Public Member Functions

const PruningParamsget_pruning (double radius, double gh) const
 

Static Public Member Functions

static Strategy EmptyStrategy (size_t block_size)
 

Data Fields

size_t block_size
 
vector< PruningParamspruning_parameters
 
vector< size_t > preprocessing_block_sizes
 

Detailed Description

A strategy covers pruning parameters and preprocessing block_sizes

Member Function Documentation

◆ EmptyStrategy()

static Strategy Strategy::EmptyStrategy ( size_t  block_size)
inlinestatic

Construct an empty strategy

Note
Use this instead of the default constructor. The default constructor does not add default pruning parameters.

◆ get_pruning()

const PruningParams & Strategy::get_pruning ( double  radius,
double  gh 
) const

Select the best pruning parameters for the input radius. The parameter gh is used to establish the ratio between radius and the Gaussian heuristic, which is used for sizes.

Parameters
radiusradius of the currently shortest vector
ghGaussian heuristic prediction for radius

Field Documentation

◆ block_size

size_t Strategy::block_size

◆ preprocessing_block_sizes

vector<size_t> Strategy::preprocessing_block_sizes

◆ pruning_parameters

vector<PruningParams> Strategy::pruning_parameters

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