validator.cc File Reference

tool to validate relation files for the current factorization More...

#include "at_startup.H"
#include <fstream>
#include <sstream>
#include <gmp.h>
#include "qsieve.H"
#include "StaticFactorbase.H"
#include "StaticRelations.H"
#include "Sieving.H"
#include "ConfigFile.cc"

Include dependency graph for validator.cc:

Go to the source code of this file.

Functions

int main (const int argc, const char *const *)

Variables

const string RecoveryFile = "recovery.dat"
const string StaticRelationsFile = "static_relations.dat"
const string SpecialRelationsFile = "special_relations.dat"
filebuf Recovery_buffer
mpz_t n
mpz_t kN


Detailed Description

tool to validate relation files for the current factorization

Definition in file validator.cc.


Function Documentation

int main ( const int  argc,
const char *const *   
)

Definition at line 54 of file validator.cc.

References std::basic_string< _CharT, _Traits, _Alloc >::c_str(), cerr, StaticFactorbase::compute_StaticFactorbase(), cout, determine_best_MPQS_Multiplier(), DynamicRelationsFile, endl(), exit(), Factor_Threshold, kN, LogicalSieveSize, MPQS_Multiplier, mpz_get_d(), mpz_init(), mpz_sizeinbase(), n, std::basic_filebuf< _CharT, _Traits >::open(), PhysicalSieveSize, PrintHeader(), Read_ConfigFile(), CRelation::SanityCheckRelationsFile(), StaticFactorbaseSettings::Size(), sqrt(), and StaticFactorbaseSettings::tune_parameters.

Here is the call graph for this function:


Variable Documentation

mpz_t kN

Definition at line 27 of file validator.cc.

mpz_t n

Definition at line 27 of file validator.cc.

Referenced by elliptic_curves::add(), elliptic_curves::arithmetic_progression(), CRingPhiPhase2::calc_EvalStartingPoint(), CRingPhiPhase2::calc_polynomdef_next_point(), elliptic_curves::check_curve(), cleanup_memory(), CRelation::combine(), CRelation::ComputeQuadraticCongruence(), CRingPhiPhase2::CRingPhiPhase2(), SpecialRelations::CycleSearch(), easy_factor(), elliptic_curves::elliptic_curves(), entry::entry(), elliptic_curves::factor_found(), fermat_like_method(), phimahashvecs::found(), entry::get_mpz(), CRingPhiPhase2::get_point_and_calc_next_point(), elliptic_curves::go(), SpecialRelations::insert(), CRelation::is_valid(), main(), elliptic_curves::mul2(), CRelation::multi_combine_exit(), CRelation::multi_combine_main(), phimat2(), pollard(), polphi_template(), phimahashvecs::prepare(), Cprocess_clients::process_data_stream(), Cprocess_clients::process_data_stream_ecm(), process_ecm(), polynomial::reciprocal2p1(), SpecialRelations::split_by_primefactor(), statistical_data::StatusReport(), elliptic_curves::sub(), statistical_data::XML_StatusReport(), elliptic_curves::XZ_mul2(), and elliptic_curves::XZ_mul2plus1().

istream Recovery_from_file& Recovery_buffer

Definition at line 22 of file validator.cc.

const string RecoveryFile = "recovery.dat"

Definition at line 16 of file validator.cc.

const string SpecialRelationsFile = "special_relations.dat"

Definition at line 18 of file validator.cc.

const string StaticRelationsFile = "static_relations.dat"

Definition at line 17 of file validator.cc.


Generated on Wed Nov 7 23:30:42 2007 for Qsieve by  doxygen 1.5.4