file-client.cc File Reference

main implementation file of Qsieve file-client 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 <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 "StaticRelations.cc"
#include "CRelation-inc.cc"

Include dependency graph for file-client.cc:

Go to the source code of this file.

Functions

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

Variables

const string StaticRelationsFile = "static_relations.dat"
const string SpecialRelationsFile = "special_relations.dat"
string communication_name
ofstream communication_stream
mpz_t n
mpz_t kN
CmpqsPolynom Polynom


Detailed Description

main implementation file of Qsieve file-client

Definition in file file-client.cc.


Function Documentation

void cleanup_memory (  ) 

Definition at line 98 of file file-client.cc.

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

Referenced by main().

Here is the call graph for this function:

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

Definition at line 115 of file file-client.cc.

References TDynamicFactorRelation::append_for_sieving(), atexit(), std::basic_string< _CharT, _Traits, _Alloc >::c_str(), cerr, cleanup_memory(), CmpqsPolynom::compute_first_polynomial(), CmpqsPolynom::compute_next_polynomial(), StaticFactorbase::compute_StaticFactorbase(), cout, determine_best_MPQS_Multiplier(), statistical_data::display_StatusLegend(), CmpqsFactor::DLP_Threshold, do_sieving, DynamicFactorRelations, endl(), exit(), TDynamicFactorRelation::factor, Factor_Threshold, std::basic_ofstream< _CharT, _Traits >::fail(), TDynamicFactorRelation::fpos, CServerDynamicFactorRelations::insert(), kN, CmpqsPolynom::load(), LogicalSieveSize, MARK, MPQS_Multiplier, mpz_clear(), mpz_get_d(), mpz_init(), mpz_mul(), mpz_set_ui(), n, std::basic_ofstream< _CharT, _Traits >::open(), PhysicalSieveSize, PrintHeader(), Read_ConfigFile(), SingleLargePrime_Threshold, StaticFactorbaseSettings::Size(), StaticFactorbaseSettings::Size_StaticFactorbase, and sqrt().

Here is the call graph for this function:


Variable Documentation

string communication_name

Definition at line 68 of file file-client.cc.

Referenced by CClientRelation_Delivery::init(), CClientDynamicFactorFetcher::THREAD_fetch_DynamicFactors(), CClientPolynomFetcher::THREAD_fetch_polynom(), and CClientRelation_Delivery::THREAD_transmit_Relations().

ofstream communication_stream

Definition at line 69 of file file-client.cc.

Referenced by main(), and Cprocess_clients::THREAD_process_data_stream().

mpz_t kN

Definition at line 75 of file file-client.cc.

Referenced by check_SQRT_kN_mod_PrimeNumber(), cleanup_memory(), StaticFactorbase::compute_StaticFactorbase(), main(), Cprocess_clients::process_data_stream(), SQRT_kN_mod_PrimeNumber(), and CClientRelation_Delivery::THREAD_transmit_Relations().

mpz_t n

Definition at line 75 of file file-client.cc.

CmpqsPolynom Polynom

Definition at line 87 of file file-client.cc.

Referenced by do_check(), CClientPolynomFetcher::fetch(), elliptic_curves::go(), performance_check(), polphi_template(), Cprocess_clients::process_data_stream(), and statistical_data::StatusReport().

const string SpecialRelationsFile = "special_relations.dat"

Definition at line 65 of file file-client.cc.

Referenced by SpecialRelations::cleanup_files().

const string StaticRelationsFile = "static_relations.dat"

Definition at line 64 of file file-client.cc.

Referenced by StaticRelations::cleanup_files().


Generated on Wed Nov 7 23:29:58 2007 for Qsieve by  doxygen 1.5.4