My Project  debian-1:4.1.1-p2+ds-4build2
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 (int a, int b, CCacheItem *&pItems)
 
bool StoreEE (int a, int b, poly pProduct)
 
virtual void History (const EHistoryType, const int, const int, 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 112 of file ncSACache.h.

Member Typedef Documentation

◆ CExponent

Definition at line 115 of file ncSACache.h.

Constructor & Destructor Documentation

◆ CSpecialPairCacheHash()

CSpecialPairCacheHash::CSpecialPairCacheHash ( ring  r)
inline

Definition at line 117 of file ncSACache.h.

117 : CCacheHash<int>(r) {};

◆ ~CSpecialPairCacheHash()

virtual CSpecialPairCacheHash::~CSpecialPairCacheHash ( )
inlinevirtual

Definition at line 119 of file ncSACache.h.

119 {};

Member Function Documentation

◆ History()

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

Definition at line 61 of file ncSACache.cc.

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

The documentation for this class was generated from the following files:
CCacheHash< int >::GetBasering
ring GetBasering() const
Definition: ncSACache.h:25
b
CanonicalForm b
Definition: cfModGcd.cc:4044
CCacheHash< int >
CCacheHash< int >::MULT_STORE
@ MULT_STORE
Definition: ncSACache.h:33
PrintS
void PrintS(const char *s)
Definition: reporter.cc:284
p_Write
void p_Write(poly p, ring lmRing, ring tailRing)
Definition: polys0.cc:204
Print
#define Print
Definition: emacs.cc:80
p
int p
Definition: cfModGcd.cc:4019
PrintLn
void PrintLn()
Definition: reporter.cc:310