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

#include <ncSACache.h>

Public Types

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

Public Member Functions

 CSpecialPairCacheHash (ring r)
 
virtual ~CSpecialPairCacheHash ()
 
- Public Member Functions inherited from CCacheHash< int >
 CCacheHash (ring r)
 
ring GetBasering () const
 
int NVars () const
 
virtual ~CCacheHash ()
 
int LookupEE (inta, intb, CCacheItem *&pItems)
 
bool StoreEE (inta, intb, 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 114 of file ncSACache.h.

Member Typedef Documentation

Definition at line 117 of file ncSACache.h.

Constructor & Destructor Documentation

CSpecialPairCacheHash::CSpecialPairCacheHash ( ring  r)
inline

Definition at line 119 of file ncSACache.h.

119 : CCacheHash<int>(r) {};
const ring r
Definition: syzextra.cc:208
virtual CSpecialPairCacheHash::~CSpecialPairCacheHash ( )
inlinevirtual

Definition at line 121 of file ncSACache.h.

121 {};

Member Function Documentation

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

Reimplemented from CCacheHash< int >.

Definition at line 62 of file ncSACache.cc.

63 {
64 #if OUTPUT
65  Print("History: SpecialPair, Action: %s", m_Typenames[(int)(t)]);
66  PrintLn();
67  Print("Left : %d, Right: %d", a, b);
68  PrintLn();
69  if( t == MULT_STORE )
70  {
71  PrintS("Result: "); p_Write(p, GetBasering());
72  }
73 #endif
74 }
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: