Public Types | Public Member Functions | Protected Member Functions
CGlobalCacheHash Class Reference

#include <ncSACache.h>

Public Types

typedef poly CExponent
 
- Public Types inherited from CCacheHash< poly >
enum  EHistoryType
 

Public Member Functions

 CGlobalCacheHash (ring r)
 
virtual ~CGlobalCacheHash ()
 
- Public Member Functions inherited from CCacheHash< poly >
 CCacheHash (ring r)
 
ring GetBasering () const
 
int NVars () const
 
virtual ~CCacheHash ()
 
int LookupEE (polya, polyb, CCacheItem *&pItems)
 
bool StoreEE (polya, polyb, poly pProduct)
 

Protected Member Functions

virtual void History (const EHistoryType t, const CExponent a, const CExponent b, const poly p=NULL)
 

Detailed Description

Definition at line 101 of file ncSACache.h.

Member Typedef Documentation

Definition at line 104 of file ncSACache.h.

Constructor & Destructor Documentation

CGlobalCacheHash::CGlobalCacheHash ( ring  r)
inline

Definition at line 106 of file ncSACache.h.

106 : CCacheHash<poly>(r) {};
const ring r
Definition: syzextra.cc:208
virtual CGlobalCacheHash::~CGlobalCacheHash ( )
inlinevirtual

Definition at line 108 of file ncSACache.h.

108 {};

Member Function Documentation

void CGlobalCacheHash::History ( const EHistoryType  t,
const CExponent  a,
const CExponent  b,
const poly  p = NULL 
)
protectedvirtual

Reimplemented from CCacheHash< poly >.

Definition at line 47 of file ncSACache.cc.

48 {
49 #if OUTPUT
50  Print("History: GlobalPair, Action: %s", m_Typenames[(int)(t)]);
51  PrintLn();
52  PrintS("Left : "); p_Write(a, GetBasering());
53  PrintS("Right: "); p_Write(b, GetBasering());
54  if( t == MULT_STORE )
55  {
56  PrintS("Result: "); p_Write(p, GetBasering());
57  }
58 #endif
59 }
const poly a
Definition: syzextra.cc:212
void PrintLn()
Definition: reporter.cc:327
#define Print
Definition: emacs.cc:83
return P p
Definition: myNF.cc:203
void PrintS(const char *s)
Definition: reporter.cc:294
ring GetBasering() const
Definition: ncSACache.h:27
void p_Write(poly p, ring lmRing, ring tailRing)
Definition: polys0.cc:206
const poly b
Definition: syzextra.cc:213

The documentation for this class was generated from the following files: