qsieve.cc File Reference

main implementation file of Qsieve standalone More...

#include "at_startup.H"
#include <unistd.h>
#include <cstdio>
#include <cstdlib>
#include <fstream>
#include <sstream>
#include <cmath>
#include <gmp.h>
#include <list>
#include <set>
#include <ctime>
#include "qsieve.H"
#include "StaticFactorbase.H"
#include "FactorFound.H"
#include <vector>
#include <stack>
#include <algorithm>
#include "mpqsPolynom.H"
#include "StaticRelations.H"
#include "DynamicRelations.H"
#include "SpecialRelations.H"
#include "Sieving.H"
#include "ConfigFile.cc"
#include "mpqsStatistics.cc"
#include "modulo.H"
#include "FactorFound.cc"
#include "polynomial.H"
#include "fft_param.cc"
#include "elliptic_curve.H"
#include "elliptic_curve-variant.cc"
#include "ExitManager.cc"
#include "StaticRelations.cc"
#include "easy_factor.H"
#include "CRelation-inc.cc"
#include "SpecialRelations.cc"
#include "parse_term.cc"

Include dependency graph for qsieve.cc:

Go to the source code of this file.

Functions

void process_ecm ()
void cleanup_files ()
void cleanup_memory ()
int main (const int argc, const char *const argv[])

Variables

TFoundFactors FoundFactors
const string RecoveryFile = "recovery.dat"
const string FoundFactorsFile = "FoundFactors.dat"
const string StaticRelationsFile = "static_relations.dat"
const string SpecialRelationsFile = "special_relations.dat"
filebuf Recovery_buffer
mpz_t n
mpz_t kN
CmpqsPolynom Polynom
const bool without_multi_combine_init = false


Detailed Description

main implementation file of Qsieve standalone

Definition in file qsieve.cc.


Function Documentation

void cleanup_files (  ) 

Definition at line 210 of file qsieve.cc.

References std::basic_string< _CharT, _Traits, _Alloc >::c_str(), DynamicRelations::cleanup_files(), SpecialRelations::cleanup_files(), StaticRelations::cleanup_files(), std::basic_filebuf< _CharT, _Traits >::close(), cout, and endl().

Referenced by main().

Here is the call graph for this function:

void cleanup_memory (  ) 

Definition at line 222 of file qsieve.cc.

References StaticRelations::cleanup_memory(), cout, CmpqsFactor::DLP_Threshold, endl(), kN, mpz_clear(), and n.

Here is the call graph for this function:

int main ( const int  argc,
const char *const   argv[] 
)

Definition at line 236 of file qsieve.cc.

References TFoundFactors::AutoLoad(), std::basic_string< _CharT, _Traits, _Alloc >::c_str(), cerr, cleanup_files(), cleanup_memory(), polynomial::clear_dft_tempmemory(), CmpqsPolynom::compute_first_polynomial(), CmpqsPolynom::compute_next_polynomial(), StaticFactorbase::compute_StaticFactorbase(), cout, cout_status(), SpecialRelations::CycleSearch(), determine_best_MPQS_Multiplier(), statistical_data::display_StatusLegend(), CmpqsFactor::DLP_Threshold, do_sieving, DynamicRelationsFile, easy_factor(), endl(), exit(), Factorization_to_file, DynamicRelations::FileBuffer, SpecialRelations::FileBuffer, StaticRelations::FileBuffer, parse_term::get_number(), kN, SpecialRelations::Load(), DynamicRelations::Load(), StaticRelations::Load(), CmpqsPolynom::load_if_available(), LogicalSieveSize, MPQS_Multiplier, mpz_cmp_ui(), mpz_get_d(), mpz_init(), mpz_mul(), mpz_set(), mpz_set_ui(), mpz_sizeinbase(), n, std::basic_filebuf< _CharT, _Traits >::open(), PhysicalSieveSize, PrintHeader(), process_ecm(), statistical_data::ProgressStats, Read_ConfigFile(), TFoundFactors::regarding, TFoundFactors::regarding_numeric_value, ExitManager::register_exithandler(), CRelation::SanityCheckRelationsFile(), CmpqsPolynom::save(), SingleLargePrime_Threshold, SkipECM, sqrt(), and tune_parameters().

Here is the call graph for this function:

void process_ecm (  ) 

Definition at line 133 of file qsieve.cc.

References std::basic_string< _CharT, _Traits, _Alloc >::c_str(), std::basic_filebuf< _CharT, _Traits >::close(), std::basic_ifstream< _CharT, _Traits >::close(), cout, ecm_curves_processed, elcu_Kurven, elcu_Phase1, elcu_Phase2, endl(), Factorization_to_file, flush(), elliptic_curves::go(), MAL(), mpz_cmp_ui(), mpz_probab_prime_p(), mpz_set_ui(), mpz_sizeinbase(), n, std::basic_filebuf< _CharT, _Traits >::open(), Potenztest(), my_mpz_wrapper::probab_prime_checks, ExitManager::StopFactorization(), and tune_parameters().

Referenced by main().

Here is the call graph for this function:


Variable Documentation

TFoundFactors FoundFactors

Definition at line 48 of file qsieve.cc.

Referenced by MAL(), ExitManager::StopFactorization(), and statistical_data::XML_StatusReport().

const string FoundFactorsFile = "FoundFactors.dat"

Definition at line 66 of file qsieve.cc.

Referenced by TFoundFactors::AutoLoad(), and TFoundFactors::AutoSave().

mpz_t kN

Definition at line 92 of file qsieve.cc.

mpz_t n

Definition at line 92 of file qsieve.cc.

CmpqsPolynom Polynom

Definition at line 104 of file qsieve.cc.

istream Recovery_from_file & Recovery_buffer

Definition at line 83 of file qsieve.cc.

Referenced by Cprocess_clients::process_data_stream_ecm().

const string RecoveryFile = "recovery.dat"

Definition at line 65 of file qsieve.cc.

Referenced by Cprocess_clients::process_data_stream_ecm().

const string SpecialRelationsFile = "special_relations.dat"

Definition at line 68 of file qsieve.cc.

const string StaticRelationsFile = "static_relations.dat"

Definition at line 67 of file qsieve.cc.

const bool without_multi_combine_init = false

Definition at line 125 of file qsieve.cc.

Referenced by SpecialRelations::insert(), and Cprocess_clients::process_data_stream().


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