LatNet Builder Manual  2.0.1-11
Software Package for Constructing Highly Uniform Point Sets
Const.h File Reference

This module contains global constants used in LatticeTester. More...

#include <string>
#include <array>

Namespaces

 LatticeTester
 Lattice namespace.
 

Enumerations

enum  LatticeTester::NormType { SUPNORM = 1, L1NORM = 2, L2NORM = 3, ZAREMBANORM = 4 }
 Indicates which norm is used to measure the length of vectors. More...
 
enum  LatticeTester::OutputType { TERMINAL, RES, TEX, GEN }
 Indicates in which form and where the results will be sent. More...
 
enum  LatticeTester::PrecisionType {
  DOUBLE, QUADRUPLE, EXPONENT, ARBITRARY,
  EXACT
}
 
Indicates in which precision the NTL algorithms will be perfoms : FP – double QP – quad_float (quasi quadruple precision) this is useful when roundoff errors can cause problems XD – xdouble (extended exponent doubles) this is useful when numbers get too big RR – RR (arbitrary precision floating point) this is useful for large precision and magnitudes Generally speaking, the choice FP will be the fastest, but may be prone to roundoff errors and/or overflow.
 
enum  LatticeTester::PrimeType { UNKNOWN, PRIME, PROB_PRIME, COMPOSITE }
 Indicates whether an integer is prime, probably prime, composite or its status is unknown (or don’t care).
 
enum  LatticeTester::CriterionType { SPECTRAL, BEYER, PALPHA, BOUND_JS }
 Gives the merit criterion for ranking generators or lattices. More...
 
enum  LatticeTester::NormaType {
  BESTLAT, LAMINATED, ROGERS, MINKOWSKI,
  MINKL1, PALPHA_N, NORMA_GENERIC, L1,
  L2
}
 Indicates which normalization is used to compute \(S_t\) in the spectral test, for each dimension \(t\). More...
 
enum  LatticeTester::CalcType { PAL, NORMPAL, BAL, SEEKPAL }
 Indicates which type of calculation is considered for the \(P_{\alpha}\) test. More...
 
enum  LatticeTester::PreReductionType { BKZ, PreRedDieter, LenstraLL, NOPRERED }
 Indicates the Prereduction Type (BKZ, LenstraLL, ...) used before applying the Branch and Bound procedure.
 

Functions

toString functions

Useful functions for printing the enum constants in this module.

Returns the enum constants in this module as strings.

std::string LatticeTester::toStringNorm (NormType)
 
std::string LatticeTester::toStringPrime (PrimeType)
 
std::string LatticeTester::toStringCriterion (CriterionType)
 
std::string LatticeTester::toStringNorma (NormaType)
 
std::string LatticeTester::toStringCalc (CalcType)
 
std::string LatticeTester::toStringPreRed (PreReductionType)
 
std::string LatticeTester::toStringOutput (OutputType)
 
std::string LatticeTester::toStringPrecision (PrecisionType)
 

Variables

const std::array< unsigned int, NB_PRIMES > LatticeTester::PRIMES_ARRAY
 

Detailed Description

This module contains global constants used in LatticeTester.