My Project
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 (poly a, poly b, CCacheItem *&pItems)
 
bool StoreEE (poly a, poly b, poly pProduct)
 
virtual void History (const EHistoryType, const poly, const poly, const poly=NULL)
 

Protected Member Functions

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

Detailed Description

Definition at line 99 of file ncSACache.h.

Member Typedef Documentation

◆ CExponent

Definition at line 102 of file ncSACache.h.

Constructor & Destructor Documentation

◆ CGlobalCacheHash()

CGlobalCacheHash::CGlobalCacheHash ( ring  r)
inline

Definition at line 104 of file ncSACache.h.

◆ ~CGlobalCacheHash()

virtual CGlobalCacheHash::~CGlobalCacheHash ( )
inlinevirtual

Definition at line 106 of file ncSACache.h.

106{};

Member Function Documentation

◆ History()

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

Definition at line 46 of file ncSACache.cc.

47{
48#if OUTPUT
49 Print("History: GlobalPair, Action: %s", m_Typenames[(int)(t)]);
50 PrintLn();
51 PrintS("Left : "); p_Write(a, GetBasering());
52 PrintS("Right: "); p_Write(b, GetBasering());
53 if( t == MULT_STORE )
54 {
55 PrintS("Result: "); p_Write(p, GetBasering());
56 }
57#endif
58}
int p
Definition: cfModGcd.cc:4078
CanonicalForm b
Definition: cfModGcd.cc:4103
ring GetBasering() const
Definition: ncSACache.h:25
#define Print
Definition: emacs.cc:80
void p_Write(poly p, ring lmRing, ring tailRing)
Definition: polys0.cc:342
void PrintS(const char *s)
Definition: reporter.cc:284
void PrintLn()
Definition: reporter.cc:310

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