#include <StaticRelations.H>
Static Public Member Functions | |
static void | insert (CRelation *GL, const bool do_multi_combine_init=true) |
static void | insert (CRelation *GL, const bool do_multi_combine_init=true) |
static void | Load () |
static int | Count () |
static void | cleanup_files () |
static void | cleanup_memory () |
Static Private Attributes | |
static CRelation * | GLS [StaticFactorbase::MaxSize] = {NULL} |
static int | Filling_GLS = 0 |
static filebuf | FileBuffer |
static ostream | StaticRelations_to_file |
static istream | StaticRelations_from_file |
Friends | |
int | main (const int argc, const char *const argv[]) |
Definition at line 26 of file Sieving.cc.
void StaticRelations::insert | ( | CRelation * | GL, | |
const bool | do_multi_combine_init = true | |||
) | [static] |
Definition at line 50 of file StaticRelations.cc.
References cerr, CRelation::ComputeQuadraticCongruence(), count(), cout, CRelation::dispose_MulticombineData(), CRelation::dynamic_factor, CRelation::empty(), endl(), CCriticalSection::enter(), exit(), Filling_GLS, GLS, CRelation::invalidate_MulticombineData(), CCriticalSection::leave(), MARK, CRelation::multi_combine_exit(), CRelation::multi_combine_init(), CRelation::multi_combine_main(), CRelation::Relation_sparse, CRelation::relevant_factor, CRelation::save(), CRelation::second_largest_factor_in_Relation(), CRelation::set_MulticombineData(), StaticFactorbaseSettings::Size(), CRelation::SizeOfRelation(), CRelation::special_factor, StaticRelations_to_file, statistical_data::StatusReport(), ExitManager::StopFactorization(), std::swap(), CCriticalSection::try_enter(), and CRelation::use_MulticombineData_from().
Referenced by SpecialRelations::CycleSearch(), do_sieving_DynamicFactors(), SpecialRelations::insert(), Cprocess_clients::process_data_stream(), and SpecialRelations::split_by_primefactor().
static void StaticRelations::insert | ( | CRelation * | GL, | |
const bool | do_multi_combine_init = true | |||
) | [static] |
void StaticRelations::Load | ( | ) | [static] |
Definition at line 16 of file StaticRelations.cc.
References cerr, CRelation::combine(), Count(), cout, endl(), exit(), Filling_GLS, GLS, CRelation::optisize(), CRelation::relevant_factor, and StaticRelations_from_file.
Referenced by main().
static int StaticRelations::Count | ( | ) | [inline, static] |
Definition at line 34 of file StaticRelations.H.
References Filling_GLS.
Referenced by statistical_data::calc_ETA(), statistical_data::display_StatusLegend(), Load(), main(), statistical_data::StatusReport(), statistical_data::CProgressStats::take_sample(), and statistical_data::XML_StatusReport().
static void StaticRelations::cleanup_files | ( | ) | [inline, static] |
Definition at line 35 of file StaticRelations.H.
References std::basic_string< _CharT, _Traits, _Alloc >::c_str(), FileBuffer, and StaticRelationsFile.
Referenced by cleanup_files().
static void StaticRelations::cleanup_memory | ( | ) | [inline, static] |
Definition at line 40 of file StaticRelations.H.
References count(), cout, endl(), Filling_GLS, GLS, and StaticFactorbaseSettings::MaxSize.
Referenced by cleanup_memory().
int main | ( | const int | argc, | |
const char *const | argv[] | |||
) | [friend] |
Definition at line 115 of file file-client.cc.
CRelation * StaticRelations::GLS = {NULL} [static, private] |
Definition at line 17 of file StaticRelations.H.
Referenced by cleanup_memory(), insert(), and Load().
int StaticRelations::Filling_GLS = 0 [static, private] |
Definition at line 22 of file StaticRelations.H.
Referenced by cleanup_memory(), Count(), insert(), and Load().
istream StaticRelations::StaticRelations_from_file & StaticRelations::FileBuffer [static, private] |
ostream StaticRelations::StaticRelations_to_file [static, private] |
istream StaticRelations::StaticRelations_from_file [static, private] |