carl
24.04
Computer ARithmetic Library
|
A list of SPol pairs which have to be checked by the Buchberger algorithm. More...
#include <CriticalPairsEntry.h>
Public Member Functions | |
CriticalPairsEntry (std::list< SPolPair > &&pairs) | |
Saves the list of pairs and sorts them according the configured ordering. More... | |
const Monomial::Arg & | getSortedFirstLCM () const |
Get the LCM of the first element. More... | |
const SPolPair & | getFirst () const |
Get the front of the list. More... | |
bool | update () |
Removes the first element. More... | |
std::list< SPolPair >::const_iterator | getPairsBegin () const noexcept |
The const iterator to the begin. More... | |
std::list< SPolPair >::const_iterator | getPairsEnd () const noexcept |
The const iterator to the end() More... | |
std::list< SPolPair >::iterator | getPairsBegin () noexcept |
The iterator to the end() More... | |
std::list< SPolPair >::iterator | getPairsEnd () noexcept |
The iterator to the end() More... | |
std::list< SPolPair >::iterator | erase (std::list< SPolPair >::iterator it) |
Removes the element at the iterator. More... | |
void | print (std::ostream &os=std::cout) |
Private Attributes | |
std::list< SPolPair > | mPairs |
A list of SPol pairs which have to be checked by the Buchberger algorithm.
We keep the list sorted according the compare ordering on SPol Pairs.
Definition at line 25 of file CriticalPairsEntry.h.
|
inlineexplicit |
Saves the list of pairs and sorts them according the configured ordering.
pairs |
Definition at line 33 of file CriticalPairsEntry.h.
|
inline |
Removes the element at the iterator.
it | The iterator to the element to be erased. |
Definition at line 101 of file CriticalPairsEntry.h.
|
inline |
|
inlinenoexcept |
The const iterator to the begin.
Definition at line 68 of file CriticalPairsEntry.h.
|
inlinenoexcept |
|
inlinenoexcept |
The const iterator to the end()
Definition at line 76 of file CriticalPairsEntry.h.
|
inlinenoexcept |
|
inline |
Get the LCM of the first element.
Definition at line 42 of file CriticalPairsEntry.h.
|
inline |
Definition at line 105 of file CriticalPairsEntry.h.
|
inline |
|
private |
Definition at line 112 of file CriticalPairsEntry.h.