Strategy Class Reference
#include <bkz_param.h>
Public Member Functions | |
const PruningParams & | get_pruning (double radius, double gh) const |
Static Public Member Functions | |
static Strategy | EmptyStrategy (size_t block_size) |
Data Fields | |
size_t | block_size |
vector< PruningParams > | pruning_parameters |
vector< size_t > | preprocessing_block_sizes |
Detailed Description
A strategy covers pruning parameters and preprocessing block_sizes
Member Function Documentation
◆ EmptyStrategy()
|
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
-
radius radius of the currently shortest vector gh Gaussian 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:
- fplll/bkz_param.h
- fplll/bkz_param.cpp