24 template<
class Compare>
44 return mPairs.front().mLcm;
76 std::list<SPolPair>::const_iterator
getPairsEnd() const noexcept {
101 std::list<SPolPair>::iterator
erase(std::list<SPolPair>::iterator it) {
105 void print( std::ostream& os = std::cout )
107 for (
const auto& p:
mPairs) {
carl is the main namespace for the library.
A list of SPol pairs which have to be checked by the Buchberger algorithm.
std::list< SPolPair >::iterator erase(std::list< SPolPair >::iterator it)
Removes the element at the iterator.
bool update()
Removes the first element.
std::list< SPolPair > mPairs
std::list< SPolPair >::const_iterator getPairsBegin() const noexcept
The const iterator to the begin.
void print(std::ostream &os=std::cout)
std::list< SPolPair >::const_iterator getPairsEnd() const noexcept
The const iterator to the end()
std::list< SPolPair >::iterator getPairsBegin() noexcept
The iterator to the end()
CriticalPairsEntry(std::list< SPolPair > &&pairs)
Saves the list of pairs and sorts them according the configured ordering.
std::list< SPolPair >::iterator getPairsEnd() noexcept
The iterator to the end()
const SPolPair & getFirst() const
Get the front of the list.
const Monomial::Arg & getSortedFirstLCM() const
Get the LCM of the first element.
std::shared_ptr< const Monomial > Arg