My Project
Loading...
Searching...
No Matches
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}
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: