TDynamicFactorRelation Class Reference

handles a (dynamic) single large prime factor for file access More...

#include <qsieve.H>

List of all members.

Public Member Functions

 TDynamicFactorRelation ()
bool operator() (const TDynamicFactorRelation &t1, const TDynamicFactorRelation &t2) const
int operator() (const TDynamicFactorRelation &t2) const
bool operator== (const TDynamicFactorRelation &t2) const
bool sieveable () const
void append_for_sieving () const

Public Attributes

int factor
streampos fpos

Static Private Member Functions

static void append_DynamicFactor_for_sieving (const int DynFac)


Detailed Description

handles a (dynamic) single large prime factor for file access

This class handles a (single) large prime factor for accessing it on file. (single large prime = prime outside the static factorbase and inside the dynamic factorbase; if we use the SLP for sieving, then we call it a dynamic factor.)

Definition at line 390 of file qsieve.H.


Constructor & Destructor Documentation

TDynamicFactorRelation::TDynamicFactorRelation (  )  [inline]

Definition at line 400 of file qsieve.H.


Member Function Documentation

void TDynamicFactorRelation::append_DynamicFactor_for_sieving ( const int  DynFac  )  [static, private]

Definition at line 107 of file Sieving-inc.cc.

Referenced by append_for_sieving().

bool TDynamicFactorRelation::operator() ( const TDynamicFactorRelation t1,
const TDynamicFactorRelation t2 
) const [inline]

Definition at line 402 of file qsieve.H.

References factor.

int TDynamicFactorRelation::operator() ( const TDynamicFactorRelation t2  )  const [inline]

Definition at line 407 of file qsieve.H.

References factor.

bool TDynamicFactorRelation::operator== ( const TDynamicFactorRelation t2  )  const [inline]

Definition at line 412 of file qsieve.H.

References factor.

bool TDynamicFactorRelation::sieveable (  )  const [inline]

Definition at line 416 of file qsieve.H.

References DynamicFactor_SievingThreshold, and factor.

Referenced by append_for_sieving(), and CServerDynamicFactorRelations::insert().

void TDynamicFactorRelation::append_for_sieving (  )  const [inline]

Definition at line 421 of file qsieve.H.

References append_DynamicFactor_for_sieving(), factor, and sieveable().

Referenced by CClientDynamicFactorFetcher::fetch(), DynamicRelations::Load(), main(), and SpecialRelations::split_by_primefactor().

Here is the call graph for this function:


Member Data Documentation

int TDynamicFactorRelation::factor

Definition at line 397 of file qsieve.H.

Referenced by append_for_sieving(), CRelation::combine(), CClientDynamicFactorFetcher::fetch(), CServerDynamicFactorRelations::insert(), is_dynamic_factor(), DynamicRelations::Load(), main(), CRelation::multi_combine_main(), operator()(), operator==(), Cprocess_clients::process_data_stream(), sieveable(), and SpecialRelations::split_by_primefactor().

streampos TDynamicFactorRelation::fpos

Definition at line 398 of file qsieve.H.

Referenced by CRelation::combine(), CClientDynamicFactorFetcher::fetch(), fillin_streampos(), DynamicRelations::Load(), main(), CRelation::multi_combine_main(), Cprocess_clients::process_data_stream(), and SpecialRelations::split_by_primefactor().


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