SpecialRelations Class Reference

#include <SpecialRelations.H>

Inheritance diagram for SpecialRelations:

Inheritance graph
[legend]
Collaboration diagram for SpecialRelations:

Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static int Count ()
static void cleanup_files ()
static void CycleSearch ()
static bool insert (const CmpqsFactor &DLP, CRelation *GL, const short int HitCount=0)
static bool insert (const CmpqsFactor &DLP, const string &GL_String)
static bool SpecialFactor_splitable (const CmpqsFactor &DLP)
static void split_by_primefactor (const int Primfaktor)
static void Load ()

Private Types

typedef set
< TSpecialFactorRelation,
TSpecialFactorRelation
TSpecialFactorRelations

Static Private Attributes

static TSpecialFactorRelations SpecialFactorRelations
static filebuf FileBuffer
static ostream SpecialRelations_to_file
static istream SpecialRelations_from_file

Friends

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


Detailed Description

Definition at line 39 of file SpecialRelations.H.


Member Typedef Documentation

typedef set<TSpecialFactorRelation,TSpecialFactorRelation> SpecialRelations::TSpecialFactorRelations [private]

Definition at line 46 of file SpecialRelations.H.


Member Function Documentation

static int SpecialRelations::Count (  )  [inline, static]

Definition at line 55 of file SpecialRelations.H.

References SpecialFactorRelations.

Referenced by statistical_data::StatusReport(), and statistical_data::XML_StatusReport().

static void SpecialRelations::cleanup_files (  )  [inline, static]

Reimplemented from DynamicRelations.

Definition at line 56 of file SpecialRelations.H.

References FileBuffer, and SpecialRelationsFile.

Referenced by cleanup_files().

void SpecialRelations::CycleSearch (  )  [static]

Definition at line 144 of file SpecialRelations.cc.

References CRelation::combine(), cout, CRelation::Delta, statistical_data::DLP_cycle_hits, statistical_data::DynamicFactorRating, endl(), TSpecialFactorRelation::factor, flush(), TSpecialFactorRelation::fpos, StaticRelations::insert(), CmpqsFactor::LP1(), CmpqsFactor::LP2(), mpz_mod(), mpz_mul_ui(), n, CRelation::SanityCheck(), CmpqsFactor::set_for_search(), SpecialFactorRelations, SpecialRelations_from_file, SpecialRelations_to_file, and CmpqsFactor::swap().

Referenced by insert(), and main().

Here is the call graph for this function:

bool SpecialRelations::insert ( const CmpqsFactor DLP,
CRelation GL,
const short int  HitCount = 0 
) [static]

Definition at line 291 of file SpecialRelations.cc.

References CmpqsFactor::assign_to_mpz(), CRelation::combine(), cout, CycleSearch(), CRelation::Delta, endl(), TSpecialFactorRelation::factor, TSpecialFactorRelation::fpos, CmpqsFactor::LP1(), CmpqsFactor::LP2(), mpz_clear(), mpz_init(), mpz_mod(), mpz_mul(), mpz_mul_ui(), n, CRelation::save(), statistical_data::Special_hit, SpecialFactorRelations, SpecialRelations_from_file, SpecialRelations_to_file, and CmpqsFactor::swap().

Referenced by Cprocess_clients::process_data_stream().

Here is the call graph for this function:

bool SpecialRelations::insert ( const CmpqsFactor DLP,
const string GL_String 
) [static]

Definition at line 535 of file SpecialRelations.cc.

References CmpqsFactor::assign_to_mpz(), cerr, cout, DynamicRelations::CRelation, CycleSearch(), CRelation::Delta, endl(), exit(), TSpecialFactorRelation::factor, TSpecialFactorRelation::fpos, StaticRelations::insert(), CmpqsFactor::LP1(), CmpqsFactor::LP2(), MARK, mpz_clear(), mpz_init(), mpz_mod(), mpz_mul(), mpz_mul_ui(), CRelation::multi_combine_init(), CRelation::multi_combine_main(), n, CRelation::set_MulticombineData(), statistical_data::Special_hit, SpecialFactorRelations, SpecialRelations_from_file, SpecialRelations_to_file, CmpqsFactor::swap(), and without_multi_combine_init.

Here is the call graph for this function:

bool SpecialRelations::SpecialFactor_splitable ( const CmpqsFactor DLP  )  [static]

Definition at line 345 of file SpecialRelations.cc.

References TSpecialFactorRelation::factor, CmpqsFactor::LP1(), CmpqsFactor::LP2(), and SpecialFactorRelations.

Here is the call graph for this function:

void SpecialRelations::split_by_primefactor ( const int  Primfaktor  )  [static]

Definition at line 360 of file SpecialRelations.cc.

References TDynamicFactorRelation::append_for_sieving(), cerr, CRelation::combine(), CRelation::Delta, distance(), statistical_data::DynamicFactorRating, DynamicFactorRelations, DynamicRelations::DynamicRelations_from_file, DynamicRelations::DynamicRelations_to_file, endl(), exit(), TDynamicFactorRelation::factor, TSpecialFactorRelation::factor, TSpecialFactorRelation::fpos, TDynamicFactorRelation::fpos, CStreamDecoder::GetValue(), StaticRelations::insert(), CServerDynamicFactorRelations::insert(), is_dynamic_factor(), MARK, mpz_mod(), mpz_mul_ui(), n, CStreamEncoder::PutValue(), CRelation::SanityCheck(), CmpqsFactor::set_for_search(), setprecision(), statistical_data::Special_hit, statistical_data::Special_to_dynamic_Factor_hit, SpecialFactorRelations, SpecialRelations_from_file, SpecialRelations_to_file, and CmpqsFactor::swap().

Referenced by Cprocess_clients::process_data_stream().

Here is the call graph for this function:

void SpecialRelations::Load (  )  [static]

Reimplemented from DynamicRelations.

Definition at line 15 of file SpecialRelations.cc.

References cerr, cout, endl(), exit(), TSpecialFactorRelation::factor, flush(), TSpecialFactorRelation::fpos, MARK, SpecialFactorRelations, SpecialRelations_from_file, SpecialRelations_to_file, and CmpqsFactor::swap().

Referenced by main().

Here is the call graph for this function:


Friends And Related Function Documentation

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

Reimplemented from DynamicRelations.

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


Member Data Documentation

SpecialRelations::TSpecialFactorRelations SpecialRelations::SpecialFactorRelations [static, private]

Definition at line 47 of file SpecialRelations.H.

Referenced by Count(), CycleSearch(), insert(), Load(), SpecialFactor_splitable(), and split_by_primefactor().

istream SpecialRelations::SpecialRelations_from_file & SpecialRelations::FileBuffer [static, private]

Reimplemented from DynamicRelations.

Definition at line 50 of file SpecialRelations.H.

Referenced by cleanup_files(), and main().

ostream SpecialRelations::SpecialRelations_to_file [static, private]

Definition at line 51 of file SpecialRelations.H.

Referenced by CycleSearch(), insert(), Load(), and split_by_primefactor().

istream SpecialRelations::SpecialRelations_from_file [static, private]

Definition at line 52 of file SpecialRelations.H.

Referenced by CycleSearch(), insert(), Load(), and split_by_primefactor().


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