#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 <sys/utsname.h>
#include <pthread.h>
#include <sys/wait.h>
#include <csignal>
#include "mutex.H"
#include "Client_IO.H"
#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 "polynomial.H"
#include "fft_param.cc"
#include "elliptic_curve.H"
#include "elliptic_curve-variant.cc"
#include "StaticRelations.cc"
#include "CRelation-inc.cc"
#include "Client_IO.cc"
Go to the source code of this file.
Functions | |
void | kill_all_other_threads () |
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 |
static socket_piper | SocketPiper |
ostream & | communication_stream = *SocketPiper.detach_OutPipe(256*1024) |
mpz_t | n |
mpz_t | kN |
CmpqsPolynom | Polynom |
Definition in file net-client.cc.
void cleanup_memory | ( | ) |
Definition at line 121 of file net-client.cc.
References StaticRelations::cleanup_memory(), cout, CmpqsFactor::DLP_Threshold, endl(), and mpz_clear().
void kill_all_other_threads | ( | ) |
int main | ( | const int | argc, | |
const char *const | argv[] | |||
) |
Definition at line 134 of file net-client.cc.
References atexit(), cerr, cleanup_memory(), std::basic_ifstream< _CharT, _Traits >::close(), communication_stream, CmpqsPolynom::compute_first_polynomial(), CmpqsPolynom::compute_next_polynomial(), StaticFactorbase::compute_StaticFactorbase(), StaticRelations::Count(), cout, determine_best_MPQS_Multiplier(), statistical_data::display_StatusLegend(), CmpqsFactor::DLP_Threshold, do_sieving, elcu_Phase1, elcu_Phase2, endl(), exit(), Factor_Threshold, CClientDynamicFactorFetcher::fetch(), CClientPolynomFetcher::fetch(), elliptic_curves::go(), CClientRelation_Delivery::init(), kill_all_other_threads(), LogicalSieveSize, MARK, MPQS_Multiplier, mpz_clear(), mpz_get_d(), mpz_init(), mpz_mul(), mpz_set_ui(), PhysicalSieveSize, PrintHeader(), QsieveLogon, Read_ConfigFile(), server_port, SingleLargePrime_Threshold, StaticFactorbaseSettings::Size(), StaticFactorbaseSettings::Size_StaticFactorbase, and sqrt().
Definition at line 73 of file net-client.cc.
ostream& communication_stream = *SocketPiper.detach_OutPipe(256*1024) |
Definition at line 78 of file net-client.cc.
mpz_t kN |
Definition at line 85 of file net-client.cc.
mpz_t n |
Definition at line 85 of file net-client.cc.
Definition at line 97 of file net-client.cc.
socket_piper SocketPiper [static] |
Definition at line 77 of file net-client.cc.
const string SpecialRelationsFile = "special_relations.dat" |
Definition at line 70 of file net-client.cc.
const string StaticRelationsFile = "static_relations.dat" |
Definition at line 69 of file net-client.cc.