F4
Library for Gröebner basis computations over finite fields.
 All Classes Namespaces Files Functions Variables Friends Pages
Public Member Functions | Private Attributes | List of all members
F4::ListPointerCriticalPair< Element > Class Template Reference

Represent an AVL of pointers on critical pairs. More...

#include <list-pointer-critical-pair.h>

Public Member Functions

 ListPointerCriticalPair ()
 Constructor.
 
void printListCriticalPair (std::ostream &stream) const
 Print the List. More...
 
void reset ()
 Reset the List for a new usage, memory is not clear.
 
NodeListPointerCriticalPair
< Element > const * 
getRoot () const
 Get the first element of the list.
 
void insert (CriticalPair< Element > *cp)
 Insert the critical pair pointer cp in the list. More...
 
NodeListPointerCriticalPair
< Element > const * 
getNext (NodeListPointerCriticalPair< Element > const *node) const
 Get the next NodeListPointerCriticalPair after node. More...
 

Private Attributes

DynamicArray
< NodeListPointerCriticalPair
< Element > > 
_array
 
NodeListPointerCriticalPair
< Element > * 
_it
 
NodeListPointerCriticalPair
< Element > * 
_root
 

Detailed Description

template<typename Element>
class F4::ListPointerCriticalPair< Element >

Represent an AVL of pointers on critical pairs.

Definition at line 71 of file list-pointer-critical-pair.h.

Member Function Documentation

template<typename Element >
NodeListPointerCriticalPair<Element> const* F4::ListPointerCriticalPair< Element >::getNext ( NodeListPointerCriticalPair< Element > const *  node) const

Get the next NodeListPointerCriticalPair after node.

Parameters
nodePointer on a node.
Returns
Pointer on the next NodeListPointerCriticalPair after node.
template<typename Element >
void F4::ListPointerCriticalPair< Element >::insert ( CriticalPair< Element > *  cp)

Insert the critical pair pointer cp in the list.

Parameters
cpPointer on a critical pair.
template<typename Element >
void F4::ListPointerCriticalPair< Element >::printListCriticalPair ( std::ostream &  stream) const

Print the List.

Parameters
streamStream.

Member Data Documentation

template<typename Element >
DynamicArray<NodeListPointerCriticalPair<Element> > F4::ListPointerCriticalPair< Element >::_array
private

Dynamic array of NodeListPointerCriticalPair.

Definition at line 120 of file list-pointer-critical-pair.h.

template<typename Element >
NodeListPointerCriticalPair<Element>* F4::ListPointerCriticalPair< Element >::_it
private

Iterator.

Definition at line 121 of file list-pointer-critical-pair.h.

template<typename Element >
NodeListPointerCriticalPair<Element>* F4::ListPointerCriticalPair< Element >::_root
private

Root of the List.

Definition at line 122 of file list-pointer-critical-pair.h.


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