StaticRelations Class Reference

#include <StaticRelations.H>

Inheritance diagram for StaticRelations:

Inheritance graph
[legend]
Collaboration diagram for StaticRelations:

Collaboration graph
[legend]

List of all members.

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 CRelationGLS [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[])


Detailed Description

Definition at line 26 of file Sieving.cc.


Member Function Documentation

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:


Friends And Related Function Documentation

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

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


Member Data Documentation

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]

Definition at line 26 of file StaticRelations.H.

Referenced by cleanup_files(), and main().

ostream StaticRelations::StaticRelations_to_file [static, private]

Definition at line 27 of file StaticRelations.H.

Referenced by insert().

istream StaticRelations::StaticRelations_from_file [static, private]

Definition at line 28 of file StaticRelations.H.

Referenced by Load().


The documentation for this class was generated from the following files:
Generated on Wed Nov 7 23:32:17 2007 for Qsieve by  doxygen 1.5.4