LatNet Builder Manual  2.0.1-11
Software Package for Constructing Highly Uniform Point Sets
LatticeTester::LatticeTesterConfig< Int, BasIntMat > Class Template Reference

This class is used to save the configuration of a lattice test. More...

#include <LatticeTesterConfig.h>

Public Member Functions

 LatticeTesterConfig ()
 Constructor.
 
 ~LatticeTesterConfig ()
 Destructor.
 
void kill ()
 Frees the memory used by this object.
 
void write ()
 For debugging: writes the configuration on the console.
 

Public Attributes

bool readGenFile
 This flag is set true if the generator is to be read from a file, otherwise it is set false.
 
std::string fileName
 If readGenFile is true, the name of the file from which to read the generator.
 
int dim
 
NormaType normalizer
 The bound used for the normalization in the definition of \(S_t\). More...
 
PreReductionType prereduction
 The bound used for the normalization in the definition of \(S_t\). More...
 
int detailF
 This flag indicates to print more detailed results if detailF \(>0\). More...
 
NormType norm
 Norm used to measure the length of vectors. More...
 
CriterionType test
 The criterion for which the test will be performed. More...
 
PrecisionType precision
 The precision in which the test will be performed. More...
 
std::int64_t maxNodesBB
 The maximum number of nodes to be examined in any given branch-and-bound procedure when computing \(d_t\) or \(q_t\).
 
BasIntMat basis
 The basis of the Lattice where the test will be apply.
 
Int modulo
 The modulo of the rank1 lattice for Palpha test.
 
int alpha
 The alpha coefficient for Palpha test (for rank 1 lattices)
 
double fact
 Used in LLL and BKZ. More...
 
int blocksize
 Used in BKZ. More...
 
OutputType outputType
 File format used to store the results. More...
 

Static Public Attributes

static const int MAX_WORD_SIZE = 64
 

Detailed Description

template<typename Int, typename BasIntMat>
class LatticeTester::LatticeTesterConfig< Int, BasIntMat >

This class is used to save the configuration of a lattice test.

It is used to keep all the parameters read in the data file and passed to different methods for the spectral, Beyer or \(P_{\alpha}\) tests.

Member Data Documentation

◆ blocksize

template<typename Int, typename BasIntMat>
int LatticeTester::LatticeTesterConfig< Int, BasIntMat >::blocksize

Used in BKZ.

It stocks the number of blocks used for the BKZ reduction. The more it is large, the more the basis will be reduced.

Referenced by LatticeTester::LatticeAnalysis< Int, BasInt, Dbl, RedDbl >::doTestFromInputFile(), and LatticeTester::ParamReader< Int, BasInt, RedDbl >::read().

◆ detailF

template<typename Int, typename BasIntMat>
int LatticeTester::LatticeTesterConfig< Int, BasIntMat >::detailF

This flag indicates to print more detailed results if detailF \(>0\).

Default value: 0.

◆ fact

template<typename Int, typename BasIntMat>
double LatticeTester::LatticeTesterConfig< Int, BasIntMat >::fact

Used in LLL and BKZ.

See Reducer. It must be smaller than

  1. If fact is closer to 1, the basis will be (typically) "more reduced", but that will require more work.

Referenced by LatticeTester::LatticeAnalysis< Int, BasInt, Dbl, RedDbl >::doTestFromInputFile(), and LatticeTester::ParamReader< Int, BasInt, RedDbl >::read().

◆ norm

template<typename Int, typename BasIntMat>
NormType LatticeTester::LatticeTesterConfig< Int, BasIntMat >::norm

Norm used to measure the length of vectors.

See module Const for a definition of the possible norms.

Referenced by LatticeTester::LatticeAnalysis< Int, BasInt, Dbl, RedDbl >::doTestFromInputFile(), and LatticeTester::initNorm().

◆ normalizer

template<typename Int, typename BasIntMat>
NormaType LatticeTester::LatticeTesterConfig< Int, BasIntMat >::normalizer

The bound used for the normalization in the definition of \(S_t\).

Only applicable for the spectral test.

Referenced by LatticeTester::LatticeAnalysis< Int, BasInt, Dbl, RedDbl >::doTestFromInputFile(), LatticeTester::initNorm(), and LatticeTester::ParamReader< Int, BasInt, RedDbl >::read().

◆ outputType

template<typename Int, typename BasIntMat>
OutputType LatticeTester::LatticeTesterConfig< Int, BasIntMat >::outputType

File format used to store the results.

See Const for a definition of the possible output types.

Referenced by LatticeTester::LatticeAnalysis< Int, BasInt, Dbl, RedDbl >::doTestFromInputFile(), and LatticeTester::ParamReader< Int, BasInt, RedDbl >::read().

◆ precision

template<typename Int, typename BasIntMat>
PrecisionType LatticeTester::LatticeTesterConfig< Int, BasIntMat >::precision

The precision in which the test will be performed.

See module Const for the possible precision types.

Referenced by LatticeTester::LatticeAnalysis< Int, BasInt, Dbl, RedDbl >::doTestFromInputFile(), and LatticeTester::ParamReader< Int, BasInt, RedDbl >::read().

◆ prereduction

template<typename Int, typename BasIntMat>
PreReductionType LatticeTester::LatticeTesterConfig< Int, BasIntMat >::prereduction

The bound used for the normalization in the definition of \(S_t\).

Only applicable for the spectral test.

Referenced by LatticeTester::LatticeAnalysis< Int, BasInt, Dbl, RedDbl >::doTestFromInputFile(), and LatticeTester::ParamReader< Int, BasInt, RedDbl >::read().

◆ test

template<typename Int, typename BasIntMat>
CriterionType LatticeTester::LatticeTesterConfig< Int, BasIntMat >::test

The criterion for which the test will be performed.

See module Const for the possible criterion types.

Referenced by LatticeTester::LatticeAnalysis< Int, BasInt, Dbl, RedDbl >::doTestFromInputFile(), and LatticeTester::ParamReader< Int, BasInt, RedDbl >::read().


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